public class OpenXMLOptions extends AbstractOptions
OpenDoc filter have the following options ([+] means default on). Translatable elements:
Constructor and Description |
---|
OpenXMLOptions(java.util.Map<java.lang.String,java.lang.String> options) |
Modifier and Type | Method and Description |
---|---|
boolean |
getAggregateTags()
Returns whether OpenXML tags should be aggregated.
|
boolean |
getBreakOnBr()
Returns whether a new paragraph should be created on "w:br"
|
boolean |
getSpacePreserving()
Returns whether spaces should be preserved for all tags
|
boolean |
getTranslateCharts()
Returns whether Charts should be translated.
|
boolean |
getTranslateComments()
Returns whether Commments should be translated.
|
boolean |
getTranslateDiagrams()
Returns whether Diagrams should be translated.
|
boolean |
getTranslateDocumentProperties()
Returns whether Word document properties should be translated
|
boolean |
getTranslateDrawings()
Returns whether Drawings should be translated.
|
boolean |
getTranslateEndnotes()
Returns whether Endnotes should be translated.
|
boolean |
getTranslateExcelComments()
Returns whether Excel Comments should be translated.
|
boolean |
getTranslateFallbackText() |
boolean |
getTranslateFooters()
Returns whether Footers should be translated.
|
boolean |
getTranslateFootnotes()
Returns whether Footnotes should be translated.
|
boolean |
getTranslateHeaders()
Returns whether Headers should be translated.
|
boolean |
getTranslateHiddenText()
Returns whether Hidden Text should be translated.
|
boolean |
getTranslateLinks()
Returns whether Slide Links should be translated.
|
boolean |
getTranslateSheetNames()
Returns whether Excel Sheet Names should be translated.
|
boolean |
getTranslateSlideComments()
Returns whether Slide Comments should be translated.
|
boolean |
getTranslateSlideLayouts()
Returns whether Slide Layouts should be translated.
|
boolean |
getTranslateSlideLinks()
Deprecated.
use getTranslateLinks()
|
boolean |
getTranslateSlideMasters()
Returns whether Slide Masters should be translated.
|
boolean |
getTranslateWordArt()
Returns whether Word art should be translated.
|
void |
setAggregateTags(boolean aggregateTags)
Sets whether OpenXML tags should be aggregated.
|
void |
setBreakOnBr(boolean breakOnBr)
Sets whether a new paragraph should be created on "w:br"
|
void |
setSpacePreserving(boolean onOff)
Sets whether spaces should be preserved for all tags
|
void |
setTranslateCharts(boolean translateCharts)
Sets whether Charts should be translated.
|
void |
setTranslateComments(boolean translateComments)
Sets whether Comments should be translated.
|
void |
setTranslateDiagrams(boolean translateDiagrams)
Sets whether Diagrams should be translated.
|
void |
setTranslateDocumentProperties(boolean translateDocumentProperties)
Sets whether Word document properties should be translated
|
void |
setTranslateDrawings(boolean translateDrawings)
Sets whether Drawings should be translated.
|
void |
setTranslateEndnotes(boolean translateEndnotes)
Sets whether Footnotes should be translated.
|
void |
setTranslateExcelComments(boolean translateExcelComments)
Sets whether Excel Comments should be translated.
|
void |
setTranslateFallbackText(boolean translateFallbackText)
Sets whether Fallback Text should be translated.
|
void |
setTranslateFooters(boolean translateFooters)
Sets whether Footers should be translated.
|
void |
setTranslateFootnotes(boolean translateFootnotes)
Sets whether Footnotes should be translated.
|
void |
setTranslateHeaders(boolean translateHeaders)
Sets whether Headers should be translated.
|
void |
setTranslateHiddenText(boolean translateHiddenText)
Sets whether Hidden Text should be translated.
|
void |
setTranslateLinks(boolean translateLinks)
Sets whether Slide Links should be translated.
|
void |
setTranslateSheetNames(boolean translateExcelSheetNames)
Sets whether Excel Comments should be translated.
|
void |
setTranslateSlideComments(boolean translateSlideComments)
Sets whether Slide Comments should be translated.
|
void |
setTranslateSlideLayouts(boolean translateSlideLayouts)
Sets whether Slide Layouts should be translated.
|
void |
setTranslateSlideLinks(boolean translateSlideLinks)
Deprecated.
use setTranslateLinks(boolean)
|
void |
setTranslateSlideMasters(boolean translateSlideMasters)
Sets whether Slide Masters should be translated.
|
void |
setTranslateWordArt(boolean translateWordArt)
Sets whether Word art should be translated.
|
getBoolean, getEnum, getOptionsMap, getString, setBoolean, setEnum, setString
public OpenXMLOptions(java.util.Map<java.lang.String,java.lang.String> options)
public boolean getTranslateHiddenText()
public void setTranslateHiddenText(boolean translateHiddenText)
public boolean getTranslateComments()
public void setTranslateComments(boolean translateComments)
public boolean getTranslateFootnotes()
public void setTranslateFootnotes(boolean translateFootnotes)
public boolean getTranslateEndnotes()
public void setTranslateEndnotes(boolean translateEndnotes)
public boolean getTranslateHeaders()
public void setTranslateHeaders(boolean translateHeaders)
public boolean getTranslateFooters()
public void setTranslateFooters(boolean translateFooters)
public boolean getTranslateFallbackText()
public void setTranslateFallbackText(boolean translateFallbackText)
public boolean getTranslateDiagrams()
public void setTranslateDiagrams(boolean translateDiagrams)
public boolean getTranslateExcelComments()
public void setTranslateExcelComments(boolean translateExcelComments)
public boolean getTranslateSheetNames()
public void setTranslateSheetNames(boolean translateExcelSheetNames)
public boolean getTranslateSlideComments()
public void setTranslateSlideComments(boolean translateSlideComments)
public boolean getTranslateSlideMasters()
public void setTranslateSlideMasters(boolean translateSlideMasters)
public boolean getTranslateSlideLayouts()
public void setTranslateSlideLayouts(boolean translateSlideLayouts)
@Deprecated public boolean getTranslateSlideLinks()
@Deprecated public void setTranslateSlideLinks(boolean translateSlideLinks)
translateSlideLinks
- The option to translate external linkspublic boolean getTranslateLinks()
public void setTranslateLinks(boolean translateLinks)
translateSlideLinks
- The option to translate external linkspublic boolean getTranslateCharts()
public void setTranslateCharts(boolean translateCharts)
public boolean getTranslateDrawings()
public void setTranslateDrawings(boolean translateDrawings)
public boolean getTranslateWordArt()
public void setTranslateWordArt(boolean translateWordArt)
public boolean getAggregateTags()
public void setAggregateTags(boolean aggregateTags)
public boolean getSpacePreserving()
public void setSpacePreserving(boolean onOff)
onOff
- The option for space preservingpublic boolean getBreakOnBr()
public void setBreakOnBr(boolean breakOnBr)
breakOnBr
- The option whether to break or notpublic boolean getTranslateDocumentProperties()
public void setTranslateDocumentProperties(boolean translateDocumentProperties)
translateDocumentProperties
- The option whether to translate document properties or not