Package writer2latex.base
Class ContentEntryImpl
java.lang.Object
writer2latex.base.ContentEntryImpl
- All Implemented Interfaces:
ContentEntry
-
Constructor Summary
ConstructorsConstructorDescriptionContentEntryImpl
(String sTitle, int nLevel, OutputFile file, String sTarget) -
Method Summary
-
Constructor Details
-
ContentEntryImpl
-
-
Method Details
-
getTitle
Description copied from interface:ContentEntry
Get the title for this entry- Specified by:
getTitle
in interfaceContentEntry
- Returns:
- the title
-
getLevel
public int getLevel()Description copied from interface:ContentEntry
Get the outline level of thisContentEntry
. The top level is 1 (entries corresponding to indexes are considered top level). Note that intermediate levels may be missing (e.g. a heading of level 3 may follow immediately after a heading of level 1).- Specified by:
getLevel
in interfaceContentEntry
- Returns:
- the outline level
-
getFile
Description copied from interface:ContentEntry
Get the file associated with the entry- Specified by:
getFile
in interfaceContentEntry
- Returns:
- the output file
-
getTarget
Description copied from interface:ContentEntry
Get the name of a target within the file, if any- Specified by:
getTarget
in interfaceContentEntry
- Returns:
- the target name, or null if no target is needed
-