Home | History | Annotate | Download | only in HTML-Toc-0.91

Lines Matching full:toc

2 # function: Insert Table of Contents HTML::Toc, generated by 
5 # both generating and inserting a ToC at the same time.
6 # - 'TIP' is an abbreviation of 'Toc Insertion Point'.
55 # Bias to not insert ToC
127 # Indicate ToC insertion has finished
185 # Parse ToC insertion points
191 # function: Insert ToC in string.
201 # Generate & insert ToC
205 # No, just insert ToC
216 # args: - $aToc: (reference to array of) ToC object(s) to insert.
234 # Generate and insert ToC
238 # No, just insert ToC
247 # function: Parse ToC insertion point specifier.
253 my ($tipPreposition, $tipToken, $toc, $tokenTipParser);
259 foreach $toc (@{$self->{_tocs}}) {
262 '\s+', $toc->{options}{'insertionPoint'}, 2
274 $tipToken = $toc->{options}{'insertionPoint'};
276 # Indicate current ToC to parser
277 $tokenTipParser->setToc($toc);
280 # Parse ToC Insertion Point
289 # function: Check for token being a ToC insertion point (Tip) token and
303 # Bias to token not functioning as a ToC insertion point (Tip) token
305 # Alias ToC insertion point (Tip) array of right type
325 # Process ToC insertion point
327 # Indicate token functions as ToC insertion point
333 # No, tag doesn't match ToC insertion point
338 # Token functions as ToC insertion point?
340 # Yes, token functions as ToC insertion point;
349 #--- HTML::TocInsertor::toc() -------------------------------------------------
350 # function: Toc processing method. Add toc reference to scenario.
351 # args: - $aScenario: Scenario to add ToC reference to.
352 # - $aToc: Reference to ToC to insert.
353 # note: The ToC hasn't been build yet; only a reference to the ToC to be
356 sub toc {
359 # Add toc to scenario
361 } # toc()
365 # function: Process ToC insertion point.
366 # args: - $aTipToken: Reference to token array item which matches the ToC
380 # Replace token with ToC?
383 # Indicate ToC insertion point has been passed
385 # Add ToC reference to scenario reference by calling 'toc' method
386 $self->toc($self->{_scenarioAfterToken}, $tipToc);
392 # Output ToC before token?
394 # Yes, output ToC before token;
395 # Indicate ToC insertion point has been passed
397 # Add ToC reference to scenario reference by calling 'toc' method
398 $self->toc($self->{_scenarioBeforeToken}, $tipToc);
402 # Output ToC after token?
404 # Yes, output ToC after token;
405 # Indicate ToC insertion point has been passed
407 # Add ToC reference to scenario reference by calling 'toc' method
408 $self->toc($self->{_scenarioAfterToken}, $tipToc);
417 # function: Process ToC insertion points
460 #--- HTML::Toc::_resetBatchVariables() ----------------------------------------
468 # in which output must be performed after the first ToC Insertion Point
476 # must trigger the ToC insertion. Each array element may contain a
485 # 1 if ToC insertion point has been passed, 0 if not
487 # Tokens after ToC
504 # Must ToC be parsed?
506 # Yes, ToC must be parsed;
507 # Parse ToC
508 #$self->parse($self->{toc});
509 # Output tokens after ToC
513 # No, ToC needn't be parsed;
523 # No, scene must be reference to HTML::Toc;
524 # Output toc
536 # output because the ToC has to be generated before it can be output.
537 # Only after the entire data has been parsed, the ToC and the
550 # Has ToC insertion point been passed?
552 # Yes, ToC insertion point has been passed;
558 # No, ToC insertion point hasn't been passed;
595 # - $aToc: Reference to ToC to which anchorname belongs.
622 # - $aToc: Reference to ToC to which anchorname belongs.
650 # Processing comment as ToC insertion point is successful?
654 # No, comment isn't a ToC insertion point;
674 # Processing declaration as ToC insertion point is successful?
679 # No, declaration isn't a ToC insertion point;
700 # Processing end tag as ToC insertion point is successful?
704 # No, end tag isn't a ToC insertion point;
713 # function: Insert ToC in string.
714 # args: - $aToc: (reference to array of) ToC object to insert
715 # - $aString: string to insert ToC in
723 # Do insert Toc
732 # args: - $aToc: (reference to array of) ToC object(s) to insert.
750 # function: Process heading number generated by HTML::Toc.
762 # function: Propagate ToC; generate & insert ToC, using file as input.
763 # args: - $aToc: (reference to array of) ToC object to insert
779 # Generate and insert ToC
803 # Must ToC be inserted?
805 # Yes, ToC must be inserted;
806 # Processing start tag as ToC insertion point is successful?
810 # No, start tag isn't a ToC insertion point;
850 # Must ToC be inserted?
852 # Yes, ToC must be inserted;
853 # Processing text as ToC insertion point is successful?
857 # No, text isn't a ToC insertion point;
869 # used as the ToC Insertion Point.
1007 # Set current ToC
1013 # function: Set current ToC.
1018 # Set current ToC