Home
last modified time | relevance | path

Searched refs:toc (Results 1 – 25 of 125) sorted by relevance

12345

/plugin/qna/syntax/
H A Dtoc.php82 if (!empty($toc)) {
83 $this->compressToc($toc);
105 $toc = array();
117 $toc[] = $item;
122 return $toc;
131 foreach ($toc as $item) {
140 foreach ($toc as $item) {
157 foreach ($toc as &$item) {
190 $items = count( $toc );
191 $level = $toc[$index]['level'];
[all …]
/plugin/ebookexport/
H A Daction.php56 $tocarray = $Renderer->toc;
156 $toc = "<?xml version='1.0' encoding='utf-8'?>";
158 $toc .= '<head>';
160 $toc .= '<meta content="2" name="dtb:depth"/>';
164 $toc .= '</head>';
165 $toc .= '<docTitle>';
166 $toc .= '<text>Titel</text>';
167 $toc .= '</docTitle>';
168 $toc .= '<navMap>';
173 $toc .= '</navPoint>';
[all …]
/plugin/toctweak/
H A Dhelper.php96 $toc = $INFO['meta']['description']['tableofcontents'];
98 $toc = p_get_metadata($id,'description tableofcontents');
100 if ($toc == null) return array();
103 $toc = $this->_toc($toc, $topLv, $maxLv, $headline);
106 foreach ($toc as &$item) {
119 return $toc;
134 foreach ($toc as $item) {
170 function html_toc(array $toc, ...$params) { argument
179 $toc = $this->_toc($toc, $topLv, $maxLv, $headline);
182 if (count($toc) < $this->getConf('tocminheads')) {
[all …]
H A Dscript.js5 if (typeof(JSINFO.toc) != 'undefined') {
8 $toc[0].setState(JSINFO.toc.initial_state);
/plugin/commonmark/vendor/league/commonmark/src/Extension/TableOfContents/
H A DTableOfContentsGenerator.php72 $toc = $this->createToc($document);
74 $normalizer = $this->getNormalizer($toc);
94 $toc->setStartLine($firstHeading->getStartLine());
95 $toc->setEndLine($heading->getEndLine());
100 $listItem = new ListItem($toc->getListData());
110 if (! $toc->hasChildren() || $firstHeading === null) {
114 return $toc;
129 $toc = new TableOfContents($listData);
131 $toc->setStartLine($document->getStartLine());
132 $toc
142 getNormalizer(TableOfContents $toc) global() argument
[all...]
H A DTableOfContentsBuilder.php48 $toc = $generator->generate($document);
49 if ($toc === null) {
57 $toc->data->append('attributes/class', $class);
63 $document->prependChild($toc);
65 $this->insertBeforeFirstLinkedHeading($document, $toc);
67 $this->replacePlaceholders($document, $toc);
73 private function insertBeforeFirstLinkedHeading(Document $document, TableOfContents $toc): void
82 $node->insertBefore($toc);
90 private function replacePlaceholders(Document $document, TableOfContents $toc): void
98 $node->replaceWith(clone $toc);
94 insertBeforeFirstLinkedHeading(Document $document, TableOfContents $toc) global() argument
106 replacePlaceholders(Document $document, TableOfContents $toc) global() argument
[all...]
/plugin/combo/resources/theme/default/components/css/
H A Dtoc.css1 .toc-cs ul {
4 .toc-cs > ul {
8 .toc-cs li {
13 .toc-cs a {
21 .toc-cs a:not(:hover) {
25 .toc-cs .toc-header-cs {
/plugin/commonmark/vendor/league/commonmark/src/Extension/TableOfContents/Normalizer/
H A DFlatNormalizerStrategy.php22 private TableOfContents $toc; argument
24 public function __construct(TableOfContents $toc)
26 $this->toc = $toc;
31 $this->toc->appendChild($listItemToAdd);
20 private $toc; global() variable in League\\CommonMark\\Extension\\TableOfContents\\Normalizer\\FlatNormalizerStrategy
H A DRelativeNormalizerStrategy.php23 private TableOfContents $toc;
32 public function __construct(TableOfContents $toc)
34 $this->toc = $toc;
58 $targetListBlock = $this->toc;
21 private $toc; global() variable in League\\CommonMark\\Extension\\TableOfContents\\Normalizer\\RelativeNormalizerStrategy
26 __construct(TableOfContents $toc) global() argument
/plugin/html2pdf/html2pdf/html2ps/features/
H A Dtoc.php17 $toc =& $this->find_toc_anchors($pipeline, $media, $document);
18 $this->update_document($toc, $pipeline, $media, $document);
27 $toc =& $this->find_toc_anchors($pipeline, $media, $document);
28 $this->update_page_numbers($toc, $pipeline, $document, $page_heights, $media);
33 $toc =& $locator->run($pipeline, $media, $document);
34 return $toc;
93 function update_document(&$toc, &$pipeline, &$media, &$document) { argument
96 foreach ($toc as $toc_element) {
123 function update_page_numbers(&$toc, &$pipeline, &$document, &$page_heights, &$media) { argument
124 for ($i = 0, $size = count($toc); $i < $size; $i++) {
[all …]
/plugin/combo/resources/theme/default/pages/partials/
H A Dtoc-partial.hbs1 {{#if toc-html}}
2 <nav id="main-toc" class="{{toc-class}}">
3 {{{toc-html}}}
/plugin/offline/
H A Drenderer.php145 if($this->info['toc'] && is_array($this->toc) && count($this->toc) > 2){
147 $TOC = $this->toc;
385 $toc = array();
389 $toc = $TOC;
398 $toc = $meta['description']['tableofcontents'];
399 if(!$tocok || !is_array($toc) || count($toc) < 3){
400 $toc = array();
414 $toc = $plugin->getTOC();
415 $TOC = $toc; // avoid later rebuild
419 $html = html_TOC($toc);
/plugin/ajaxpeon/
H A Daction.php170 …$toc = isset($meta['description']['tableofcontents']) ? $meta['description']['tableofcontents'] : …
171 … if(!$tocok || !is_array($toc) || !$conf['tocminheads'] || count($toc) < $conf['tocminheads']) {
172 $toc = array();
175 trigger_event('TPL_TOC_RENDER', $toc, null, false);
176 $html = html_TOC($toc);
214 function html_TOC($toc){ argument
215 if(!count($toc)) return '';
223 $out .= html_buildlist($toc,'toc','html_list_toc','html_li_default',true);
/plugin/linksuggest/
H A Dscript.js120 'toc': item
127 let toc = item.toc;
128 let title = toc.title ? ' (' + linksuggest_escape(toc.title) + ')' : '';
130 return linksuggest_escape(toc.hid) + title;
135 let toc = item.toc;
142 return '[[' + link + '#' + toc.hid + appendSubtitle(toc
[all...]
/plugin/siteexport/inc/
H A Djavahelp.php35 $toc = new siteexport_toc($this->functions, $this->NS);
36 $toc->debug("### Starting to create TOC Files ###");
53 $toc->debug($lang . " -> " . $data[$i]['id'] );
74 $toc->translation = &$this->translation;
77 $toc->translation = null;
81 $toc->debug("*** Writing for Language rootNode: '".$rootNode."'***");
87 list($tocData, $mapData, $startPageID) = $toc->__getJavaHelpTOCXML($data);
104 $toc->debug("THE END", true);
/plugin/tindexmenu/
H A Dajax.php100 $toc = $meta['description']['tableofcontents'];
102 if (count($toc)>1) {
103 $out .= $this->render_toc($toc);
124 function render_toc($toc){ argument
127 $r->toc = $toc;
131 $out .= html_buildlist($r->toc,'toc',array($this,'_tocitem'));
/plugin/indexmenu/
H A Dajax.php124 render_toc($toc) global() argument
/plugin/odt/ODT/
H A DODTIndex.php70 …ic function replaceIndexesPlaceholders(ODTInternalParams $params, array $indexesData, array $toc) { argument
78 $indexContent = self::buildIndex($params->document, $toc, $data, $index_no+1);
107 protected static function buildIndex(ODTDocument $doc, array $toc, array $settings, $indexNo) { argument
298 … $content .= self::getTOCBody ($toc, $p_styles_auto, $stylesLNames, $max_outline_level, $links);
301 …$content .= self::getChapterIndexBody ($toc, $p_styles_auto, $stylesLNames, $max_outline_level, $l…
327 …protected static function getTOCBody(array $toc, $p_styles, $stylesLNames, $max_outline_level, $li… argument
330 foreach ($toc as $item) {
364 …protected static function getChapterIndexBody(array $toc, $p_styles, $stylesLNames, $max_outline_l… argument
369 foreach ($toc as $item) {
/plugin/toc/
H A Daction.php49 $toc = tpl_toc(true);
50 if ($toc) {
51 … $event->data = str_replace('<!-- TOC -->', '<div class="inlinetoc">'.$toc."</div>", $event->data);
/plugin/inlinetoc/
H A DREADME.md5 This plugin renders the toc of a page inside the page content, a la Mediawiki.
24 on dokuwiki's internal toc processor to build the page's toc.
30 plugin (http://www.dokuwiki.org/plugin:toc)
/plugin/toctweak/action/
H A Drendertoc.php138 $toc = @$INFO['meta']['description']['tableofcontents'] ?: array();
144 $html_toc = $tocTweak->html_toc($toc, $topLv, $maxLv, $headline);
182 $toc = $event->data ?: array(); // data is reference to global $TOC
187 $event->data = $tocTweak->_toc($toc, $topLv, $maxLv, $headline);
217 $toc = @$INFO['meta']['description']['tableofcontents'] ?: array();
223 $html_toc = $tocTweak->html_toc($toc, $topLv, $maxLv, $headline);
/plugin/html2pdf/html2pdf/html2ps/demo/
H A Dhtml2ps.php203 if (isset($_REQUEST['toc'])) {
204 …$pipeline->add_feature('toc', array('location' => isset($_REQUEST['toc-location']) ? $_REQUEST['to…
/plugin/toctweak/syntax/
H A Dmetatoc.php97 $toc = $tocTweak->get_metatoc($id, $topLv, $maxLv, $section);
98 if (empty($toc)) {
99 $toc[] = array( // error entry
118 $html.= html_buildlist($toc, 'toc', array($this, 'html_list_metatoc'));
/plugin/qna/style/
H A Dsymbols.less2 div.qna-toc {
7 span.qna-toc-header * {
11 span.qna-toc-question * {
H A Dmemes.less2 div.qna-toc {
7 span.qna-toc-header * {
11 span.qna-toc-question * {

12345