Writer2xhtml custom config ui + API changes
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@53 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
6c82e57709
commit
e0cb22dd2e
23 changed files with 221 additions and 43 deletions
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Version 1.2 (2010-03-02)
|
||||
* Version 1.2 (2010-03-15)
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -69,7 +69,7 @@ public class BatchConverterImpl extends BatchConverterBase {
|
|||
}
|
||||
|
||||
public void readTemplate(InputStream is) throws IOException {
|
||||
template = new XhtmlDocument("Template",XhtmlDocument.XHTML10);
|
||||
template = new XhtmlDocument("Template",XhtmlDocument.XHTML10,-1);
|
||||
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);
|
||||
XhtmlDocument htmlDoc = new XhtmlDocument("index",XhtmlDocument.XHTML10,0);
|
||||
htmlDoc.setConfig(config);
|
||||
if (template!=null) { htmlDoc.readFromTemplate(template); }
|
||||
else { htmlDoc.createHeaderFooter(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue