Writer2xhtml custom config ui + preparing for EPUB
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@54 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
e0cb22dd2e
commit
a58ea7fa19
26 changed files with 783 additions and 120 deletions
|
@ -69,7 +69,7 @@ public class BatchConverterImpl extends BatchConverterBase {
|
|||
}
|
||||
|
||||
public void readTemplate(InputStream is) throws IOException {
|
||||
template = new XhtmlDocument("Template",XhtmlDocument.XHTML10,-1);
|
||||
template = new XhtmlDocument("Template",XhtmlDocument.XHTML10);
|
||||
try {
|
||||
template.read(is);
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ public class BatchConverterImpl extends BatchConverterBase {
|
|||
|
||||
public OutputFile createIndexFile(String sHeading, IndexPageEntry[] entries) {
|
||||
// Create the index page (with header/footer or from template)
|
||||
XhtmlDocument htmlDoc = new XhtmlDocument("index",XhtmlDocument.XHTML10,0);
|
||||
XhtmlDocument htmlDoc = new XhtmlDocument("index",XhtmlDocument.XHTML10);
|
||||
htmlDoc.setConfig(config);
|
||||
if (template!=null) { htmlDoc.readFromTemplate(template); }
|
||||
else { htmlDoc.createHeaderFooter(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue