/plugin/odt/ODT/ |
H A D | XMLUtil.php | 52 $max = strlen ($xmlCode); 82 if ($xmlCode [$angle-1] == '/') { 118 $max = strlen ($xmlCode); 150 if ($xmlCode [$angle-1] == '/') { 187 if(empty($xmlCode)) { 191 $max = strlen ($xmlCode); 239 if ($xmlCode [$angle-1] == '/') { 278 if(empty($xmlCode)) { 282 $max = strlen ($xmlCode); 365 return $xmlCode; [all …]
|
/plugin/odt/ODT/styles/ |
H A D | ODTStyle.php | 113 static public function importODTStyle($xmlCode) { argument 116 if (preg_match ($pattern, $xmlCode, $matches) !== 1) { 125 $style = ODTStyleStyle::importODTStyle($xmlCode); 128 $style = ODTTextOutlineStyle::importODTStyle($xmlCode); 131 $style = ODTTextListStyle::importODTStyle($xmlCode); 134 $style = ODTMasterPageStyle::importODTStyle($xmlCode); 137 $style = ODTPageLayoutStyle::importODTStyle($xmlCode); 148 $unknown = ODTUnknownStyle::importODTStyle($xmlCode); 187 protected function importODTStyleInternal(array $fields, $xmlCode, &$properties=NULL) { argument 195 if (preg_match ('/'.$field[0].'="[^"]*"/', $xmlCode, $matches) === 1) {
|
H A D | ODTMasterPageStyle.php | 104 static public function importODTStyle($xmlCode) { argument 108 $open = XMLUtil::getElementOpenTag('style:master-page', $xmlCode); 114 $open = XMLUtil::getElementOpenTag('style:header', $xmlCode); 117 $content_header = XMLUtil::getElementContent ('style:header', $xmlCode); 121 $open = XMLUtil::getElementOpenTag('style:footer', $xmlCode); 124 $content_footer = XMLUtil::getElementContent ('style:footer', $xmlCode); 128 $open = XMLUtil::getElementOpenTag('style:header-left', $xmlCode); 131 $content_header_left = XMLUtil::getElementContent ('style:header-left', $xmlCode); 135 $open = XMLUtil::getElementOpenTag('style:footer-left', $xmlCode); 138 $content_footer_left = XMLUtil::getElementContent ('style:footer-left', $xmlCode);
|
H A D | ODTTableCellStyle.php | 148 static public function importODTStyle($xmlCode) { argument 152 $open = XMLUtil::getElementOpenTag('style:style', $xmlCode); 156 $open = XMLUtil::getElementOpenTag('style:default-style', $xmlCode); 163 $open = XMLUtil::getElementOpenTag('style:paragraph-properties', $xmlCode); 165 … $attrs += $style->importODTStyleInternal(ODTParagraphStyle::getParagraphProperties (), $xmlCode); 168 $open = XMLUtil::getElementOpenTag('style:text-properties', $xmlCode); 173 $open = XMLUtil::getElementOpenTag('style:table-cell-properties', $xmlCode);
|
H A D | ODTTableColumnStyle.php | 92 static public function importODTStyle($xmlCode) { argument 96 $open = XMLUtil::getElementOpenTag('style:style', $xmlCode); 100 $open = XMLUtil::getElementOpenTag('style:default-style', $xmlCode); 107 $open = XMLUtil::getElementOpenTag('style:table-column-properties', $xmlCode);
|
H A D | ODTTableRowStyle.php | 111 static public function importODTStyle($xmlCode) { argument 115 $open = XMLUtil::getElementOpenTag('style:style', $xmlCode); 119 $open = XMLUtil::getElementOpenTag('style:default-style', $xmlCode); 126 $open = XMLUtil::getElementOpenTag('style:table-row-properties', $xmlCode);
|
H A D | ODTTextOutlineStyle.php | 107 static public function importODTStyle($xmlCode) { argument 111 $open = XMLUtil::getElementOpenTag('text:outline-style', $xmlCode); 119 $max = strlen ($xmlCode); 120 $level = XMLUtil::getElement('text:outline-level-style', substr($xmlCode, $pos), $end); 140 $level = XMLUtil::getElement('text:outline-level-style', substr($xmlCode, $pos), $end);
|
H A D | ODTTableStyle.php | 121 static public function importODTStyle($xmlCode) { argument 125 $open = XMLUtil::getElementOpenTag('style:style', $xmlCode); 129 $open = XMLUtil::getElementOpenTag('style:default-style', $xmlCode); 136 $open = XMLUtil::getElementOpenTag('style:table-properties', $xmlCode);
|
H A D | ODTParagraphStyle.php | 197 static public function importODTStyle($xmlCode) { argument 201 $open = XMLUtil::getElementOpenTag('style:style', $xmlCode); 205 $open = XMLUtil::getElementOpenTag('style:default-style', $xmlCode); 212 $open = XMLUtil::getElementOpenTag('style:paragraph-properties', $xmlCode); 214 $attrs += $style->importODTStyleInternal(self::$paragraph_fields, $xmlCode); 217 $open = XMLUtil::getElementOpenTag('style:text-properties', $xmlCode); 223 $tabs = XMLUtil::getElementContent('style:tab-stops', $xmlCode);
|
H A D | ODTStyleStyle.php | 185 static public function importODTStyle($xmlCode) { argument 187 if (preg_match ('/style:family="[^"]+"/', $xmlCode, $matches) !== 1) { 196 return call_user_func(self::$import_odt_callbacks [$index], $xmlCode);
|
H A D | ODTTextStyle.php | 184 static public function importODTStyle($xmlCode) { argument 188 $open = XMLUtil::getElementOpenTag('style:style', $xmlCode); 192 $open = XMLUtil::getElementOpenTag('style:default-style', $xmlCode); 199 $open = XMLUtil::getElementOpenTag('style:text-properties', $xmlCode);
|
H A D | ODTUnknownStyle.php | 97 static public function importODTStyle($xmlCode) { argument 99 $style->setStyleContent($xmlCode);
|
H A D | ODTPageLayoutStyle.php | 217 static public function importODTStyle($xmlCode) { argument 221 $open = XMLUtil::getElementOpenTag('style:page-layout', $xmlCode); 225 $childs = XMLUtil::getElementContent ('style:page-layout', $xmlCode); 234 $childs = XMLUtil::getElementContent ('style:page-layout-properties', $xmlCode);
|
H A D | ODTTextListStyle.php | 132 static public function importODTStyle($xmlCode) { argument 136 $open = XMLUtil::getElementOpenTag('text:list-style', $xmlCode); 140 $content = XMLUtil::getElementContent('text:list-style', $xmlCode);
|