From de9f9e9aa6d734bf9f7148d3c97e46bd20761ede Mon Sep 17 00:00:00 2001 From: henrikjust Date: Sat, 15 Nov 2014 13:30:41 +0000 Subject: [PATCH] Change export format in w2x toolbar from XHTML+MathML til HTML5 git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@218 f0f2a975-2e09-46c8-9428-3b39399b9f3c --- .project | 17 +++++++++++++++++ source/distro/changelog.txt | 2 ++ .../da/comp/writer2xhtml/Writer2xhtml.java | 4 ++-- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 .project diff --git a/.project b/.project new file mode 100644 index 0000000..248ff7e --- /dev/null +++ b/.project @@ -0,0 +1,17 @@ + + + Writer2LaTeX trunk3 + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + + diff --git a/source/distro/changelog.txt b/source/distro/changelog.txt index 7a0bb93..b5da9e2 100644 --- a/source/distro/changelog.txt +++ b/source/distro/changelog.txt @@ -2,6 +2,8 @@ Changelog for Writer2LaTeX version 1.4 -> 1.6 ---------- version 1.5.2 ---------- +[w2x] Changed export format for toolbar from XHTML+MathML to HTML5 + [w2l] Added new option font to load font packages. It accepts a large number of standard font packages such as cmbright or fourier. Only packages with math support are included. Unknown packages defaults to Computer Modern. The font option is currently not available for the backend xetex. diff --git a/source/java/org/openoffice/da/comp/writer2xhtml/Writer2xhtml.java b/source/java/org/openoffice/da/comp/writer2xhtml/Writer2xhtml.java index 1eedfa9..3f23542 100644 --- a/source/java/org/openoffice/da/comp/writer2xhtml/Writer2xhtml.java +++ b/source/java/org/openoffice/da/comp/writer2xhtml/Writer2xhtml.java @@ -20,7 +20,7 @@ * * All Rights Reserved. * - * Version 1.6 (2014-11-03) + * Version 1.6 (2014-11-15) * */ @@ -58,7 +58,7 @@ public final class Writer2xhtml extends WeakBase private static final String[] m_serviceNames = { __serviceName }; // TODO: These should be configurable - private TargetFormat xhtmlFormat = TargetFormat.xhtml_mathml; + private TargetFormat xhtmlFormat = TargetFormat.html5; private TargetFormat epubFormat = TargetFormat.epub; public Writer2xhtml(XComponentContext xContext) {