Remove erroneous annotations
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@268 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
1089c408ea
commit
3d079375d1
16 changed files with 44 additions and 44 deletions
|
@ -138,7 +138,7 @@ public abstract class BibliographyGenerator {
|
|||
return this;
|
||||
}
|
||||
|
||||
@Override public int compare(Element a, Element b) {
|
||||
public int compare(Element a, Element b) {
|
||||
int nCount = sortKeys.size();
|
||||
for (int i=0; i<nCount; i++) {
|
||||
String sWorda = a.getAttribute("text:"+sortKeys.get(i));
|
||||
|
|
|
@ -150,7 +150,7 @@ public class BinaryGraphicsDocument implements OutputFile {
|
|||
*
|
||||
* @return The document name or URL
|
||||
*/
|
||||
@Override public String getFileName() {
|
||||
public String getFileName() {
|
||||
return sFileName;
|
||||
}
|
||||
|
||||
|
@ -158,7 +158,7 @@ public class BinaryGraphicsDocument implements OutputFile {
|
|||
*
|
||||
* @return The MIME type or null if this is unknown
|
||||
*/
|
||||
@Override public String getMIMEType() {
|
||||
public String getMIMEType() {
|
||||
return sMimeType;
|
||||
}
|
||||
|
||||
|
@ -166,7 +166,7 @@ public class BinaryGraphicsDocument implements OutputFile {
|
|||
*
|
||||
* @return false - a graphics file is never a master document
|
||||
*/
|
||||
@Override public boolean isMasterDocument() {
|
||||
public boolean isMasterDocument() {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -174,7 +174,7 @@ public class BinaryGraphicsDocument implements OutputFile {
|
|||
*
|
||||
* @return false - a graphics file does not contain formulas
|
||||
*/
|
||||
@Override public boolean containsMath() {
|
||||
public boolean containsMath() {
|
||||
return false;
|
||||
}
|
||||
}
|
|
@ -177,7 +177,7 @@ public class DOMDocument implements OutputFile {
|
|||
*
|
||||
* @return The file name of <code>Document</code>.
|
||||
*/
|
||||
@Override public String getFileName() {
|
||||
public String getFileName() {
|
||||
|
||||
return fileName;
|
||||
}
|
||||
|
@ -351,15 +351,15 @@ public class DOMDocument implements OutputFile {
|
|||
}
|
||||
|
||||
// We need these because we implement OutputFile
|
||||
@Override public String getMIMEType() {
|
||||
public String getMIMEType() {
|
||||
return "";
|
||||
}
|
||||
|
||||
@Override public boolean isMasterDocument() {
|
||||
public boolean isMasterDocument() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override public boolean containsMath() {
|
||||
public boolean containsMath() {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -110,23 +110,23 @@ public class BibTeXDocument implements OutputFile {
|
|||
|
||||
// Implement writer2latex.api.OutputFile
|
||||
|
||||
@Override public String getFileName() {
|
||||
public String getFileName() {
|
||||
return new String(sName + FILE_EXTENSION);
|
||||
}
|
||||
|
||||
@Override public String getMIMEType() {
|
||||
public String getMIMEType() {
|
||||
return MIMETypes.BIBTEX;
|
||||
}
|
||||
|
||||
@Override public boolean isMasterDocument() {
|
||||
public boolean isMasterDocument() {
|
||||
return bIsMaster;
|
||||
}
|
||||
|
||||
@Override public boolean containsMath() {
|
||||
public boolean containsMath() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override public void write(OutputStream os) throws IOException {
|
||||
public void write(OutputStream os) throws IOException {
|
||||
// BibTeX files are plain ascii
|
||||
OutputStreamWriter osw = new OutputStreamWriter(os,"ASCII");
|
||||
osw.write("%% This file was converted to BibTeX by Writer2BibTeX ver. "+ConverterFactory.getVersion()+".\n");
|
||||
|
|
|
@ -47,7 +47,7 @@ public final class Converter extends ConverterBase {
|
|||
config = new LaTeXConfig();
|
||||
}
|
||||
|
||||
@Override public Config getConfig() {
|
||||
public Config getConfig() {
|
||||
return config;
|
||||
}
|
||||
|
||||
|
|
|
@ -69,24 +69,24 @@ public class EPUBWriter implements OutputFile {
|
|||
|
||||
// Implement OutputFile
|
||||
|
||||
@Override public String getFileName() {
|
||||
public String getFileName() {
|
||||
return sFileName+".epub";
|
||||
}
|
||||
|
||||
@Override public String getMIMEType() {
|
||||
public String getMIMEType() {
|
||||
return "application/epub+zip";
|
||||
}
|
||||
|
||||
@Override public boolean isMasterDocument() {
|
||||
public boolean isMasterDocument() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override public boolean containsMath() {
|
||||
public boolean containsMath() {
|
||||
// We don't really care about this
|
||||
return nVersion==3;
|
||||
}
|
||||
|
||||
@Override public void write(OutputStream os) throws IOException {
|
||||
public void write(OutputStream os) throws IOException {
|
||||
ZipOutputStream zos = new ZipOutputStream(os);
|
||||
|
||||
// Write uncompressed MIME type as first entry
|
||||
|
|
|
@ -81,19 +81,19 @@ public class LaTeXDocument implements OutputFile {
|
|||
*
|
||||
* @return The <code>Document</code> name with file extension.
|
||||
*/
|
||||
@Override public String getFileName() {
|
||||
public String getFileName() {
|
||||
return new String(sName + FILE_EXTENSION);
|
||||
}
|
||||
|
||||
@Override public String getMIMEType() {
|
||||
public String getMIMEType() {
|
||||
return MIMETypes.LATEX;
|
||||
}
|
||||
|
||||
@Override public boolean isMasterDocument() {
|
||||
public boolean isMasterDocument() {
|
||||
return bIsMaster;
|
||||
}
|
||||
|
||||
@Override public boolean containsMath() {
|
||||
public boolean containsMath() {
|
||||
// We don't use this information currently
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -124,7 +124,7 @@ class AlphabeticalIndexConverter extends IndexConverterHelper {
|
|||
Misc.getAttribute(source,XMLString.FO_LANGUAGE),
|
||||
Misc.getAttribute(source, XMLString.FO_COUNTRY)) {
|
||||
|
||||
@Override public int compare(AlphabeticalEntry a, AlphabeticalEntry b) {
|
||||
public int compare(AlphabeticalEntry a, AlphabeticalEntry b) {
|
||||
return getCollator().compare(a.sWord, b.sWord);
|
||||
}
|
||||
};
|
||||
|
|
|
@ -54,19 +54,19 @@ public class CssDocument implements OutputFile {
|
|||
sContent = "";
|
||||
}
|
||||
|
||||
@Override public String getFileName() {
|
||||
public String getFileName() {
|
||||
return sName;
|
||||
}
|
||||
|
||||
@Override public String getMIMEType() {
|
||||
public String getMIMEType() {
|
||||
return "text/css";
|
||||
}
|
||||
|
||||
@Override public boolean isMasterDocument() {
|
||||
public boolean isMasterDocument() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override public boolean containsMath() {
|
||||
public boolean containsMath() {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -56,23 +56,23 @@ public class ResourceDocument implements OutputFile {
|
|||
|
||||
// Implement OutputFile
|
||||
|
||||
@Override public String getFileName() {
|
||||
public String getFileName() {
|
||||
return sFileName;
|
||||
}
|
||||
|
||||
@Override public String getMIMEType() {
|
||||
public String getMIMEType() {
|
||||
return sMediaType;
|
||||
}
|
||||
|
||||
@Override public boolean isMasterDocument() {
|
||||
public boolean isMasterDocument() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override public boolean containsMath() {
|
||||
public boolean containsMath() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override public void write(OutputStream os) throws IOException {
|
||||
public void write(OutputStream os) throws IOException {
|
||||
os.write(content);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue