€cdocutils.nodes document q)q}q(U nametypesq}q(XtablesqNXbackground colorqNXmerging a cell rangeqNX cell paddingq NXcellsq NXrotate text in cellsq NXcell formattingq NX cell fontq NX text in cellsqNX nested tablesqNXimagesqNXborder formattingqNXcell alignmentqNuUsubstitution_defsq}qUparse_messagesq]qUcurrent_sourceqNU decorationqNUautofootnote_startqKUnameidsq}q(hUtablesqhUbackground-colorqhUmerging-a-cell-rangeqh U cell-paddingqh Ucellsq h Urotate-text-in-cellsq!h Ucell-formattingq"h U cell-fontq#hU text-in-cellsq$hU nested-tablesq%hUimagesq&hUborder-formattingq'hUcell-alignmentq(uUchildrenq)]q*cdocutils.nodes section q+)q,}q-(U rawsourceq.UUparentq/hUsourceq0cdocutils.nodes reprunicode q1X)E:\htdocs\phprtflite\tutorials\tables.rstq2…q3}q4bUtagnameq5Usectionq6U attributesq7}q8(Udupnamesq9]Uclassesq:]Ubackrefsq;]Uidsq<]q=haUnamesq>]q?hauUlineq@KUdocumentqAhh)]qB(cdocutils.nodes title qC)qD}qE(h.XTablesqFh/h,h0h3h5UtitleqGh7}qH(h9]h:]h;]h<]h>]uh@KhAhh)]qIcdocutils.nodes Text qJXTablesqK…qL}qM(h.hFh/hDubaubcdocutils.nodes paragraph qN)qO}qP(h.X-PHPRtfLite supports tables and nested tables.qQh/h,h0h3h5U paragraphqRh7}qS(h9]h:]h;]h<]h>]uh@KhAhh)]qThJX-PHPRtfLite supports tables and nested tables.qU…qV}qW(h.hQh/hOubaubcdocutils.nodes literal_block qX)qY}qZ(h.XRaddSection(); $table = $section->addTable(); // add 2 rows with a height of 1cm for each of them $table->addRows(3, 1); // add a row with a height of 2cm (table has now 4 rows) $table->addRow(2); // add 3 columns (first: 1cm, second: 2cm, third: 3cm) $table->addColumnsList(array(1,2,3));h/h,h0h3h5U literal_blockq[h7}q\(Ulinenosq]‰Ulanguageq^XphpU xml:spaceq_Upreserveq`h<]h;]h9]h:]h>]uh@KhAhh)]qahJXRaddSection(); $table = $section->addTable(); // add 2 rows with a height of 1cm for each of them $table->addRows(3, 1); // add a row with a height of 2cm (table has now 4 rows) $table->addRow(2); // add 3 columns (first: 1cm, second: 2cm, third: 3cm) $table->addColumnsList(array(1,2,3));qb…qc}qd(h.Uh/hYubaubh+)qe}qf(h.Uh/h,h0h3h5h6h7}qg(h9]h:]h;]h<]qhh ah>]qih auh@KhAhh)]qj(hC)qk}ql(h.XCellsqmh/heh0h3h5hGh7}qn(h9]h:]h;]h<]h>]uh@KhAhh)]qohJXCellsqp…qq}qr(h.hmh/hkubaubhN)qs}qt(h.XHCells can contain images, texts, paragraphs and (nested) tables as well.quh/heh0h3h5hRh7}qv(h9]h:]h;]h<]h>]uh@KhAhh)]qwhJXHCells can contain images, texts, paragraphs and (nested) tables as well.qx…qy}qz(h.huh/hsubaubh+)q{}q|(h.Uh/heh0h3h5h6h7}q}(h9]h:]h;]h<]q~h$ah>]qhauh@KhAhh)]q€(hC)q}q‚(h.X Text in cellsqƒh/h{h0h3h5hGh7}q„(h9]h:]h;]h<]h>]uh@KhAhh)]q…hJX Text in cellsq†…q‡}qˆ(h.hƒh/hubaubhN)q‰}qŠ(h.X<Please mind that row and column indexes are starting with 1.q‹h/h{h0h3h5hRh7}qŒ(h9]h:]h;]h<]h>]uh@KhAhh)]qhJX<Please mind that row and column indexes are starting with 1.qŽ…q}q(h.h‹h/h‰ubaubhX)q‘}q’(h.XÉwriteToCell(1, 2, 'text'); // writing text via cell object for row 1 and column 3 $cell = $table->getCell(1, 3); $cell->writeText('text');h/h{h0h3h5h[h7}q“(h]‰h^Xphph_h`h<]h;]h9]h:]h>]uh@K hAhh)]q”hJXÉwriteToCell(1, 2, 'text'); // writing text via cell object for row 1 and column 3 $cell = $table->getCell(1, 3); $cell->writeText('text');q•…q–}q—(h.Uh/h‘ubaubeubh+)q˜}q™(h.Uh/heh0h3h5h6h7}qš(h9]h:]h;]h<]q›h"ah>]qœh auh@K+hAhh)]q(hC)qž}qŸ(h.XCell formattingq h/h˜h0h3h5hGh7}q¡(h9]h:]h;]h<]h>]uh@K+hAhh)]q¢hJXCell formattingq£…q¤}q¥(h.h h/hžubaubh+)q¦}q§(h.Uh/h˜h0h3h5h6h7}q¨(h9]h:]h;]h<]q©h#ah>]qªh auh@K.hAhh)]q«(hC)q¬}q­(h.X Cell fontq®h/h¦h0h3h5hGh7}q¯(h9]h:]h;]h<]h>]uh@K.hAhh)]q°hJX Cell fontq±…q²}q³(h.h®h/h¬ubaubhN)q´}qµ(h.XASetting the font for a cell or a cell, cell range, column or row.q¶h/h¦h0h3h5hRh7}q·(h9]h:]h;]h<]h>]uh@K0hAhh)]q¸hJXASetting the font for a cell or a cell, cell range, column or row.q¹…qº}q»(h.h¶h/h´ubaubhX)q¼}q½(h.XgetCell(1, 3); $cell->setFont($fontRed); // set "Times New Roman" with green color to a cell range $fontGreen = new PHPRtfLite_Font(12, 'Times New Roman', '#0f0'); $table->setFontForCellRange($fontGreen, 1, 1, 4, 2); // set "Times New Roman" with blue color to a column $fontBlue = new PHPRtfLite_Font(12, 'Times New Roman', '#00f'); $table->getColumn(1)->setFont($fontBlue); // set "Tahoma" with yellow color to a row $fontYellow = new PHPRtfLite_Font(12, 'Tahoma', '#ff0'); $table->getRow(1)->setFont($fontYellow);h/h¦h0h3h5h[h7}q¾(h]‰h^Xphph_h`h<]h;]h9]h:]h>]uh@K2hAhh)]q¿hJXgetCell(1, 3); $cell->setFont($fontRed); // set "Times New Roman" with green color to a cell range $fontGreen = new PHPRtfLite_Font(12, 'Times New Roman', '#0f0'); $table->setFontForCellRange($fontGreen, 1, 1, 4, 2); // set "Times New Roman" with blue color to a column $fontBlue = new PHPRtfLite_Font(12, 'Times New Roman', '#00f'); $table->getColumn(1)->setFont($fontBlue); // set "Tahoma" with yellow color to a row $fontYellow = new PHPRtfLite_Font(12, 'Tahoma', '#ff0'); $table->getRow(1)->setFont($fontYellow);qÀ…qÁ}qÂ(h.Uh/h¼ubaubeubh+)qÃ}qÄ(h.Uh/h˜h0h3h5h6h7}qÅ(h9]h:]h;]h<]qÆh(ah>]qÇhauh@KIhAhh)]qÈ(hC)qÉ}qÊ(h.XCell alignmentqËh/hÃh0h3h5hGh7}qÌ(h9]h:]h;]h<]h>]uh@KIhAhh)]qÍhJXCell alignmentqÎ…qÏ}qÐ(h.hËh/hÉubaubhN)qÑ}qÒ(h.X-Cells can be aligned horizontal and vertical.qÓh/hÃh0h3h5hRh7}qÔ(h9]h:]h;]h<]h>]uh@KKhAhh)]qÕhJX-Cells can be aligned horizontal and vertical.qÖ…q×}qØ(h.hÓh/hÑubaubhN)qÙ}qÚ(h.X`Horizontal alignment is also called text alignment. These types are availble as class constants:qÛh/hÃh0h3h5hRh7}qÜ(h9]h:]h;]h<]h>]uh@KMhAhh)]qÝhJX`Horizontal alignment is also called text alignment. These types are availble as class constants:qÞ…qß}qà(h.hÛh/hÙubaubcdocutils.nodes bullet_list qá)qâ}qã(h.Uh/hÃh0h3h5U bullet_listqäh7}qå(UbulletqæX-h<]h;]h9]h:]h>]uh@KOhAhh)]qç(cdocutils.nodes list_item qè)qé}qê(h.X``TEXT_ALIGN_LEFT``qëh/hâh0h3h5U list_itemqìh7}qí(h9]h:]h;]h<]h>]uh@NhAhh)]qîhN)qï}qð(h.hëh/héh0h3h5hRh7}qñ(h9]h:]h;]h<]h>]uh@KOh)]qòcdocutils.nodes literal qó)qô}qõ(h.hëh7}qö(h9]h:]h;]h<]h>]uh/hïh)]q÷hJXTEXT_ALIGN_LEFTqø…qù}qú(h.Uh/hôubah5Uliteralqûubaubaubhè)qü}qý(h.X``TEXT_ALIGN_RIGHT``qþh/hâh0h3h5hìh7}qÿ(h9]h:]h;]h<]h>]uh@NhAhh)]rhN)r}r(h.hþh/hüh0h3h5hRh7}r(h9]h:]h;]h<]h>]uh@KPh)]rhó)r}r(h.hþh7}r(h9]h:]h;]h<]h>]uh/jh)]rhJXTEXT_ALIGN_RIGHTr …r }r (h.Uh/jubah5hûubaubaubhè)r }r (h.X``TEXT_ALIGN_CENTER``rh/hâh0h3h5hìh7}r(h9]h:]h;]h<]h>]uh@NhAhh)]rhN)r}r(h.jh/j h0h3h5hRh7}r(h9]h:]h;]h<]h>]uh@KQh)]rhó)r}r(h.jh7}r(h9]h:]h;]h<]h>]uh/jh)]rhJXTEXT_ALIGN_CENTERr…r}r(h.Uh/jubah5hûubaubaubhè)r}r(h.X``TEXT_ALIGN_JUSTIFY`` h/hâh0h3h5hìh7}r(h9]h:]h;]h<]h>]uh@NhAhh)]rhN)r }r!(h.X``TEXT_ALIGN_JUSTIFY``r"h/jh0h3h5hRh7}r#(h9]h:]h;]h<]h>]uh@KRh)]r$hó)r%}r&(h.j"h7}r'(h9]h:]h;]h<]h>]uh/j h)]r(hJXTEXT_ALIGN_JUSTIFYr)…r*}r+(h.Uh/j%ubah5hûubaubaubeubhN)r,}r-(h.X;Vertical alignment types available via class constants are:r.h/hÃh0h3h5hRh7}r/(h9]h:]h;]h<]h>]uh@KThAhh)]r0hJX;Vertical alignment types available via class constants are:r1…r2}r3(h.j.h/j,ubaubhá)r4}r5(h.Uh/hÃh0h3h5häh7}r6(hæX-h<]h;]h9]h:]h>]uh@KVhAhh)]r7(hè)r8}r9(h.X``VERTICAL_ALIGN_TOP``r:h/j4h0h3h5hìh7}r;(h9]h:]h;]h<]h>]uh@NhAhh)]r<hN)r=}r>(h.j:h/j8h0h3h5hRh7}r?(h9]h:]h;]h<]h>]uh@KVh)]r@hó)rA}rB(h.j:h7}rC(h9]h:]h;]h<]h>]uh/j=h)]rDhJXVERTICAL_ALIGN_TOPrE…rF}rG(h.Uh/jAubah5hûubaubaubhè)rH}rI(h.X``VERTICAL_ALIGN_BOTTOM``rJh/j4h0h3h5hìh7}rK(h9]h:]h;]h<]h>]uh@NhAhh)]rLhN)rM}rN(h.jJh/jHh0h3h5hRh7}rO(h9]h:]h;]h<]h>]uh@KWh)]rPhó)rQ}rR(h.jJh7}rS(h9]h:]h;]h<]h>]uh/jMh)]rThJXVERTICAL_ALIGN_BOTTOMrU…rV}rW(h.Uh/jQubah5hûubaubaubhè)rX}rY(h.X``VERTICAL_ALIGN_CENTER`` h/j4h0h3h5hìh7}rZ(h9]h:]h;]h<]h>]uh@NhAhh)]r[hN)r\}r](h.X``VERTICAL_ALIGN_CENTER``r^h/jXh0h3h5hRh7}r_(h9]h:]h;]h<]h>]uh@KXh)]r`hó)ra}rb(h.j^h7}rc(h9]h:]h;]h<]h>]uh/j\h)]rdhJXVERTICAL_ALIGN_CENTERre…rf}rg(h.Uh/jaubah5hûubaubaubeubhX)rh}ri(h.X?getCell(1, 3); $cell->setTextAlignment();h/hÃh0h3h5h[h7}rj(h]‰h^Xphph_h`h<]h;]h9]h:]h>]uh@K[hAhh)]rkhJX?getCell(1, 3); $cell->setTextAlignment();rl…rm}rn(h.Uh/jhubaubeubh+)ro}rp(h.Uh/h˜h0h3h5h6h7}rq(h9]h:]h;]h<]rrhah>]rsh auh@KdhAhh)]rt(hC)ru}rv(h.X Cell paddingrwh/joh0h3h5hGh7}rx(h9]h:]h;]h<]h>]uh@KdhAhh)]ryhJX Cell paddingrz…r{}r|(h.jwh/juubaubhN)r}}r~(h.XTUsing Microsoft Word top and bottom cell paddings are applied to all cells in a row.rh/joh0h3h5hRh7}r€(h9]h:]h;]h<]h>]uh@KfhAhh)]rhJXTUsing Microsoft Word top and bottom cell paddings are applied to all cells in a row.r‚…rƒ}r„(h.jh/j}ubaubhX)r…}r†(h.XdgetCell(1, 3); // cell padding left: 0.2cm $cell->setCellPaddingLeft(0.2); // cell padding right: 0.2cm $cell->setCellPaddingRight(0.2); // cell padding left: 0.4cm $cell->setCellPaddingTop(0.4); // cell padding left: 0.4cm $cell->setCellPaddingBottom(0.4); // or the same in a shorter way $cell->setCellPaddings(0.2, 0.4, 0.2, 0.4);h/joh0h3h5h[h7}r‡(h]‰h^Xphph_h`h<]h;]h9]h:]h>]uh@KhhAhh)]rˆhJXdgetCell(1, 3); // cell padding left: 0.2cm $cell->setCellPaddingLeft(0.2); // cell padding right: 0.2cm $cell->setCellPaddingRight(0.2); // cell padding left: 0.4cm $cell->setCellPaddingTop(0.4); // cell padding left: 0.4cm $cell->setCellPaddingBottom(0.4); // or the same in a shorter way $cell->setCellPaddings(0.2, 0.4, 0.2, 0.4);r‰…rŠ}r‹(h.Uh/j…ubaubeubh+)rŒ}r(h.Uh/h˜h0h3h5h6h7}rŽ(h9]h:]h;]h<]rhah>]rhauh@KzhAhh)]r‘(hC)r’}r“(h.XBackground colorr”h/jŒh0h3h5hGh7}r•(h9]h:]h;]h<]h>]uh@KzhAhh)]r–hJXBackground colorr—…r˜}r™(h.j”h/j’ubaubhN)rš}r›(h.XJThe background color can be set for a single cell or for a range of cells.rœh/jŒh0h3h5hRh7}r(h9]h:]h;]h<]h>]uh@K|hAhh)]ržhJXJThe background color can be set for a single cell or for a range of cells.rŸ…r }r¡(h.jœh/jšubaubhX)r¢}r£(h.XgetCell(1, 3); // set background color of cell to red $cell->setBackgroundColor('#FF0000'); // set background color for a cell range (from row 1 column 1 to row 4 column 4) to blue $table->setBackgroundForCellRange('#0000FF', 1, 1, 4, 2);h/jŒh0h3h5h[h7}r¤(h]‰h^Xphph_h`h<]h;]h9]h:]h>]uh@K~hAhh)]r¥hJXgetCell(1, 3); // set background color of cell to red $cell->setBackgroundColor('#FF0000'); // set background color for a cell range (from row 1 column 1 to row 4 column 4) to blue $table->setBackgroundForCellRange('#0000FF', 1, 1, 4, 2);r¦…r§}r¨(h.Uh/j¢ubaubeubh+)r©}rª(h.Uh/h˜h0h3h5h6h7}r«(h9]h:]h;]h<]r¬h'ah>]r­hauh@K‰hAhh)]r®(hC)r¯}r°(h.XBorder formattingr±h/j©h0h3h5hGh7}r²(h9]h:]h;]h<]h>]uh@K‰hAhh)]r³hJXBorder formattingr´…rµ}r¶(h.j±h/j¯ubaubhN)r·}r¸(h.XBCell borders can be set for a single cell or for a range of cells.r¹h/j©h0h3h5hRh7}rº(h9]h:]h;]h<]h>]uh@K‹hAhh)]r»hJXBCell borders can be set for a single cell or for a range of cells.r¼…r½}r¾(h.j¹h/j·ubaubhX)r¿}rÀ(h.X„getCell(1, 3); // cell with border $cell->setBorder($border); // set border for cell range (from row 1 and column 1 to row 3 and column 2) $table->setBorderForCellRange($border, 1, 1, 3, 2);h/j©h0h3h5h[h7}rÁ(h]‰h^Xphph_h`h<]h;]h9]h:]h>]uh@KhAhh)]rÂhJX„getCell(1, 3); // cell with border $cell->setBorder($border); // set border for cell range (from row 1 and column 1 to row 3 and column 2) $table->setBorderForCellRange($border, 1, 1, 3, 2);rÃ…rÄ}rÅ(h.Uh/j¿ubaubhN)rÆ}rÇ(h.X6Read more about creating borders here: :ref:`borders`.rÈh/j©h0h3h5hRh7}rÉ(h9]h:]h;]h<]h>]uh@KžhAhh)]rÊ(hJX'Read more about creating borders here: rË…rÌ}rÍ(h.X'Read more about creating borders here: h/jÆubcsphinx.addnodes pending_xref rÎ)rÏ}rÐ(h.X:ref:`borders`rÑh/jÆh5U pending_xrefrÒh7}rÓ(UreftypeXrefUrefwarnrÔˆU reftargetrÕXbordersU refdomainXstdrÖh<]h;]U refexplicit‰h9]h:]h>]Urefdocr×UtablesrØuh@Kžh)]rÙcdocutils.nodes emphasis rÚ)rÛ}rÜ(h.jÑh7}rÝ(h9]h:]rÞ(UxrefrßjÖXstd-refràeh;]h<]h>]uh/jÏh)]ráhJXbordersrâ…rã}rä(h.Uh/jÛubah5UemphasisråubaubhJX.…ræ}rç(h.X.h/jÆubeubeubh+)rè}ré(h.Uh/h˜h0h3h5h6h7}rê(h9]h:]h;]h<]rëh!ah>]rìh auh@K¢hAhh)]rí(hC)rî}rï(h.XRotate text in cellsrðh/jèh0h3h5hGh7}rñ(h9]h:]h;]h<]h>]uh@K¢hAhh)]ròhJXRotate text in cellsró…rô}rõ(h.jðh/jîubaubhN)rö}r÷(h.X+Cell text can be rotated to left and right.røh/jèh0h3h5hRh7}rù(h9]h:]h;]h<]h>]uh@K¤hAhh)]rúhJX+Cell text can be rotated to left and right.rû…rü}rý(h.jøh/jöubaubhX)rþ}rÿ(h.XgetCell(1, 3); // rotate text in cell to left $cell->rotateTo(PHPRtfLite_Container_Cell::ROTATE_LEFT); // rotate text for a cell range (from row 1, column 2 to row 3, column 4) to right $table->rotateCellRange(PHPRtfLite_Container_Cell::ROTATE_RIGHT, 1, 2, 3, 4)h/jèh0h3h5h[h7}r(h]‰h^Xphph_h`h<]h;]h9]h:]h>]uh@K¦hAhh)]rhJXgetCell(1, 3); // rotate text in cell to left $cell->rotateTo(PHPRtfLite_Container_Cell::ROTATE_LEFT); // rotate text for a cell range (from row 1, column 2 to row 3, column 4) to right $table->rotateCellRange(PHPRtfLite_Container_Cell::ROTATE_RIGHT, 1, 2, 3, 4)r…r}r(h.Uh/jþubaubeubeubh+)r}r(h.Uh/heh0h3h5h6h7}r(h9]h:]h;]h<]rh&ah>]r hauh@K²hAhh)]r (hC)r }r (h.XImagesr h/jh0h3h5hGh7}r(h9]h:]h;]h<]h>]uh@K²hAhh)]rhJXImagesr…r}r(h.j h/j ubaubhN)r}r(h.X$Images can be added to a table cell.rh/jh0h3h5hRh7}r(h9]h:]h;]h<]h>]uh@K´hAhh)]rhJX$Images can be added to a table cell.r…r}r(h.jh/jubaubhX)r}r(h.XQgetCell(1, 3); // adding image to cell row 1 and column 3 $imageFile = '/path/to/image/example.jpg'; $image = $cell->addImage($imageFile); // image width 3cm and height 3cm $image->setWidth(3); $image->setHeight(3); // the same as short cut $image->addImageToCell(1, 3, $imageFile, new PHPRtfLite_ParFormat, 3, 3);h/jh0h3h5h[h7}r(h]‰h^Xphph_h`h<]h;]h9]h:]h>]uh@K¶hAhh)]rhJXQgetCell(1, 3); // adding image to cell row 1 and column 3 $imageFile = '/path/to/image/example.jpg'; $image = $cell->addImage($imageFile); // image width 3cm and height 3cm $image->setWidth(3); $image->setHeight(3); // the same as short cut $image->addImageToCell(1, 3, $imageFile, new PHPRtfLite_ParFormat, 3, 3);r…r }r!(h.Uh/jubaubhN)r"}r#(h.XEAdding images to the RTF document is also described in :ref:`images`.r$h/jh0h3h5hRh7}r%(h9]h:]h;]h<]h>]uh@KÄhAhh)]r&(hJX7Adding images to the RTF document is also described in r'…r(}r)(h.X7Adding images to the RTF document is also described in h/j"ubjÎ)r*}r+(h.X :ref:`images`r,h/j"h5jÒh7}r-(UreftypeXrefjÔˆjÕXimagesU refdomainXstdr.h<]h;]U refexplicit‰h9]h:]h>]j×jØuh@KÄh)]r/jÚ)r0}r1(h.j,h7}r2(h9]h:]r3(jßj.Xstd-refr4eh;]h<]h>]uh/j*h)]r5hJXimagesr6…r7}r8(h.Uh/j0ubah5jåubaubhJX.…r9}r:(h.X.h/j"ubeubeubh+)r;}r<(h.Uh/heh0h3h5h6h7}r=(h9]h:]h;]h<]r>hah>]r?hauh@KÈhAhh)]r@(hC)rA}rB(h.XMerging a cell rangerCh/j;h0h3h5hGh7}rD(h9]h:]h;]h<]h>]uh@KÈhAhh)]rEhJXMerging a cell rangerF…rG}rH(h.jCh/jAubaubhN)rI}rJ(h.X4Cells can be merged horizontal, vertically and both.rKh/j;h0h3h5hRh7}rL(h9]h:]h;]h<]h>]uh@KÊhAhh)]rMhJX4Cells can be merged horizontal, vertically and both.rN…rO}rP(h.jKh/jIubaubhX)rQ}rR(h.XbmergeCellRange(1, 1, 2, 3);h/j;h0h3h5h[h7}rS(h]‰h^Xphph_h`h<]h;]h9]h:]h>]uh@KÌhAhh)]rThJXbmergeCellRange(1, 1, 2, 3);rU…rV}rW(h.Uh/jQubaubeubeubh+)rX}rY(h.Uh/h,h0h3h5h6h7}rZ(h9]h:]h;]h<]r[h%ah>]r\hauh@KÔhAhh)]r](hC)r^}r_(h.X Nested tablesr`h/jXh0h3h5hGh7}ra(h9]h:]h;]h<]h>]uh@KÔhAhh)]rbhJX Nested tablesrc…rd}re(h.j`h/j^ubaubhN)rf}rg(h.X2Nested tables are not supported by OpenOffice 3.2.rhh/jXh0h3h5hRh7}ri(h9]h:]h;]h<]h>]uh@KÖhAhh)]rjhJX2Nested tables are not supported by OpenOffice 3.2.rk…rl}rm(h.jhh/jfubaubhX)rn}ro(h.X4getCell(1, 3); $cell->writeText('Text before nested table'); // nested cell $nestedTable = $cell->addTable(); $nestedTable->addRow(1); $nestedTable->addColumnsList(array(1,2)); $nestedTable->writeToCell(1, 1, 'Text for first nested cell'); $cell->writeText('Text after nested table!');h/jXh0h3h5h[h7}rp(h]‰h^Xphph_h`h<]h;]h9]h:]h>]uh@KØhAhh)]rqhJX4getCell(1, 3); $cell->writeText('Text before nested table'); // nested cell $nestedTable = $cell->addTable(); $nestedTable->addRow(1); $nestedTable->addColumnsList(array(1,2)); $nestedTable->writeToCell(1, 1, 'Text for first nested cell'); $cell->writeText('Text after nested table!');rr…rs}rt(h.Uh/jnubaubeubeubah.UU transformerruNU footnote_refsrv}rwUrefnamesrx}ryUsymbol_footnotesrz]r{Uautofootnote_refsr|]r}Usymbol_footnote_refsr~]rU citationsr€]rhAhU current_liner‚NUtransform_messagesrƒ]r„Ureporterr…NUid_startr†KU autofootnotesr‡]rˆU citation_refsr‰}rŠUindirect_targetsr‹]rŒUsettingsr(cdocutils.frontend Values rŽor}r(Ufootnote_backlinksr‘KUrecord_dependenciesr’NU rfc_base_urlr“Uhttp://tools.ietf.org/html/r”U tracebackr•KUpep_referencesr–NUstrip_commentsr—NU toc_backlinksr˜Uentryr™U language_coderšUenr›U datestamprœNU report_levelrKU _destinationržNU halt_levelrŸKU strip_classesr NhGNUerror_encoding_error_handlerr¡Ubackslashreplacer¢Udebugr£NUembed_stylesheetr¤‰Uoutput_encoding_error_handlerr¥Ustrictr¦U sectnum_xformr§KUdump_transformsr¨NU docinfo_xformr©KUwarning_streamrªNUpep_file_url_templater«Upep-%04dr¬Uexit_status_levelr­KUconfigr®NUstrict_visitorr¯NUcloak_email_addressesr°ˆUtrim_footnote_reference_spacer±‰Uenvr²NUdump_pseudo_xmlr³NUexpose_internalsr´NUsectsubtitle_xformrµ‰U source_linkr¶NUrfc_referencesr·NUoutput_encodingr¸Uutf-8r¹U source_urlrºNUinput_encodingr»U utf-8-sigr¼U_disable_configr½NU id_prefixr¾UU tab_widthr¿KUerror_encodingrÀUcp850rÁU_sourcerÂU)E:\htdocs\phprtflite\tutorials\tables.rstrÃU generatorrÄNUdump_internalsrÅNU pep_base_urlrÆUhttp://www.python.org/dev/peps/rÇUinput_encoding_error_handlerrÈj¦Uauto_id_prefixrÉUidrÊUdoctitle_xformrˉUstrip_elements_with_classesrÌNU _config_filesrÍ]Ufile_insertion_enabledrÎKU raw_enabledrÏKU dump_settingsrÐNubUsymbol_footnote_startrÑKUidsrÒ}rÓ(hh,hjoh#h¦h heh'j©h!jèh%jXhj;h$h{h&jh(hÃhjŒh"h˜uUsubstitution_namesrÔ}rÕh5hAh7}rÖ(h9]h<]h;]Usourceh3h:]h>]uU footnotesr×]rØUrefidsrÙ}rÚub.