Home
last modified time | relevance | path

Searched refs:style_name (Results 1 – 25 of 36) sorted by relevance

12

/plugin/odt/ODT/elements/
H A DODTElementTableRow.php25 * @param string $style_name Name of the style
27 public function __construct($style_name=NULL) { argument
30 if (isset($style_name)) {
31 $this->setStyleName ($style_name);
50 $style_name = $this->getStyleName();
51 if (isset($style_name)) {
52 return '<table:table-row table:style-name="'.$style_name.'">';
H A DODTElementTableColumn.php100 $style_name = $table->getTableColumnStyleName($curr_column);
101 if (empty($style_name)) {
102 $style_name = 'odt_auto_style_table_column_'.$table->getCount().'_'.($curr_column+1);
103 $table->setTableColumnStyleName($curr_column, $style_name);
105 $this->setStyleName ($style_name);
H A DODTStateElement.php14 protected $style_name = NULL; variable in ODTStateElement
26 public function __construct($style_name=NULL) { argument
76 $this->style_name = $value;
85 return $this->style_name;
H A DODTElementTable.php36 if (isset($style_name)) {
37 $this->setStyleName ($style_name);
61 $style_name = $this->getStyleName();
62 if (!isset($style_name)) {
65 $encoded .= '<table:table table:style-name="'.$style_name.'">';
155 public function setTableColumnStyleName($column, $style_name) { argument
156 $this->table_column_styles [$column] = $style_name;
338 $style_name = $table_column_styles [$column-1];
339 $style_obj = $params->document->getStyle($style_name);
469 $style_name = $table_column_styles [$index];
[all …]
H A DODTElementParagraph.php17 public function __construct($style_name=NULL) { argument
20 if (isset($style_name)) {
21 $this->setStyleName ($style_name);
H A DODTElementSpan.php17 public function __construct($style_name=NULL) { argument
20 if (isset($style_name)) {
21 $this->setStyleName ($style_name);
H A DODTElementList.php23 public function __construct($style_name=NULL, $continue=false) { argument
26 if (isset($style_name)) {
27 $this->setStyleName ($style_name);
H A DODTElementTableCell.php21 public function __construct($style_name=NULL, $colspan = 1, $rowspan = 1) { argument
24 if (isset($style_name)) {
25 $this->setStyleName ($style_name);
H A DODTElementTableHeaderCell.php21 public function __construct($style_name=NULL, $colspan = 0, $rowspan = 0) { argument
22 parent::__construct($style_name, $colspan, $rowspan);
/plugin/odt/ODT/styles/
H A DODTUnknownStyle.php199 $style_name = $properties ['style-name'];
200 if ( empty($style_name) ) {
201 $style_name = self::getNewStylename ('Frame');
202 $properties ['style-name'] = $style_name;
207 …$style = '<style:style style:name="'.$style_name.'" style:family="graphic" style:parent-style-name…
H A DODTTableColumnStyle.php140 * @param null $style_name
145 $style_name = $properties ['style-name'];
146 if ( empty($style_name) ) {
147 $style_name = self::getNewStylename ('TableColumn');
148 $properties ['style-name'] = $style_name;
H A DODTTableRowStyle.php166 $style_name = $properties ['style-name'];
167 if ( empty($style_name) ) {
168 $style_name = self::getNewStylename ('TableRow');
169 $properties ['style-name'] = $style_name;
H A DODTTableStyle.php209 $style_name = $properties ['style-name'];
210 if ( empty($style_name) ) {
211 $style_name = self::getNewStylename ('Table');
212 $properties ['style-name'] = $style_name;
H A DODTTableCellStyle.php208 $style_name = $properties ['style-name'];
209 if ( empty($style_name) ) {
210 $style_name = self::getNewStylename ('TableCell');
211 $properties ['style-name'] = $style_name;
H A DODTParagraphStyle.php414 $style_name = $properties ['style-name'];
415 if ( empty($style_name) ) {
416 $style_name = self::getNewStylename ('Paragraph');
417 $properties ['style-name'] = $style_name;
449 public static function createPagebreakStyle($style_name, $parent=NULL,$before=true) { argument
451 $properties ['style-name'] = $style_name;
/plugin/odt/ODT/
H A DODTSpan.php86 $style_name = ODTStyle::getNewStylename('span_graphic');
87 …$image_style = '<style:style style:name="'.$style_name.'" style:family="graphic" style:parent-styl…
93 ODTImage::addImage ($params, $picture, NULL, NULL, NULL, NULL, $style_name);
100 $style_name = $style_obj->getProperty('style-name');
103 self::spanOpen($params, $style_name);
109 * @param string $style_name The style to use.
217 $style_name = self::createSpanInternal ($params, $found ['attributes']);
218 $checked [$out] = '<text:span text:style-name="'.$style_name.'">';
H A DODTTable.php55 $style_name = 'Table'.$count.'_Indentation_Level'.$level;
56 if (!$params->document->styleExists($style_name)) {
58 $style_obj->setProperty('style-name', $style_name);
70 $tableStyleName = $style_name;
417 $style_name = $style_obj->getProperty('style-name');
421 self::tableOpen($params, $maxcols, $numrows, $style_name);
503 $style_name = $style_obj->getProperty('style-name');
506 self::tableRowOpen($params, $style_name);
556 $style_name = $style_obj->getProperty('style-name');
592 $style_name = $table_column_styles [$curr_column-1];
[all …]
H A DODTParagraph.php208 $style_name = ODTStyle::getNewStylename('span_graphic');
209 …$image_style = '<style:style style:name="'.$style_name.'" style:family="graphic" style:parent-styl…
215 ODTImage::addImage ($params, $picture, NULL, NULL, NULL, NULL, $style_name);
223 $style_name = $style_obj->getProperty('style-name');
226 self::paragraphOpen($params, $style_name);
H A DODTList.php240 $style_name = $params->document->getStyleName('list last');
242 $style_name = $params->document->getStyleName('numbering last');
244 $style_name = 'LastListParagraph_'.$last_p_style;
245 if (!$params->document->styleExists($style_name)) {
258 $style_obj->setProperty('style-name', $style_name);
273 '<text:p text:style-name="'.$style_name.'">',
H A DODTUtility.php166 $style_name = substr ($docContent, $style_start+1, $style_end - ($style_start+1));
169 if ( !in_array($style_name, $preventDeletetionStyles) )
917 $style_name = NULL;
922 $style_name = $options ['style_names_prefix'].$class_attr;
925 … $style_name = self::createTextStyle ($params, 'span', $found ['attributes'], $style_name);
926 $checked [$out] = '<text:span text:style-name="'.$style_name.'">';
961 $style_name = NULL;
966 $style_name = $options ['style_names_prefix'].$class_attr;
971 … $style_name = self::createParagraphStyle ($params, 'li', $found ['attributes'], $style_name);
973 $style_name = $p_list_style;
[all …]
H A DODTFrame.php147 $style_name = $style_obj->getProperty('style-name');
164 $frame = new ODTElementFrame($style_name);
300 $style_name = ODTStyle::getNewStylename('Frame');
301 …$style = '<style:style style:name="'.$style_name.'_text_frame" style:family="graphic" style:paren…
326 $frame = new ODTElementFrame($style_name.'_text_frame');
H A DODTImage.php223 $style_name = ODTStyle::getNewStylename('span_graphic');
224 …$image_style = '<style:style style:name="'.$style_name.'" style:family="graphic" style:parent-sty…
246 …$encoded .= '<draw:frame draw:style-name="'.$style_name.'" draw:name="'.$params->document->replace…
252 …$encoded .= '<draw:frame draw:style-name="'.$style_name.'" draw:name="'.$params->document->replace…
256 $encoded .= '<draw:frame draw:style-name="'.$style_name.'" draw:name="'.$z.'"
/plugin/keyboard/
H A Dsyntax.php191 $style_name = 'Plugin_Keyboard_'.$class;
192 if (!$renderer->styleExists($style_name)) {
193 $this->styles[$class]['name'] = $style_name;
196 $properties ['style-name'] = $style_name;
212 $style_name = 'Plugin_Keyboard_'.$class;
213 if (!$renderer->styleExists($style_name)) {
215 $new = array ('name' => $style_name, 'display-name' => $display_name);
220 $properties ['style-name'] = $style_name;
/plugin/odt/helper/
H A Dstylefactory.php206 * @param null $style_name
277 public static function createPagebreakStyle($style_name, $parent=NULL,$before=true) { argument
278 return ODTParagraphStyle::createPagebreakStyle($style_name, $parent,$before);
/plugin/divalign2/
H A Dcommon.php154 $style_name = 'Plugin_DivAlign2_'.$Align;
155 if (!$renderer->styleExists($style_name)) {
156 $properties ['style-name'] = $style_name;

12