Merge "support the glossaryCollection parameter in autopdf."
This commit is contained in:
@@ -915,6 +915,7 @@ public abstract class WebHelpMojo extends AbstractWebhelpMojo {
|
||||
pdfBuilder.setGenerateToc(getProperty("generateToc"));
|
||||
pdfBuilder.setTocMaxDepth(getProperty("tocMaxDepth"));
|
||||
pdfBuilder.setTocSectionDepth(getProperty("tocSectionDepth"));
|
||||
pdfBuilder.setGlossaryCollection(getProperty("glossaryCollection"));
|
||||
|
||||
File srcFilename = new File(this.projectBuildDirectory, "docbkx/"+sourceFile.getName());
|
||||
if(srcFilename.exists()) {
|
||||
|
||||
@@ -122,7 +122,8 @@ public class PDFBuilder {
|
||||
private String generateToc;
|
||||
private String tocMaxDepth;
|
||||
private String tocSectionDepth;
|
||||
|
||||
private String glossaryCollection;
|
||||
|
||||
private String draftStatus;
|
||||
private String statusBarText;
|
||||
private String trimWadlUriCount;
|
||||
@@ -374,7 +375,9 @@ public class PDFBuilder {
|
||||
transformer.setParameter("double.sided", doubleSided);
|
||||
}
|
||||
|
||||
|
||||
if(null != glossaryCollection){
|
||||
transformer.setParameter("glossary.collection", glossaryCollection);
|
||||
}
|
||||
if(null != sectionAutolabel){
|
||||
transformer.setParameter("section.autolabel", sectionAutolabel);
|
||||
}
|
||||
@@ -696,6 +699,15 @@ public class PDFBuilder {
|
||||
this.sectionAutolabel = sectionAutolabel;
|
||||
}
|
||||
|
||||
public String getGlossaryCollection() {
|
||||
return glossaryCollection;
|
||||
}
|
||||
|
||||
public void setGlossaryCollection(String glossaryCollection) {
|
||||
this.glossaryCollection = glossaryCollection;
|
||||
}
|
||||
|
||||
|
||||
public String getSectionLabelIncludesComponentLabel() {
|
||||
return sectionLabelIncludesComponentLabel;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user