€cdocutils.nodes document q)�q}q(U nametypesq}q(X hyperlinksqNX page breaksqNXbordersqNXsection columnsq NXsectionsq NuUsubstitution_defsq }q Uparse_messagesq ]qUcurrent_sourceqNU decorationqNUautofootnote_startqKUnameidsq}q(hU hyperlinksqhU page-breaksqhUbordersqh Usection-columnsqh UsectionsquUchildrenq]qcdocutils.nodes section q)�q}q(U rawsourceqUUparentqhUsourceq cdocutils.nodes reprunicode q!X+E:\htdocs\phprtflite\tutorials\sections.rstq"…�q#}q$bUtagnameq%Usectionq&U attributesq'}q((Udupnamesq)]Uclassesq*]Ubackrefsq+]Uidsq,]q-haUnamesq.]q/h auUlineq0KUdocumentq1hh]q2(cdocutils.nodes title q3)�q4}q5(hXSectionsq6hhh h#h%Utitleq7h'}q8(h)]h*]h+]h,]h.]uh0Kh1hh]q9cdocutils.nodes Text q:XSectionsq;…�q<}q=(hh6hh4ubaubcdocutils.nodes paragraph q>)�q?}q@(hXÊSections margins and paper width and height can be specified in the same way like for the RTF document. Sections margin and paper width/height will overwrite RTF document margins and paper width/heigth.qAhhh h#h%U paragraphqBh'}qC(h)]h*]h+]h,]h.]uh0Kh1hh]qDh:XÊSections margins and paper width and height can be specified in the same way like for the RTF document. Sections margin and paper width/height will overwrite RTF document margins and paper width/heigth.qE…�qF}qG(hhAhh?ubaubcdocutils.nodes note qH)�qI}qJ(hXsSee *Document settings* > :ref:`doc-settings_page-margins` and *Document settings* > :ref:`doc-settings_page-size`.qKhhh h#h%UnoteqLh'}qM(h)]h*]h+]h,]h.]uh0Nh1hh]qNh>)�qO}qP(hhKhhIh h#h%hBh'}qQ(h)]h*]h+]h,]h.]uh0Kh]qR(h:XSee qS…�qT}qU(hXSee hhOubcdocutils.nodes emphasis qV)�qW}qX(hX*Document settings*h'}qY(h)]h*]h+]h,]h.]uhhOh]qZh:XDocument settingsq[…�q\}q](hUhhWubah%Uemphasisq^ubh:X > q_…�q`}qa(hX > hhOubcsphinx.addnodes pending_xref qb)�qc}qd(hX :ref:`doc-settings_page-margins`qehhOh%U pending_xrefqfh'}qg(UreftypeXrefUrefwarnqhˆU reftargetqiXdoc-settings_page-marginsU refdomainXstdqjh,]h+]U refexplicit‰h)]h*]h.]UrefdocqkUsectionsqluh0Kh]qmhV)�qn}qo(hheh'}qp(h)]h*]qq(UxrefqrhjXstd-refqseh+]h,]h.]uhhch]qth:Xdoc-settings_page-marginsqu…�qv}qw(hUhhnubah%h^ubaubh:X and qx…�qy}qz(hX and hhOubhV)�q{}q|(hX*Document settings*h'}q}(h)]h*]h+]h,]h.]uhhOh]q~h:XDocument settingsq…�q€}q�(hUhh{ubah%h^ubh:X > q‚…�qƒ}q„(hX > hhOubhb)�q…}q†(hX:ref:`doc-settings_page-size`q‡hhOh%hfh'}qˆ(UreftypeXrefhhˆhiXdoc-settings_page-sizeU refdomainXstdq‰h,]h+]U refexplicit‰h)]h*]h.]hkhluh0Kh]qŠhV)�q‹}qŒ(hh‡h'}q�(h)]h*]qŽ(hrh‰Xstd-refq�eh+]h,]h.]uhh…h]q�h:Xdoc-settings_page-sizeq‘…�q’}q“(hUhh‹ubah%h^ubaubh:X.…�q”}q•(hX.hhOubeubaubh)�q–}q—(hUhhh h#h%h&h'}q˜(h)]h*]h+]h,]q™hah.]qšh auh0K h1hh]q›(h3)�qœ}q�(hXSection columnsqžhh–h h#h%h7h'}qŸ(h)]h*]h+]h,]h.]uh0K h1hh]q h:XSection columnsq¡…�q¢}q£(hhžhhœubaubh>)�q¤}q¥(hXFSection text can be spreaded over columns (all having the same width):q¦hh–h h#h%hBh'}q§(h)]h*]h+]h,]h.]uh0Kh1hh]q¨h:XFSection text can be spreaded over columns (all having the same width):q©…�qª}q«(hh¦hh¤ubaubcdocutils.nodes literal_block q¬)�q­}q®(hX…addSection(); // text will spreaded over 3 columns $section->setNumberOfColumns(3);hh–h h#h%U literal_blockq¯h'}q°(Ulinenosq±‰Ulanguageq²XphpU xml:spaceq³Upreserveq´h,]h+]h)]h*]h.]uh0Kh1hh]qµh:X…addSection(); // text will spreaded over 3 columns $section->setNumberOfColumns(3);q¶…�q·}q¸(hUhh­ubaubh>)�q¹}qº(hXDAnother way to define section columns with particular column widths:q»hh–h h#h%hBh'}q¼(h)]h*]h+]h,]h.]uh0Kh1hh]q½h:XDAnother way to define section columns with particular column widths:q¾…�q¿}qÀ(hh»hh¹ubaubh¬)�qÁ}qÂ(hX¯addSection(); // text will spreaded over 3 columns (widths are: 1cm, 2cm, and 3cm) $section->setColumnWidths(array(1, 2, 3));hh–h h#h%h¯h'}qÃ(h±‰h²Xphph³h´h,]h+]h)]h*]h.]uh0Kh1hh]qÄh:X¯addSection(); // text will spreaded over 3 columns (widths are: 1cm, 2cm, and 3cm) $section->setColumnWidths(array(1, 2, 3));qÅ…�qÆ}qÇ(hUhhÁubaubh>)�qÈ}qÉ(hX:Separate your section columns with a line, if you like to:qÊhh–h h#h%hBh'}qË(h)]h*]h+]h,]h.]uh0K&h1hh]qÌh:X:Separate your section columns with a line, if you like to:qÍ…�qÎ}qÏ(hhÊhhÈubaubh¬)�qÐ}qÑ(hXaddSection(); // text will spreaded over 3 columns (widths are: 1cm, 2cm, and 3cm) $section->setColumnWidths(array(1, 2, 3)); // line between section columns $section->setLineBetweenColumns(); $section->writeText('Lorem ipsum');hh–h h#h%h¯h'}qÒ(h±‰h²Xphph³h´h,]h+]h)]h*]h.]uh0K(h1hh]qÓh:XaddSection(); // text will spreaded over 3 columns (widths are: 1cm, 2cm, and 3cm) $section->setColumnWidths(array(1, 2, 3)); // line between section columns $section->setLineBetweenColumns(); $section->writeText('Lorem ipsum');qÔ…�qÕ}qÖ(hUhhÐubaubh>)�q×}qØ(hX>There is also the posibility to add space between the columns:qÙhh–h h#h%hBh'}qÚ(h)]h*]h+]h,]h.]uh0K5h1hh]qÛh:X>There is also the posibility to add space between the columns:qÜ…�qÝ}qÞ(hhÙhh×ubaubh¬)�qß}qà(hX$addSection(); // text will spreaded over 3 columns (widths are: 1cm, 2cm, and 3cm) $section->setColumnWidths(array(1, 2, 3)); // 0.2cm of space between section columns $section->setSpaceBetweenColumns(0.2); $section->writeText('Lorem ipsum');hh–h h#h%h¯h'}qá(h±‰h²Xphph³h´h,]h+]h)]h*]h.]uh0K7h1hh]qâh:X$addSection(); // text will spreaded over 3 columns (widths are: 1cm, 2cm, and 3cm) $section->setColumnWidths(array(1, 2, 3)); // 0.2cm of space between section columns $section->setSpaceBetweenColumns(0.2); $section->writeText('Lorem ipsum');qã…�qä}qå(hUhhßubaubeubh)�qæ}qç(hUhhh h#h%h&h'}qè(h)]h*]h+]h,]qéhah.]qêhauh0KEh1hh]që(h3)�qì}qí(hX Page breaksqîhhæh h#h%h7h'}qï(h)]h*]h+]h,]h.]uh0KEh1hh]qðh:X Page breaksqñ…�qò}qó(hhîhhìubaubh>)�qô}qõ(hXExplizit page break:qöhhæh h#h%hBh'}q÷(h)]h*]h+]h,]h.]uh0KGh1hh]qøh:XExplizit page break:qù…�qú}qû(hhöhhôubaubh¬)�qü}qý(hXÅaddSection(); $section->writeText('Lorem ipsum'); // insert a page break $section->insertPageBreak(); $section->writeText('Text on the next page');hhæh h#h%h¯h'}qþ(h±‰h²Xphph³h´h,]h+]h)]h*]h.]uh0KIh1hh]qÿh:XÅaddSection(); $section->writeText('Lorem ipsum'); // insert a page break $section->insertPageBreak(); $section->writeText('Text on the next page');r…�r}r(hUhhüubaubh>)�r}r(hX?To prevent a page break, if possible, you can do the following:rhhæh h#h%hBh'}r(h)]h*]h+]h,]h.]uh0KUh1hh]rh:X?To prevent a page break, if possible, you can do the following:r…�r }r (hjhjubaubh¬)�r }r (hX¿addSection(); $section->writeText('Lorem ipsum'); // prevent page break $section->setNoBreak(); $section->writeText('Text on the next page');hhæh h#h%h¯h'}r (h±‰h²Xphph³h´h,]h+]h)]h*]h.]uh0KWh1hh]rh:X¿addSection(); $section->writeText('Lorem ipsum'); // prevent page break $section->setNoBreak(); $section->writeText('Text on the next page');r…�r}r(hUhj ubaubeubh)�r}r(hUhhh h#h%h&h'}r(h)]h*]h+]h,]rhah.]rhauh0Kdh1hh]r(h3)�r}r(hX Hyperlinksrhjh h#h%h7h'}r(h)]h*]h+]h,]h.]uh0Kdh1hh]rh:X Hyperlinksr…�r}r(hjhjubaubh>)�r }r!(hXTo add a hyperlink:r"hjh h#h%hBh'}r#(h)]h*]h+]h,]h.]uh0Kfh1hh]r$h:XTo add a hyperlink:r%…�r&}r'(hj"hj ubaubh¬)�r(}r)(hX«addSection(); $section->writeText('Lorem ipsum: '); $section->writeHyperLink('http://lipsum.lipsum.com/', 'Lorem ipsum');hjh h#h%h¯h'}r*(h±‰h²Xphph³h´h,]h+]h)]h*]h.]uh0Khh1hh]r+h:X«addSection(); $section->writeText('Lorem ipsum: '); $section->writeHyperLink('http://lipsum.lipsum.com/', 'Lorem ipsum');r,…�r-}r.(hUhj(ubaubeubh)�r/}r0(hUhhh h#h%h&h'}r1(h)]h*]h+]h,]r2hah.]r3hauh0Ksh1hh]r4(h3)�r5}r6(hXBordersr7hj/h h#h%h7h'}r8(h)]h*]h+]h,]h.]uh0Ksh1hh]r9h:XBordersr:…�r;}r<(hj7hj5ubaubh¬)�r=}r>(hXŸaddSection(); // set section border $section->setBorder($border); // set one border format for top, left, right, and bottom $section->setBorders(new PHPRtfLite_Border_Format(2, '#00FF00'));hj/h h#h%h¯h'}r?(h±‰h²Xphph³h´h,]h+]h)]h*]h.]uh0Kuh1hh]r@h:XŸaddSection(); // set section border $section->setBorder($border); // set one border format for top, left, right, and bottom $section->setBorders(new PHPRtfLite_Border_Format(2, '#00FF00'));rA…�rB}rC(hUhj=ubaubh>)�rD}rE(hX6Read more about creating borders here: :ref:`borders`.rFhj/h h#h%hBh'}rG(h)]h*]h+]h,]h.]uh0K‰h1hh]rH(h:X'Read more about creating borders here: rI…�rJ}rK(hX'Read more about creating borders here: hjDubhb)�rL}rM(hX:ref:`borders`rNhjDh%hfh'}rO(UreftypeXrefhhˆhiXbordersU refdomainXstdrPh,]h+]U refexplicit‰h)]h*]h.]hkhluh0K‰h]rQhV)�rR}rS(hjNh'}rT(h)]h*]rU(hrjPXstd-refrVeh+]h,]h.]uhjLh]rWh:XbordersrX…�rY}rZ(hUhjRubah%h^ubaubh:X.…�r[}r\(hX.hjDubeubeubeubahUU transformerr]NU footnote_refsr^}r_Urefnamesr`}raUsymbol_footnotesrb]rcUautofootnote_refsrd]reUsymbol_footnote_refsrf]rgU citationsrh]rih1hU current_linerjNUtransform_messagesrk]rlUreporterrmNUid_startrnKU autofootnotesro]rpU citation_refsrq}rrUindirect_targetsrs]rtUsettingsru(cdocutils.frontend Values rvorw}rx(Ufootnote_backlinksryKUrecord_dependenciesrzNU rfc_base_urlr{Uhttp://tools.ietf.org/html/r|U tracebackr}KUpep_referencesr~NUstrip_commentsrNU toc_backlinksr€Uentryr�U language_coder‚UenrƒU datestampr„NU report_levelr…KU _destinationr†NU halt_levelr‡KU strip_classesrˆNh7NUerror_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\sections.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–hhæhj/hjhhuUsubstitution_namesr¼}r½h%h1h'}r¾(h)]h,]h+]Usourceh#h*]h.]uU footnotesr¿]rÀUrefidsrÁ}rÂub.