Package writer2latex.latex
Class LaTeXConfig
java.lang.Object
writer2latex.base.ConfigBase
writer2latex.latex.LaTeXConfig
- All Implemented Interfaces:
Config
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class writer2latex.base.ConfigBase
optionGroups, options
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a newLaTeXConfig
with default values for all options -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
debug()
boolean
boolean
boolean
int
int
protected String
int
Get a named optionprotected int
int
int
boolean
boolean
boolean
boolean
boolean
int
boolean
boolean
metadata()
boolean
boolean
noIndex()
boolean
int
notes()
boolean
int
int
protected void
Read configuration information from an xml element.boolean
boolean
void
Set a name/value option.boolean
boolean
int
boolean
boolean
boolean
boolean
useColor()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
useIfsym()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
useTipa()
boolean
boolean
boolean
boolean
useUlem()
boolean
protected void
writeInner
(Document dom) Write configuration information to an xml document.Methods inherited from class writer2latex.base.ConfigBase
addComplexOption, getComplexOption, read, read, readDefaultConfig, write, write
-
Field Details
-
GENERIC
public static final int GENERIC- See Also:
-
DVIPS
public static final int DVIPS- See Also:
-
PDFTEX
public static final int PDFTEX- See Also:
-
UNSPECIFIED
public static final int UNSPECIFIED- See Also:
-
XETEX
public static final int XETEX- See Also:
-
IGNORE_ALL
public static final int IGNORE_ALL- See Also:
-
IGNORE_MOST
public static final int IGNORE_MOST- See Also:
-
CONVERT_BASIC
public static final int CONVERT_BASIC- See Also:
-
CONVERT_MOST
public static final int CONVERT_MOST- See Also:
-
CONVERT_ALL
public static final int CONVERT_ALL- See Also:
-
CONVERT_HEADER_FOOTER
public static final int CONVERT_HEADER_FOOTER- See Also:
-
CONVERT_GEOMETRY
public static final int CONVERT_GEOMETRY- See Also:
-
IGNORE
public static final int IGNORE- See Also:
-
ACCEPT
public static final int ACCEPT- See Also:
-
WARNING
public static final int WARNING- See Also:
-
ERROR
public static final int ERROR- See Also:
-
COMMENT
public static final int COMMENT- See Also:
-
PDFANNOTATION
public static final int PDFANNOTATION- See Also:
-
MARGINPAR
public static final int MARGINPAR- See Also:
-
CUSTOM
public static final int CUSTOM- See Also:
-
-
Constructor Details
-
LaTeXConfig
public LaTeXConfig()Construct a newLaTeXConfig
with default values for all options
-
-
Method Details
-
getOptionCount
protected int getOptionCount()- Specified by:
getOptionCount
in classConfigBase
-
getDefaultConfigPath
- Specified by:
getDefaultConfigPath
in classConfigBase
-
setOption
Description copied from interface:Config
Set a name/value option. Options that are not defined by theConverter
implementation as well as null values are silently ignored- Specified by:
setOption
in interfaceConfig
- Overrides:
setOption
in classConfigBase
- Parameters:
sName
- the name of the optionsValue
- the value of the option
-
getOption
Description copied from interface:Config
Get a named option- Specified by:
getOption
in interfaceConfig
- Overrides:
getOption
in classConfigBase
- Parameters:
sName
- the name of the option- Returns:
- the value of the option, or
null
if the option does not exist or the given name is null
-
readInner
Description copied from class:ConfigBase
Read configuration information from an xml element. The subclass must define this to read richer configuration data- Specified by:
readInner
in classConfigBase
-
writeInner
Description copied from class:ConfigBase
Write configuration information to an xml document. The subclass must define this to write richer configuration data- Specified by:
writeInner
in classConfigBase
-
getHeadingMap
-
getParStyleMap
-
getParBlockStyleMap
-
getListStyleMap
-
getListItemStyleMap
-
getTextAttributeStyleMap
-
getTextStyleMap
-
getStringReplace
-
getMathSymbols
-
getCustomPreamble
-
debug
public boolean debug() -
getDocumentclass
-
getGlobalOptions
-
getBackend
public int getBackend() -
getInputencoding
public int getInputencoding() -
multilingual
public boolean multilingual() -
greekMath
public boolean greekMath() -
noPreamble
public boolean noPreamble() -
noIndex
public boolean noIndex() -
useOoomath
public boolean useOoomath() -
usePifont
public boolean usePifont() -
useIfsym
public boolean useIfsym() -
useWasysym
public boolean useWasysym() -
useBbding
public boolean useBbding() -
useEurosym
public boolean useEurosym() -
useTipa
public boolean useTipa() -
useColor
public boolean useColor() -
useColortbl
public boolean useColortbl() -
useGeometry
public boolean useGeometry() -
useFancyhdr
public boolean useFancyhdr() -
useTitlesec
public boolean useTitlesec() -
useTitletoc
public boolean useTitletoc() -
useHyperref
public boolean useHyperref() -
useCaption
public boolean useCaption() -
useLongtable
public boolean useLongtable() -
useSupertabular
public boolean useSupertabular() -
useTabulary
public boolean useTabulary() -
useEndnotes
public boolean useEndnotes() -
useUlem
public boolean useUlem() -
useLastpage
public boolean useLastpage() -
useTitleref
public boolean useTitleref() -
useOooref
public boolean useOooref() -
useBibtex
public boolean useBibtex() -
bibtexStyle
-
externalBibtexFiles
-
zoteroBibtexFiles
-
jabrefBibtexFiles
-
includeOriginalCitations
public boolean includeOriginalCitations() -
useNatbib
public boolean useNatbib() -
getNatbibOptions
-
formatting
public int formatting() -
pageFormatting
public int pageFormatting() -
otherStyles
public int otherStyles() -
imageContent
public int imageContent() -
tableContent
public int tableContent() -
getTableFirstHeadStyle
-
getTableHeadStyle
-
getTableFootStyle
-
getTableLastFootStyle
-
ignoreHardPageBreaks
public boolean ignoreHardPageBreaks() -
ignoreHardLineBreaks
public boolean ignoreHardLineBreaks() -
ignoreEmptyParagraphs
public boolean ignoreEmptyParagraphs() -
ignoreDoubleSpaces
public boolean ignoreDoubleSpaces() -
displayHiddenText
public boolean displayHiddenText() -
alignFrames
public boolean alignFrames() -
floatFigures
public boolean floatFigures() -
floatTables
public boolean floatTables() -
getFloatOptions
-
getFigureSequenceName
-
getTableSequenceName
-
getImageOptions
-
removeGraphicsExtension
public boolean removeGraphicsExtension() -
originalImageSize
public boolean originalImageSize() -
getSimpleTableLimit
public int getSimpleTableLimit() -
notes
public int notes() -
getNotesCommand
-
metadata
public boolean metadata() -
getTabstop
-
getWrapLinesAfter
public int getWrapLinesAfter() -
splitLinkedSections
public boolean splitLinkedSections() -
splitToplevelSections
public boolean splitToplevelSections() -
saveImagesInSubdir
public boolean saveImagesInSubdir()
-