EPUB export + Writer2LaTeX help content
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@59 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
93d1e472c6
commit
a1102046c3
13 changed files with 532 additions and 81 deletions
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Version 1.2 (2010-03-28)
|
||||
* Version 1.2 (2010-04-13)
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -46,10 +46,13 @@ public class ConverterResultImpl implements ConverterResult {
|
|||
private List<OutputFile> files;
|
||||
|
||||
private List<ContentEntry> content;
|
||||
private ContentEntry titlePageFile;
|
||||
private ContentEntry textFile;
|
||||
private ContentEntry tocFile;
|
||||
private ContentEntry lofFile;
|
||||
private ContentEntry lotFile;
|
||||
private ContentEntry indexFile;
|
||||
private ContentEntry bibliographyFile;
|
||||
|
||||
private MetaData metaData = null;
|
||||
|
||||
|
@ -67,10 +70,13 @@ public class ConverterResultImpl implements ConverterResult {
|
|||
public void reset() {
|
||||
files = new Vector<OutputFile>();
|
||||
content = new Vector<ContentEntry>();
|
||||
titlePageFile = null;
|
||||
textFile = null;
|
||||
tocFile = null;
|
||||
lofFile = null;
|
||||
lotFile = null;
|
||||
indexFile = null;
|
||||
bibliographyFile = null;
|
||||
metaData = null;
|
||||
nMasterCount = 0;
|
||||
}
|
||||
|
@ -119,6 +125,30 @@ public class ConverterResultImpl implements ConverterResult {
|
|||
return Collections.unmodifiableList(content);
|
||||
}
|
||||
|
||||
/** Define the entry which contains the title page
|
||||
*
|
||||
* @param entry the entry
|
||||
*/
|
||||
public void setTitlePageFile(ContentEntry entry) {
|
||||
titlePageFile = entry;
|
||||
}
|
||||
|
||||
public ContentEntry getTitlePageFile() {
|
||||
return titlePageFile;
|
||||
}
|
||||
|
||||
/** Define the entry which contains the main text file
|
||||
*
|
||||
* @param entry the entry
|
||||
*/
|
||||
public void setTextFile(ContentEntry entry) {
|
||||
textFile = entry;
|
||||
}
|
||||
|
||||
public ContentEntry getTextFile() {
|
||||
return textFile;
|
||||
}
|
||||
|
||||
/** Define the entry which contains the table of contents
|
||||
*
|
||||
* @param entry the entry
|
||||
|
@ -167,6 +197,18 @@ public class ConverterResultImpl implements ConverterResult {
|
|||
return indexFile;
|
||||
}
|
||||
|
||||
/** Define the entry which contains the bibliography
|
||||
*
|
||||
* @param entry the entry
|
||||
*/
|
||||
public void setBibliographyFile(ContentEntry entry) {
|
||||
bibliographyFile = entry;
|
||||
}
|
||||
|
||||
public ContentEntry getBibliographyFile() {
|
||||
return bibliographyFile;
|
||||
}
|
||||
|
||||
/** Set the meta data of this <code>ConverterResult</code>
|
||||
*
|
||||
* @param metaData the meta data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue