EPUB 3 support

git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@240 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
henrikjust 2015-05-05 08:55:48 +00:00
parent d141619053
commit 9c99999ad1
16 changed files with 154 additions and 64 deletions

View file

@ -16,11 +16,11 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
* Copyright: 2002-2014 by Henrik Just
* Copyright: 2002-2015 by Henrik Just
*
* All Rights Reserved.
*
* Version 1.4 (2014-09-05)
* Version 1.6 (2015-05-05)
*
*/
@ -150,7 +150,7 @@ public class BinaryGraphicsDocument implements OutputFile {
*
* @return The document name or URL
*/
public String getFileName() {
@Override public String getFileName() {
return sFileName;
}
@ -158,7 +158,7 @@ public class BinaryGraphicsDocument implements OutputFile {
*
* @return The MIME type or null if this is unknown
*/
public String getMIMEType() {
@Override public String getMIMEType() {
return sMimeType;
}
@ -166,7 +166,15 @@ public class BinaryGraphicsDocument implements OutputFile {
*
* @return false - a graphics file is never a master document
*/
public boolean isMasterDocument() {
@Override public boolean isMasterDocument() {
return false;
}
/** Does this document contain formulas?
*
* @return false - a graphics file does not contain formulas
*/
@Override public boolean containsMath() {
return false;
}
}

View file

@ -16,11 +16,11 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
* Copyright: 2002-2014 by Henrik Just
* Copyright: 2002-2015 by Henrik Just
*
* All Rights Reserved.
*
* Version 1.4 (2014-08-26)
* Version 1.6 (2015-05-05)
*
*/
@ -177,7 +177,7 @@ public class DOMDocument implements OutputFile {
*
* @return The file name of <code>Document</code>.
*/
public String getFileName() {
@Override public String getFileName() {
return fileName;
}
@ -351,11 +351,15 @@ public class DOMDocument implements OutputFile {
}
// We need these because we implement OutputFile
public String getMIMEType() {
@Override public String getMIMEType() {
return "";
}
public boolean isMasterDocument() {
@Override public boolean isMasterDocument() {
return false;
}
@Override public boolean containsMath() {
return false;
}