本文整理汇总了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 = '';
}