Lines Matching +defs:style +defs:name

36     protected function getStyle($name) {
37 return $this->namespace->getStyle($name);
85 private function createRenderer($style) {
86 switch ($style) {
125 $style = $this->getStyle('notes-separator');
126 if ($style != 'none') {
127 if (!empty($style)) {
128 $style = ' style="width: '. $style . '"';
130 $html = '<hr' . $style . '>' . DOKU_LF;
338 protected function getInlineReferenceStyle($reference, $name, $default) {
339 return ($reference->getAttribute('use-' . $name) === false) ? $default : $this->getStyle($name);
348 $fontStyle = $this->getInlineReferenceStyle($reference, 'reference-font-style', 'normal');
394 $html .= '<a href="#' . $noteName . '" name="' . $referenceName . '" class="' . $class . '">';
426 // Seen this one before - just reference it FIXME: style isn't correct
427 $xmlOdt = '<text:note-ref text:note-class="footnote" text:ref-name="refnote' . $noteId . '">';
441 $nameAttribute = ' name="' . $note->getAnchorName() .'"';
526 return $this->renderFont('reference-font-weight', 'normal', 'reference-font-style');
567 $style = $this->getStyle('reference-group');
568 switch ($style) {
590 if ($idStyle == 'name') {
653 return $this->renderFont('note-id-font-weight', 'normal', 'note-id-font-style');
660 $style = $this->getStyle('note-id-format');
661 switch ($style) {
667 $result = $this->renderFormat($style);
679 if ($idStyle == 'name') {
721 return $this->renderFont('back-ref-font-weight', 'bold', 'back-ref-font-style');
730 $style = $this->getStyle('back-ref-separator');
731 if (!array_key_exists($style, $html)) {
732 $style = '';
735 return $html[$style];
742 $style = $this->getStyle('back-ref-format');
743 switch ($style) {
745 $result = $this->convertToLatin($index + 1, $style);
775 protected function renderBase($style) {
781 if (!array_key_exists($style, $html)) {
782 $style = '';
785 return $html[$style];
791 protected function renderFont($weight, $defaultWeight, $style) {
793 list($styleOpen, $styleClose) = $this->renderFontStyle($this->getStyle($style));
801 protected function renderFontWeight($style, $default) {
807 if (!array_key_exists($style, $html)) {
808 $style = $default;
811 return $html[$style];
817 protected function renderFontStyle($style) {
823 if (!array_key_exists($style, $html)) {
824 $style = '';
827 return $html[$style];
833 protected function renderFormat($style) {
842 if (!array_key_exists($style, $html)) {
843 $style = '';
846 return $html[$style];
852 protected function convertToStyle($id, $style) {
853 switch ($style) {
856 $result = $this->convertToLatin($id, $style);
861 $result = $this->convertToRoman($id, $style);
1281 $style = $this->getStyle('reference-format');
1282 $style = (($style == '[]') || ($style == ']')) ? '[]' : '()';
1284 return $this->renderFormat($style);