€cdocutils.nodes document q)q}q(U nametypesq}q(X text fieldqNXcheckboxqNX form fieldsqNXdropdownq NuUsubstitution_defsq }q Uparse_messagesq ]q Ucurrent_sourceqNU decorationqNUautofootnote_startqKUnameidsq}q(hU text-fieldqhUcheckboxqhU form-fieldsqh UdropdownquUchildrenq]qcdocutils.nodes section q)q}q(U rawsourceqUUparentqhUsourceqcdocutils.nodes reprunicode qX-E:\htdocs\phprtflite\tutorials\formfields.rstq …q!}q"bUtagnameq#Usectionq$U attributesq%}q&(Udupnamesq']Uclassesq(]Ubackrefsq)]Uidsq*]q+haUnamesq,]q-hauUlineq.KUdocumentq/hh]q0(cdocutils.nodes title q1)q2}q3(hX Form fieldsq4hhhh!h#Utitleq5h%}q6(h']h(]h)]h*]h,]uh.Kh/hh]q7cdocutils.nodes Text q8X Form fieldsq9…q:}q;(hh4hh2ubaubcdocutils.nodes paragraph q<)q=}q>(hXZForm fields can be used in cells and sections. The supported form fields in PHPRtfLite areq?hhhh!h#U paragraphq@h%}qA(h']h(]h)]h*]h,]uh.Kh/hh]qBh8XZForm fields can be used in cells and sections. The supported form fields in PHPRtfLite areqC…qD}qE(hh?hh=ubaubcdocutils.nodes bullet_list qF)qG}qH(hUhhhh!h#U bullet_listqIh%}qJ(UbulletqKX-h*]h)]h']h(]h,]uh.Kh/hh]qL(cdocutils.nodes list_item qM)qN}qO(hX CheckboxesqPhhGhh!h#U list_itemqQh%}qR(h']h(]h)]h*]h,]uh.Nh/hh]qSh<)qT}qU(hhPhhNhh!h#h@h%}qV(h']h(]h)]h*]h,]uh.Kh]qWh8X CheckboxesqX…qY}qZ(hhPhhTubaubaubhM)q[}q\(hXDropdown boxes andq]hhGhh!h#hQh%}q^(h']h(]h)]h*]h,]uh.Nh/hh]q_h<)q`}qa(hh]hh[hh!h#h@h%}qb(h']h(]h)]h*]h,]uh.Kh]qch8XDropdown boxes andqd…qe}qf(hh]hh`ubaubaubhM)qg}qh(hX Text fields hhGhh!h#hQh%}qi(h']h(]h)]h*]h,]uh.Nh/hh]qjh<)qk}ql(hX Text fieldsqmhhghh!h#h@h%}qn(h']h(]h)]h*]h,]uh.Kh]qoh8X Text fieldsqp…qq}qr(hhmhhkubaubaubeubh)qs}qt(hUhhhh!h#h$h%}qu(h']h(]h)]h*]qvhah,]qwhauh.K h/hh]qx(h1)qy}qz(hXCheckboxq{hhshh!h#h5h%}q|(h']h(]h)]h*]h,]uh.K h/hh]q}h8XCheckboxq~…q}q€(hh{hhyubaubh<)q}q‚(hXCheckbox example:qƒhhshh!h#h@h%}q„(h']h(]h)]h*]h,]uh.Kh/hh]q…h8XCheckbox example:q†…q‡}qˆ(hhƒhhubaubcdocutils.nodes literal_block q‰)qŠ}q‹(hX{addCheckbox(); // checkbox is checked $checkbox->setChecked(); $cell->writeText('checkbox label');hhshh!h#U literal_blockqŒh%}q(UlinenosqމUlanguageqXphpU xml:spaceqUpreserveq‘h*]h)]h']h(]h,]uh.Kh/hh]q’h8X{addCheckbox(); // checkbox is checked $checkbox->setChecked(); $cell->writeText('checkbox label');q“…q”}q•(hUhhŠubaubeubh)q–}q—(hUhhhh!h#h$h%}q˜(h']h(]h)]h*]q™hah,]qšh auh.Kh/hh]q›(h1)qœ}q(hXDropdownqžhh–hh!h#h5h%}qŸ(h']h(]h)]h*]h,]uh.Kh/hh]q h8XDropdownq¡…q¢}q£(hhžhhœubaubh<)q¤}q¥(hXDropdown box example:q¦hh–hh!h#h@h%}q§(h']h(]h)]h*]h,]uh.Kh/hh]q¨h8XDropdown box example:q©…qª}q«(hh¦hh¤ubaubh‰)q¬}q­(hXÎwriteText('dropdown label'); $dropdown = $cell->addDropdown(); // set dropdown items $dropdown->setItems(array('pear', 'apple', 'pineapple')); // add dropdown item $dropdown->addItem('orange');hh–hh!h#hŒh%}q®(hމhXphphh‘h*]h)]h']h(]h,]uh.Kh/hh]q¯h8XÎwriteText('dropdown label'); $dropdown = $cell->addDropdown(); // set dropdown items $dropdown->setItems(array('pear', 'apple', 'pineapple')); // add dropdown item $dropdown->addItem('orange');q°…q±}q²(hUhh¬ubaubeubh)q³}q´(hUhhhh!h#h$h%}qµ(h']h(]h)]h*]q¶hah,]q·hauh.K*h/hh]q¸(h1)q¹}qº(hX Text fieldq»hh³hh!h#h5h%}q¼(h']h(]h)]h*]h,]uh.K*h/hh]q½h8X Text fieldq¾…q¿}qÀ(hh»hh¹ubaubh<)qÁ}qÂ(hXText field example:qÃhh³hh!h#h@h%}qÄ(h']h(]h)]h*]h,]uh.K,h/hh]qÅh8XText field example:qÆ…qÇ}qÈ(hhÃhhÁubaubh‰)qÉ}qÊ(hX’writeText('text field label'); $textField = $cell->addTextField(); // set text field text $textField->setDefaultValue('Lorem ipsum');hh³hh!h#hŒh%}qË(hމhXphphh‘h*]h)]h']h(]h,]uh.K.h/hh]qÌh8X’writeText('text field label'); $textField = $cell->addTextField(); // set text field text $textField->setDefaultValue('Lorem ipsum');qÍ…qÎ}qÏ(hUhhÉubaubeubeubahUU transformerqÐNU footnote_refsqÑ}qÒUrefnamesqÓ}qÔUsymbol_footnotesqÕ]qÖUautofootnote_refsq×]qØUsymbol_footnote_refsqÙ]qÚU citationsqÛ]qÜh/hU current_lineqÝNUtransform_messagesqÞ]qßUreporterqàNUid_startqáKU autofootnotesqâ]qãU citation_refsqä}qåUindirect_targetsqæ]qçUsettingsqè(cdocutils.frontend Values qéoqê}që(Ufootnote_backlinksqìKUrecord_dependenciesqíNU rfc_base_urlqîUhttp://tools.ietf.org/html/qïU tracebackqðKUpep_referencesqñNUstrip_commentsqòNU toc_backlinksqóUentryqôU language_codeqõUenqöU datestampq÷NU report_levelqøKU _destinationqùNU halt_levelqúKU strip_classesqûNh5NUerror_encoding_error_handlerqüUbackslashreplaceqýUdebugqþNUembed_stylesheetqÿ‰Uoutput_encoding_error_handlerrUstrictrU sectnum_xformrKUdump_transformsrNU docinfo_xformrKUwarning_streamrNUpep_file_url_templaterUpep-%04drUexit_status_levelrKUconfigr NUstrict_visitorr NUcloak_email_addressesr ˆUtrim_footnote_reference_spacer ‰Uenvr NUdump_pseudo_xmlrNUexpose_internalsrNUsectsubtitle_xformr‰U source_linkrNUrfc_referencesrNUoutput_encodingrUutf-8rU source_urlrNUinput_encodingrU utf-8-sigrU_disable_configrNU id_prefixrUU tab_widthrKUerror_encodingrUcp850rU_sourcerU-E:\htdocs\phprtflite\tutorials\formfields.rstrU generatorrNUdump_internalsr NU pep_base_urlr!Uhttp://www.python.org/dev/peps/r"Uinput_encoding_error_handlerr#jUauto_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.(hhshhhh³hh–uUsubstitution_namesr/}r0h#h/h%}r1(h']h*]h)]Usourceh!h(]h,]uU footnotesr2]r3Urefidsr4}r5ub.