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:
henrikjust 2018-03-04 09:57:38 +00:00
parent 1089c408ea
commit 3d079375d1
16 changed files with 44 additions and 44 deletions

View file

@ -1,7 +1,7 @@
Version history for Writer2LaTeX
================================
Version 1.6 beta (August 2015)
Version 1.6 beta (March 2018)
- Writer2LaTex extension:
- New toolbar replacing the previous separate extension Writer4LaTeX
- New feature to insert bibliographic references in Writer directly from BibTeX files

View file

@ -14,5 +14,5 @@ Bugs and feature requests should be reported to
writer2latex (at) gmail.com
July 2015
March 2018
Henrik Just

Binary file not shown.

View file

@ -77,7 +77,7 @@ public final class ApplicationsDialog
// **** Implement XContainerWindowEventHandler
@Override public boolean callHandlerMethod(XWindow xWindow, Object event, String sMethod)
public boolean callHandlerMethod(XWindow xWindow, Object event, String sMethod)
throws com.sun.star.lang.WrappedTargetException {
XDialog xDialog = (XDialog)UnoRuntime.queryInterface(XDialog.class, xWindow);
DialogAccess dlg = new DialogAccess(xDialog);
@ -117,22 +117,22 @@ public final class ApplicationsDialog
return false;
}
@Override public String[] getSupportedMethodNames() {
public String[] getSupportedMethodNames() {
String[] sNames = { "external_event", "AfterExportChange", "ApplicationChange", "BrowseClick", "ExecutableUnfocus", "OptionsUnfocus", "AutomaticClick" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$
return sNames;
}
// **** Implement the interface XServiceInfo
@Override public boolean supportsService(String sServiceName) {
public boolean supportsService(String sServiceName) {
return sServiceName.equals(__serviceName);
}
@Override public String getImplementationName() {
public String getImplementationName() {
return __implementationName;
}
@Override public String[] getSupportedServiceNames() {
public String[] getSupportedServiceNames() {
String[] sSupportedServiceNames = { __serviceName };
return sSupportedServiceNames;
}

View file

@ -111,7 +111,7 @@ public class BibTeXDialog extends DialogBase implements com.sun.star.lang.XIniti
// **** Implement com.sun.star.lang.XInitialization
// We expect to get the current frame and a comma separated list of BibTeX files to use
@Override public void initialize( Object[] objects )
public void initialize( Object[] objects )
throws com.sun.star.uno.Exception {
for (Object object : objects) {
if (object instanceof XFrame) {

View file

@ -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));

View file

@ -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;
}
}

View file

@ -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;
}

View file

@ -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");

View file

@ -47,7 +47,7 @@ public final class Converter extends ConverterBase {
config = new LaTeXConfig();
}
@Override public Config getConfig() {
public Config getConfig() {
return config;
}

View file

@ -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

View file

@ -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;
}

View file

@ -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);
}
};

View file

@ -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;
}

View file

@ -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);
}

View file

@ -1,7 +1,7 @@
Writer2LaTeX source version 1.6 beta
====================================
Writer2LaTeX is (c) 2002-2015 by Henrik Just.
Writer2LaTeX is (c) 2002-2018 by Henrik Just.
The source is available under the terms and conditions of the
GNU LESSER GENERAL PUBLIC LICENSE, version 2.1.
Please see the file COPYING.TXT for details.
@ -124,7 +124,7 @@ In addition to oxt, the build file supports the following targets:
clean
Henrik Just, July 2015
Henrik Just, March 2018
Thanks to Michael Niedermair for writing the original ant build file