From 1b03ca23961c5661adfbcae5fe705001d649ea30 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 16 Mar 2020 13:45:20 +0100 Subject: DOCX import: declare w14 as a supported feature This is needed (but not enough) to support markup like this: Change-Id: I598b0452b5d29624ed0a6795682c29a09fd0dcfe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90564 Reviewed-by: Miklos Vajna Tested-by: Jenkins (cherry picked from commit b0887393ceb0bf283841fe212baf5be3571782b9) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91635 Tested-by: Jenkins CollaboraOffice --- writerfilter/source/ooxml/OOXMLFastContextHandler.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx index be825d2f01d3..906320088987 100644 --- a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx +++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx @@ -116,6 +116,7 @@ bool OOXMLFastContextHandler::prepareMceContext(Token_t nElement, const uno::Ref static const char* aFeatures[] = { "wps", "wpg", + "w14", }; for (const char *p : aFeatures) { -- cgit v1.2.3