Lines Matching defs:note

58     abstract public function renderNoteText($note);
63 abstract public function renderNote($mode, $note, $reference);
79 $this->noteRenderer = $this->createRenderer($this->getStyle('note-render'));
139 public function renderNoteText($note) {
140 return $this->noteRenderer->renderNoteText($note);
146 public function renderNote($mode, $note, $reference) {
147 return $this->noteRenderer->renderNote($mode, $note, $reference);
276 public function renderNoteText($note) {
277 $data = new refnotes_renderer_data($note->getData());
279 $text = $data->get('note-text', 'title');
295 public function renderNote($mode, $note, $reference) {
300 $doc = $this->renderNoteXhtml($note, $reference);
304 $doc = $this->renderNoteOdt($note, $reference);
314 protected function renderNoteXhtml($note, $reference) {
316 $html .= $this->renderBackReferences($note, $reference);
317 $html .= '<span id="' . $note->getAnchorName() . ':text">' . DOKU_LF;
318 $html .= $note->getText() . DOKU_LF;
329 protected function renderNoteOdt($note, $reference) {
407 $note = $reference->getNote();
408 $noteId = $note->getId();
411 // Check to see if this note has been seen before
414 // new note, add it to the $renderedNoteId array
417 $xmlOdt .= '<text:note text:id="refnote' . $refId . '" text:note-class="footnote">';
418 $xmlOdt .= '<text:note-citation text:label="' . $refId . '">' . $refId . '</text:note-citation>';
419 $xmlOdt .= '<text:note-body>';
420 $xmlOdt .= '<text:p>' . $note->getText();
422 $xmlOdt .= '</text:note-body>';
423 $xmlOdt .= '</text:note>';
427 $xmlOdt = '<text:note-ref text:note-class="footnote" text:ref-name="refnote' . $noteId . '">';
429 $xmlOdt .= '</text:note-ref>';
438 protected function renderBackReferences($note, $reference) {
441 $nameAttribute = ' name="' . $note->getAnchorName() .'"';
448 if (($backRefFormat != 'note') && !empty($backRefFormat)) {
454 $html .= $formatOpen . $this->renderNoteId($note) . $formatClose;
498 switch ($this->getStyle('note-preview')) {
500 $result = 'refnotes-ref note-tooltip';
508 $result = 'refnotes-ref note-popup';
595 case 'note':
614 $result = 'note';
616 switch ($this->getStyle('note-font-size')) {
629 switch ($this->getStyle('note-text-align')) {
646 return $this->renderBase($this->getStyle('note-id-base'));
653 return $this->renderFont('note-id-font-weight', 'normal', 'note-id-font-style');
660 $style = $this->getStyle('note-id-format');
677 protected function renderNoteId($note) {
680 $html = $note->getName();
683 $html = $this->convertToStyle($note->getId(), $idStyle);
958 public function renderNoteText($note) {
959 $data = new refnotes_renderer_data($note->getData());
962 return parent::renderNoteText($note);
1099 if ($pages = $this->renderPages($data, array('note-pages', 'note-page', 'pages', 'page'))) {