Lines Matching refs:properties
286 $properties = array ();
293 // Get CSS properties for ODT export.
294 $renderer->getODTProperties ($properties, 'div', $class, $style);
296 if ( empty($properties ['background-image']) === false ) {
297 $properties ['background-image'] =
298 $renderer->replaceURLPrefix ($properties ['background-image'], DOKU_INC);
301 if ( empty($properties ['float']) === true ) {
305 $properties ['float'] = 'left';
307 $properties ['float'] = 'center';
312 $properties ['display'] = 'always';
314 $properties ['display'] = 'screen';
317 $properties ['display'] = 'printer';
320 $renderer->_odtDivOpenAsFrameUseProperties ($properties);
332 $properties = array ();
339 // Get CSS properties for ODT export.
340 $renderer->getODTProperties ($properties, 'div', $class, $style);
342 $renderer->_odtOpenMultiColumnFrame($properties);
354 $properties = array ();
357 // Get CSS properties for ODT export.
359 $renderer->getODTPropertiesNew ($properties, 'p', $attr, null, false);
361 // Get CSS properties for ODT export (deprecated version).
362 $renderer->getODTProperties ($properties, 'p', $class, $style);
364 if ( empty($properties ['background-image']) === false ) {
365 $properties ['background-image'] =
366 $renderer->replaceURLPrefix ($properties ['background-image'], DOKU_INC);
373 if ( empty($properties ['text-align']) )
376 $properties ['text-align'] = 'left';
377 $properties ['writing-mode'] = 'lr';
380 $properties ['text-align'] = 'right';
381 $properties ['writing-mode'] = 'rl';
387 $properties ['lang'] = $language;
396 $properties ['text-indent'] = $properties ['padding-left'];
397 $properties ['padding-left'] = 0;
403 $properties ['text-indent'] = $properties ['margin-left'];
404 $properties ['margin-left'] = 0;
412 $properties ['margin-left'] = $properties ['padding-left'] ?? null;
413 $properties ['padding-left'] = 0;
427 $renderer->_odtParagraphOpenUseProperties($properties);
444 $properties ['style-parent'] = 'Plugin_Wrap_Paragraphs';
445 $properties ['style-class'] = null;
446 $properties ['style-name'] = $style_name;
447 $properties ['style-display-name'] = $name;
448 $renderer->createParagraphStyle($properties);
464 $properties = array ();
467 // Get CSS properties for ODT export.
468 $renderer->getODTPropertiesNew ($properties, 'div', $attr);
470 // Get CSS properties for ODT export (deprecated version).
471 $renderer->getODTProperties ($properties, null, $class, $style);
480 $properties ['padding-left'] = $properties ['margin-left'] ?? null;
481 $properties ['padding-right'] = $properties ['margin-right'] ?? null;
482 $properties ['padding-top'] = $properties ['margin-top'] ?? null;
483 $properties ['padding-bottom'] = $properties ['margin-bottom'] ?? null;
484 $properties ['margin-left'] = null;
485 $properties ['margin-right'] = null;
486 $properties ['margin-top'] = null;
487 $properties ['margin-bottom'] = null;
490 $length = strlen ($properties ['padding-left']);
491 if ( $length > 0 && $properties ['padding-left'] [$length-1] == '%' ) {
492 $properties ['padding-left'] = trim ($properties ['padding-left'], '%');
493 $properties ['padding-left'] = $renderer->_getAbsWidthMindMargins ($properties ['padding-left']).'cm';
495 $length = strlen ($properties ['padding-right']);
496 if ( $length > 0 && $properties ['padding-right'] [$length-1] == '%' ) {
497 $properties ['padding-right'] = trim ($properties ['padding-right'], '%');
498 $properties ['padding-right'] = $renderer->_getAbsWidthMindMargins ($properties ['padding-right']).'cm';
500 $length = strlen ($properties ['padding-top']);
501 if ( $length > 0 && $properties ['padding-top'] [$length-1] == '%' ) {
502 $properties ['padding-top'] = trim ($properties ['padding-top'], '%');
503 $properties ['padding-top'] = $renderer->_getAbsWidthMindMargins ($properties ['padding-top']).'cm';
505 $length = strlen ($properties ['padding-bottom']);
506 if ( $length > 0 && $properties ['padding-bottom'] [$length-1] == '%' ) {
507 $properties ['padding-bottom'] = trim ($properties ['padding-bottom'], '%');
508 $properties ['padding-bottom'] = $renderer->_getAbsWidthMindMargins ($properties ['padding-bottom']).'cm';
515 $properties ['width'] = '100%';
516 $renderer->_odtTableOpenUseProperties($properties);
517 $renderer->_odtTableRowOpenUseProperties($properties);
522 unset($properties ['width']);
523 $renderer->_odtTableAddColumnUseProperties($properties);
526 $renderer->_odtTableCellOpenUseProperties($properties);
554 $properties = array ();
557 // Get CSS properties for ODT export.
559 $renderer->getODTPropertiesNew ($properties, 'span', $attr, null, false);
561 // Get CSS properties for ODT export (deprecated version).
562 $renderer->getODTProperties ($properties, 'span', $class, $style);
564 if ( empty($properties ['background-image']) === false ) {
565 $properties ['background-image'] =
566 $renderer->replaceURLPrefix ($properties ['background-image'], DOKU_INC);
575 $properties ['lang'] = $language;
581 $renderer->_odtSpanOpenUseProperties($properties);
584 $properties ['font-size'] = null;
599 $properties ['style-parent'] = 'Plugin_Wrap_Spans';
600 $properties ['style-class'] = null;
601 $properties ['style-name'] = $style_name;
602 $properties ['style-display-name'] = $name;
603 $renderer->createTextStyle($properties);
606 if (!empty($properties ['background-image'])) {
609 if (!empty($properties ['font-size'])) {
610 $size = $properties ['font-size'];
613 $properties ['width'] = $size;
614 $properties ['height'] = $size;
615 $properties ['title'] = null;
616 $renderer->_odtAddImageUseProperties ($properties ['background-image'],$properties);
618 $renderer->_odtAddImage ($properties ['background-image'],null,null,null,null,null);
644 // Get CSS properties for ODT export.
679 $properties = array();
680 $properties ['width'] = '100%';
681 $properties ['align'] = 'center';
682 $properties ['margin-top'] = $margin_top;
683 $properties ['margin-right'] = $margin_right;
684 $properties ['margin-bottom'] = $margin_bottom;
685 $properties ['margin-left'] = $margin_left;
745 $renderer->_odtTableOpenUseProperties($properties);
748 $properties = array();
749 $properties ['width'] = '2cm';
750 $renderer->_odtTableAddColumnUseProperties($properties);
753 $properties = array();
754 $renderer->_odtTableAddColumnUseProperties($properties);
759 $properties = array();
760 $properties ['vertical-align'] = 'middle';
761 $properties ['text-align'] = 'center';
762 $properties ['padding'] = '0.1cm';
763 $properties ['background-color'] = $background_color;
765 $renderer->_odtTableCellOpenUseProperties($properties);
770 $properties = array();
771 $properties ['vertical-align'] = 'middle';
772 $properties ['padding'] = '0.3cm';
773 $properties ['background-color'] = $background_color;
774 $properties ['border'] = 'none';
775 $renderer->_odtTableCellOpenUseProperties($properties);