Added greenstone tags param

This commit is contained in:
George Litvinov 2016-08-11 17:05:04 +03:00 committed by Georgy Litvinov
parent 8dfefec3f8
commit ca7d63ac18

View file

@ -158,7 +158,7 @@ public class XhtmlConfig extends writer2latex.base.ConfigBase {
private static final int UPLINK = 56;
private static final int DIRECTORY_ICON = 57;
private static final int DOCUMENT_ICON = 58;
private static final int CONVERT_HEADER_AND_FOOTER = 59;
private static final int GREENSTONE_TAGS = 59;
protected ComplexOption xheading = addComplexOption("heading-map");
protected ComplexOption xpar = addComplexOption("paragraph-map");
@ -292,7 +292,7 @@ public class XhtmlConfig extends writer2latex.base.ConfigBase {
options[UPLINK] = new Option("uplink","");
options[DIRECTORY_ICON] = new Option("directory_icon","");
options[DOCUMENT_ICON] = new Option("document_icon","");
options[CONVERT_HEADER_AND_FOOTER] = new BooleanOption("convert_header_footer","false");
options[GREENSTONE_TAGS] = new Option("greenstone_tags","none");
}
protected void readInner(Element elm) {
@ -435,7 +435,7 @@ public class XhtmlConfig extends writer2latex.base.ConfigBase {
public String getXhtmlUplink() { return options[UPLINK].getString(); }
public String getXhtmlDirectoryIcon() { return options[DIRECTORY_ICON].getString(); }
public String getXhtmlDocumentIcon() { return options[DOCUMENT_ICON].getString(); }
public boolean convertHeaderAndFooter() { return ((BooleanOption) options[CONVERT_HEADER_AND_FOOTER]).getValue(); }
public String greenstoneTags() { return options[GREENSTONE_TAGS].getString(); }
public XhtmlStyleMap getXParStyleMap() { return getStyleMap(xpar); }
public XhtmlStyleMap getXHeadingStyleMap() { return getStyleMap(xheading); }