當前位置: 首頁>>代碼示例>>PHP>>正文


PHP CreateDocx::intIdWord方法代碼示例

本文整理匯總了PHP中CreateDocx::intIdWord方法的典型用法代碼示例。如果您正苦於以下問題:PHP CreateDocx::intIdWord方法的具體用法?PHP CreateDocx::intIdWord怎麽用?PHP CreateDocx::intIdWord使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在CreateDocx的用法示例。


在下文中一共展示了CreateDocx::intIdWord方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: __construct

 /**
  * Construct
  *
  * @access public
  * @param string $extension File extension. Optional, docx as default
  */
 public function __construct($extension = 'docx')
 {
     $this->_idRels = array();
     $this->_idWords = array();
     Logger::configure(dirname(__FILE__) . '/conf/log4php.properties');
     self::$log = Logger::getLogger('phpdocx_error');
     $this->_idImgHeader = 1;
     $this->_idRels = 1;
     self::$intIdWord = 0;
     self::$_encodeUTF = 0;
     $this->_language = 'en-US';
     $this->graphicTemplate = array();
     $this->fileGraphicTemplate = array();
     $this->_zipDocx = new ZipArchive();
     $this->_tempFile = tempnam(sys_get_temp_dir(), 'document');
     $this->_zipDocx->open($this->_tempFile, ZipArchive::OVERWRITE);
     $this->_extension = $extension;
     $this->_relsRelsC = '';
     $this->_relsRelsT = '';
     $this->_contentTypeC = '';
     $this->_docPropsAppC = '';
     $this->_docPropsAppT = '';
     $this->_docPropsCoreC = '';
     $this->_docPropsCoreT = '';
     $this->_docPropsCustomC = '';
     $this->_docPropsCustomT = '';
     $this->_tempFileXLSX = array();
     $this->_wordDocumentT = '';
     $this->_wordDocumentC = '';
     $this->_wordEndnotesC = '';
     $this->_wordEndnotesT = '';
     $this->_wordFontTableT = '';
     $this->_wordFontTableC = '';
     $this->_wordFooterC = '';
     $this->_wordFooterT = '';
     $this->_wordFootnotesC = '';
     $this->_wordFootnotesT = '';
     $this->_wordHeaderC = '';
     $this->_wordHeaderT = '';
     $this->_wordNumberingC;
     $this->_wordNumberingT;
     $this->_wordRelsDocumentRelsC = '';
     $this->_wordRelsDocumentRelsT = '';
     $this->_wordRelsHeaderRelsC = '';
     $this->_wordRelsHeaderRelsT = '';
     $this->_wordRelsFooterRelsC = '';
     $this->_wordRelsFooterRelsT = '';
     $this->_xmlWordSettings = '';
     $this->_wordSettingsT = '';
     $this->_wordSettingsC = '';
     $this->_xmlWordStyles = '';
     $this->_wordStylesT = '';
     $this->_wordStylesC = '';
     $this->_wordThemeThemeT = '';
     $this->_wordThemeThemeC = '';
     $this->_macro = 0;
     $this->_xmlWordWebSettings = '';
     $this->generateContentType();
     $this->_defaultFont = '';
 }
開發者ID:aodkrisda,項目名稱:PHP-Digital-Format-Convert-Epub-Mobi-PDF,代碼行數:66,代碼來源:CreateDocx.inc.php


注:本文中的CreateDocx::intIdWord方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。