[Libreoffice-commits] core.git: writerfilter/source
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Mon Mar 16 13:34:41 UTC 2020
writerfilter/source/ooxml/OOXMLFastContextHandler.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit b0887393ceb0bf283841fe212baf5be3571782b9
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Mon Mar 16 13:45:20 2020 +0100
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Mon Mar 16 14:34:02 2020 +0100
DOCX import: declare w14 as a supported feature
This is needed (but not enough) to support markup like this:
<mc:AlternateContent>
<mc:Choice Requires="w14">
<w:numFmt w:val="custom" w:format="001, 002, 003, ..."/>
</mc:Choice>
<mc:Fallback>
<w:numFmt w:val="decimal"/>
</mc:Fallback>
</mc:AlternateContent>
Change-Id: I598b0452b5d29624ed0a6795682c29a09fd0dcfe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90564
Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
Tested-by: Jenkins
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
index 08292c8d4459..e369705fc5d3 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
@@ -125,6 +125,7 @@ bool OOXMLFastContextHandler::prepareMceContext(Token_t nElement, const uno::Ref
static const char* aFeatures[] = {
"wps",
"wpg",
+ "w14",
};
for (const char *p : aFeatures)
{
More information about the Libreoffice-commits
mailing list