EPUB meta data, export dialog and style resources
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@81 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
e02f738e85
commit
0dcc851a33
21 changed files with 920 additions and 139 deletions
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Version 1.2 (2010-04-12)
|
||||
* Version 1.2 (2010-12-21)
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -90,6 +90,29 @@ public interface Converter {
|
|||
*/
|
||||
public void readStyleSheet(File file) throws IOException;
|
||||
|
||||
/** Read a resource to <em>include</em> with the converted document.
|
||||
* A resource can be any (binary) file and will be placed in the same directory as
|
||||
* the style sheet
|
||||
*
|
||||
* @param is an <code>InputStream</code> from which to read the resource
|
||||
* @param sFileName the file name to use for the resource
|
||||
* @param sMediaType the media type of the resource
|
||||
* @throws IOException if some exception occurs while reading the resource
|
||||
*/
|
||||
public void readResource(InputStream is, String sFileName, String sMediaType) throws IOException;
|
||||
|
||||
/** Read a style sheet to <em>include</em> with the converted document.
|
||||
* A resource can be any (binary) file and will be placed in the same directory as
|
||||
* the style sheet
|
||||
*
|
||||
* @param file a file from which to read the style sheet
|
||||
* @param sFileName the file name to use for the resource
|
||||
* @param sMediaType the media type of the resource
|
||||
* @throws IOException if the file does not exist or some exception occurs
|
||||
* while reading the resource
|
||||
*/
|
||||
public void readResource(File file, String sFileName, String sMediaType) throws IOException;
|
||||
|
||||
/** Convert a document
|
||||
*
|
||||
* @param is an <code>InputStream</code> from which to read the source document.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue