Home
last modified time | relevance | path

Searched refs:xmlCode (Results 1 – 14 of 14) sorted by last modified time

/plugin/odt/ODT/styles/
H A DODTTableCellStyle.php148 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 DODTTableColumnStyle.php92 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 DODTTableRowStyle.php111 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 DODTTableStyle.php121 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 DODTStyleStyle.php185 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 DODTTextStyle.php184 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 DODTUnknownStyle.php97 static public function importODTStyle($xmlCode) { argument
99 $style->setStyleContent($xmlCode);
H A DODTMasterPageStyle.php104 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 DODTPageLayoutStyle.php217 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 DODTParagraphStyle.php197 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 DODTStyle.php113 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 DODTTextListStyle.php132 static public function importODTStyle($xmlCode) { argument
136 $open = XMLUtil::getElementOpenTag('text:list-style', $xmlCode);
140 $content = XMLUtil::getElementContent('text:list-style', $xmlCode);
H A DODTTextOutlineStyle.php107 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);
/plugin/odt/ODT/
H A DXMLUtil.php52 $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 …]