include/xmloff/XMLComplexColorContext.hxx | 5 - include/xmloff/XMLComplexColorExport.hxx | 3 include/xmloff/XMLComplexColorHandler.hxx | 3 include/xmloff/xmltoken.hxx | 1 sc/qa/unit/ThemeImportExportTest.cxx | 12 ++ sc/source/filter/xml/xmlstyle.cxx | 51 +++++++++--- sc/source/filter/xml/xmlstyli.cxx | 9 ++ schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng | 17 ++++ solenv/clang-format/excludelist | 2 xmloff/inc/XMLBackgroundImageContext.hxx | 2 xmloff/inc/XMLTextColumnsContext.hxx | 2 xmloff/inc/xmltabi.hxx | 2 xmloff/source/chart/XMLLabelSeparatorContext.hxx | 2 xmloff/source/chart/XMLSymbolImageContext.hxx | 2 xmloff/source/core/xmltoken.cxx | 1 xmloff/source/draw/XMLShapePropertySetContext.cxx | 2 xmloff/source/draw/sdpropls.cxx | 2 xmloff/source/style/XMLElementPropertyContext.cxx | 2 xmloff/source/text/XMLComplexColorContext.cxx | 2 xmloff/source/text/XMLComplexColorExport.cxx | 2 xmloff/source/text/XMLTextPropertySetContext.cxx | 2 xmloff/source/text/XMLTextShapeStyleContext.cxx | 2 xmloff/source/text/txtdropi.hxx | 2 xmloff/source/text/txtexppr.hxx | 2 xmloff/source/text/txtprhdl.cxx | 2 xmloff/source/token/tokens.txt | 1 26 files changed, 103 insertions(+), 32 deletions(-)
New commits: commit dceeb9550dfd4e40e93180b7e10f2539b594529f Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Tue Jul 18 13:23:29 2023 +0900 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Tue Jul 18 15:11:11 2023 +0200 sc: ODF import/export of background cell complex color Change-Id: Idf526aea21ccfeda9b03d1fb69588f120b6e161d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154571 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/include/xmloff/xmltoken.hxx b/include/xmloff/xmltoken.hxx index 1afdf70498a5..3cc97405e511 100644 --- a/include/xmloff/xmltoken.hxx +++ b/include/xmloff/xmltoken.hxx @@ -311,6 +311,7 @@ namespace xmloff::token { XML_BACKFACE_CULLING, XML_BACKGROUND, XML_BACKGROUND_COLOR, + XML_BACKGROUND_COMPLEX_COLOR, XML_BACKGROUND_IMAGE, XML_BACKGROUND_NO_REPEAT, XML_BAR, diff --git a/sc/qa/unit/ThemeImportExportTest.cxx b/sc/qa/unit/ThemeImportExportTest.cxx index b7dcce552d4d..9164d41668f1 100644 --- a/sc/qa/unit/ThemeImportExportTest.cxx +++ b/sc/qa/unit/ThemeImportExportTest.cxx @@ -134,7 +134,7 @@ void checkCellBackgroundThemeColor(ScDocument* pDoc) } } -CPPUNIT_TEST_FIXTURE(ThemeImportExportTest, testCellBackgroundThemeColor) +CPPUNIT_TEST_FIXTURE(ThemeImportExportTest, testCellBackgroundThemeColorOOXML) { loadFromURL(u"xlsx/Test_ThemeColor_Text_Background_Border.xlsx"); checkCellBackgroundThemeColor(getScDoc()); @@ -142,6 +142,16 @@ CPPUNIT_TEST_FIXTURE(ThemeImportExportTest, testCellBackgroundThemeColor) checkCellBackgroundThemeColor(getScDoc()); } +CPPUNIT_TEST_FIXTURE(ThemeImportExportTest, testCellBackgroundThemeColorODF) +{ + // Open the OOXML source + loadFromURL(u"xlsx/Test_ThemeColor_Text_Background_Border.xlsx"); + // Save as ODF and load again - checks import / export cycle + saveAndReload("calc8"); + // Check the values and show that the document is unchanged and all the data preserved + checkCellBackgroundThemeColor(getScDoc()); +} + void checkCellTextThemeColor(ScDocument* pDoc) { // B1 diff --git a/sc/source/filter/xml/xmlstyle.cxx b/sc/source/filter/xml/xmlstyle.cxx index f434432c7671..bb38d305b9a3 100644 --- a/sc/source/filter/xml/xmlstyle.cxx +++ b/sc/source/filter/xml/xmlstyle.cxx @@ -29,6 +29,10 @@ #include <xmloff/families.hxx> #include <xmloff/contextid.hxx> #include <xmloff/txtprmap.hxx> +#include <xmloff/XMLComplexColorHandler.hxx> +#include <xmloff/XMLComplexColorExport.hxx> +#include <docmodel/color/ComplexColor.hxx> +#include <docmodel/uno/UnoComplexColor.hxx> #include <sax/tools/converter.hxx> #include <com/sun/star/util/CellProtection.hpp> #include <com/sun/star/table/CellOrientation.hpp> @@ -36,6 +40,7 @@ #include <com/sun/star/table/CellHoriJustify.hpp> #include <com/sun/star/table/CellJustifyMethod.hpp> #include <com/sun/star/table/BorderLine2.hpp> +#include <com/sun/star/util/XComplexColor.hpp> #include <com/sun/star/sheet/XSheetConditionalEntry.hpp> #include <com/sun/star/sheet/XSheetCondition.hpp> #include <com/sun/star/beans/XPropertySet.hpp> @@ -63,6 +68,7 @@ const XMLPropertyMapEntry aXMLScCellStylesProperties[] = MAP( SC_UNONAME_BOTTBORDER, XML_NAMESPACE_FO, XML_BORDER_BOTTOM, XML_TYPE_PROP_TABLE_CELL|XML_TYPE_BORDER, CTF_SC_BOTTOMBORDER ), MAP( SC_UNONAME_BOTTBORDER, XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH_BOTTOM, XML_TYPE_PROP_TABLE_CELL|XML_TYPE_BORDER_WIDTH, CTF_SC_BOTTOMBORDERWIDTH ), MAP( SC_UNONAME_CELLBACK, XML_NAMESPACE_FO, XML_BACKGROUND_COLOR, XML_TYPE_PROP_TABLE_CELL|XML_TYPE_COLORTRANSPARENT|MID_FLAG_MULTI_PROPERTY|MID_FLAG_MERGE_ATTRIBUTE, 0 ), + MAP_EXT( SC_UNONAME_CELL_BACKGROUND_COMPLEX_COLOR, XML_NAMESPACE_LO_EXT, XML_BACKGROUND_COMPLEX_COLOR, XML_TYPE_PROP_TABLE_CELL|XML_TYPE_COMPLEX_COLOR|MID_FLAG_ELEMENT_ITEM, CTF_COMPLEX_COLOR), MAP( SC_UNONAME_CELLPRO, XML_NAMESPACE_STYLE, XML_CELL_PROTECT, XML_TYPE_PROP_TABLE_CELL|XML_SC_TYPE_CELLPROTECTION|MID_FLAG_MERGE_PROPERTY, 0 ), MAP( SC_UNONAME_CELLPRO, XML_NAMESPACE_STYLE, XML_PRINT_CONTENT, XML_TYPE_PROP_TABLE_CELL|XML_SC_TYPE_PRINTCONTENT|MID_FLAG_MERGE_PROPERTY, 0 ), MAP( SC_UNONAME_CELLSTYL, XML_NAMESPACE_STYLE, XML_STYLE, XML_TYPE_PROP_TABLE_CELL|XML_TYPE_STRING, CTF_SC_CELLSTYLE ), @@ -130,6 +136,7 @@ const XMLPropertyMapEntry aXMLScRowStylesImportProperties[] = MAP( SC_UNONAME_CELLBACK, XML_NAMESPACE_FO, XML_BACKGROUND_COLOR, XML_TYPE_PROP_TABLE_ROW|XML_TYPE_COLORTRANSPARENT|MID_FLAG_MULTI_PROPERTY|MID_FLAG_MERGE_ATTRIBUTE, 0 ), MAP( SC_UNONAME_CELLHGT, XML_NAMESPACE_STYLE, XML_ROW_HEIGHT, XML_TYPE_PROP_TABLE_ROW|XML_TYPE_MEASURE, CTF_SC_ROWHEIGHT), MAP( SC_UNONAME_CELLTRAN, XML_NAMESPACE_FO, XML_BACKGROUND_COLOR, XML_TYPE_PROP_TABLE_ROW|XML_TYPE_ISTRANSPARENT|MID_FLAG_MULTI_PROPERTY|MID_FLAG_MERGE_ATTRIBUTE, 0 ), + MAP_EXT( SC_UNONAME_CELL_BACKGROUND_COMPLEX_COLOR, XML_NAMESPACE_LO_EXT, XML_BACKGROUND_COMPLEX_COLOR, XML_TYPE_PROP_TABLE_ROW|XML_TYPE_COMPLEX_COLOR, CTF_COMPLEX_COLOR ), MAP( SC_UNONAME_MANPAGE, XML_NAMESPACE_FO, XML_BREAK_BEFORE, XML_TYPE_PROP_TABLE_ROW|XML_SC_TYPE_BREAKBEFORE, CTF_SC_ROWBREAKBEFORE), MAP( SC_UNONAME_OHEIGHT, XML_NAMESPACE_STYLE, XML_USE_OPTIMAL_ROW_HEIGHT, XML_TYPE_PROP_TABLE_ROW|XML_TYPE_BOOL, CTF_SC_ROWOPTIMALHEIGHT), MAP_END() @@ -160,6 +167,7 @@ const XMLPropertyMapEntry aXMLScTableStylesImportProperties[] = MAP( SC_UNONAME_CELLBACK, XML_NAMESPACE_FO, XML_BACKGROUND_COLOR, XML_TYPE_PROP_TABLE|XML_TYPE_COLORTRANSPARENT|MID_FLAG_MULTI_PROPERTY|MID_FLAG_MERGE_ATTRIBUTE, 0 ), MAP( SC_UNONAME_CELLTRAN, XML_NAMESPACE_FO, XML_BACKGROUND_COLOR, XML_TYPE_PROP_TABLE|XML_TYPE_ISTRANSPARENT|MID_FLAG_MULTI_PROPERTY|MID_FLAG_MERGE_ATTRIBUTE, 0 ), + MAP_EXT( SC_UNONAME_CELL_BACKGROUND_COMPLEX_COLOR, XML_NAMESPACE_LO_EXT, XML_BACKGROUND_COMPLEX_COLOR, XML_TYPE_PROP_TABLE|XML_TYPE_COMPLEX_COLOR, CTF_COMPLEX_COLOR ), MAP( SC_UNONAME_CELLVIS, XML_NAMESPACE_TABLE, XML_DISPLAY, XML_TYPE_PROP_TABLE|XML_TYPE_BOOL, 0 ), MAP( SC_UNONAME_PAGESTL, XML_NAMESPACE_STYLE, XML_MASTER_PAGE_NAME, XML_TYPE_PROP_TABLE|XML_TYPE_STRING|MID_FLAG_SPECIAL_ITEM, CTF_SC_MASTERPAGENAME ), MAP( SC_UNONAME_TABLAYOUT, XML_NAMESPACE_STYLE, XML_WRITING_MODE, XML_TYPE_PROP_TABLE|XML_TYPE_TEXT_WRITING_MODE, 0 ), @@ -522,6 +530,7 @@ void ScXMLCellExportPropertyMapper::handleSpecialItem( // the SpecialItem ConditionlaFormat must not be handled by this method // the SpecialItem CharBackColor must not be handled by this method } + void ScXMLCellExportPropertyMapper::handleElementItem( SvXMLExport& rExport, const XMLPropertyState& rProperty, @@ -530,18 +539,33 @@ void ScXMLCellExportPropertyMapper::handleElementItem( sal_uInt32 /* nIdx */) const { sal_uInt32 nContextId = getPropertySetMapper()->GetEntryContextId( rProperty.mnIndex ); - OUString sURL; - if ( ( nContextId == CTF_SC_HYPERLINK ) && - ( rProperty.maValue >>= sURL ) && - !sURL.isEmpty() ) + switch (nContextId) { - rExport.AddAttribute( XML_NAMESPACE_XLINK, XML_HREF, sURL ); - rExport.AddAttribute( XML_NAMESPACE_XLINK, XML_TYPE, - XML_SIMPLE ); - sal_uInt32 nPropIndex = rProperty.mnIndex; - sal_uInt16 nPrefix = getPropertySetMapper()->GetEntryNameSpace( nPropIndex ); - OUString sLocalName = getPropertySetMapper()->GetEntryXMLName( nPropIndex ); - SvXMLElementExport aElem( rExport, nPrefix, sLocalName, true, true ); + case CTF_SC_HYPERLINK: + { + OUString sURL; + if ((rProperty.maValue >>= sURL) && !sURL.isEmpty()) + { + rExport.AddAttribute( XML_NAMESPACE_XLINK, XML_HREF, sURL ); + rExport.AddAttribute( XML_NAMESPACE_XLINK, XML_TYPE, + XML_SIMPLE ); + sal_uInt32 nPropIndex = rProperty.mnIndex; + sal_uInt16 nPrefix = getPropertySetMapper()->GetEntryNameSpace( nPropIndex ); + OUString sLocalName = getPropertySetMapper()->GetEntryXMLName( nPropIndex ); + SvXMLElementExport aElem( rExport, nPrefix, sLocalName, true, true ); + } + } + break; + case CTF_COMPLEX_COLOR: + { + XMLComplexColorExport aExport(rExport); + aExport.exportXML(rProperty.maValue, + getPropertySetMapper()->GetEntryNameSpace(rProperty.mnIndex), + getPropertySetMapper()->GetEntryXMLName(rProperty.mnIndex)); + } + break; + default: + break; } } @@ -884,6 +908,11 @@ const XMLPropertyHandler* XMLScPropHdlFactory::GetPropertyHandler( sal_Int32 nTy pHdl = new XmlScPropHdl_Vertical; } break; + case XML_TYPE_COMPLEX_COLOR: + { + pHdl = new XMLComplexColorHandler; + } + break; } if(pHdl) diff --git a/sc/source/filter/xml/xmlstyli.cxx b/sc/source/filter/xml/xmlstyli.cxx index e15840ed3fe5..84812db9d6ac 100644 --- a/sc/source/filter/xml/xmlstyli.cxx +++ b/sc/source/filter/xml/xmlstyli.cxx @@ -28,6 +28,7 @@ #include <com/sun/star/table/BorderLine2.hpp> #include <comphelper/extract.hxx> #include <xmloff/xmlprcon.hxx> +#include <xmloff/XMLComplexColorContext.hxx> #include "XMLTableHeaderFooterContext.hxx" #include "XMLConverter.hxx" #include "XMLTableShapeImportHelper.hxx" @@ -43,6 +44,10 @@ #include <conditio.hxx> #include <rangelst.hxx> +#include <xmloff/xmltypes.hxx> +#include <xmloff/contextid.hxx> +#include <xmloff/txtprmap.hxx> + #define XML_LINE_LEFT 0 #define XML_LINE_RIGHT 1 #define XML_LINE_TOP 2 @@ -319,6 +324,10 @@ css::uno::Reference< css::xml::sax::XFastContextHandler > XMLTableCellPropsConte rProperties.push_back( aProp ); } } + else if (nElement == XML_ELEMENT(LO_EXT, XML_BACKGROUND_COMPLEX_COLOR)) + { + return new XMLComplexColorContext(GetImport(), nElement, xAttrList, rProp, rProperties); + } return SvXMLPropertySetContext::createFastChildContext( nElement, xAttrList, rProperties, rProp ); } diff --git a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng index e927ebb89c01..c7e70f111342 100644 --- a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng +++ b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng @@ -3564,6 +3564,23 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1. </rng:optional> </rng:define> + <!-- TODO no proposal - Document Themes --> + <rng:define name="loext-background-complex-color"> + <rng:element name="loext:background-complex-color"> + <rng:ref name="loext-complex-color-attlist"/> + <rng:zeroOrMore> + <rng:ref name="loext-transformation"/> + </rng:zeroOrMore> + </rng:element> + </rng:define> + + <!-- TODO no proposal - Document Themes--> + <rng:define name="style-table-cell-properties-elements" combine="interleave"> + <rng:optional> + <rng:ref name="loext-background-complex-color"/> + </rng:optional> + </rng:define> + <rng:define name="draw-frame-attlist" combine="interleave"> <!-- TODO(vmiklos) no proposal for multi-page floating tables --> <rng:optional> diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx index a5f3b976560b..ecefb14f20f1 100644 --- a/xmloff/source/core/xmltoken.cxx +++ b/xmloff/source/core/xmltoken.cxx @@ -323,6 +323,7 @@ namespace xmloff::token { TOKEN( "backface-culling", XML_BACKFACE_CULLING ), TOKEN( "background", XML_BACKGROUND ), TOKEN( "background-color", XML_BACKGROUND_COLOR ), + TOKEN( "background-complex-color", XML_BACKGROUND_COMPLEX_COLOR ), TOKEN( "background-image", XML_BACKGROUND_IMAGE ), TOKEN( "no-repeat", XML_BACKGROUND_NO_REPEAT ), TOKEN( "bar", XML_BAR ), diff --git a/xmloff/source/token/tokens.txt b/xmloff/source/token/tokens.txt index 96e88f2ee0c4..1ab7518cd0d2 100644 --- a/xmloff/source/token/tokens.txt +++ b/xmloff/source/token/tokens.txt @@ -228,6 +228,7 @@ back-scale backface-culling background background-color +background-complex-color background-image no-repeat bar commit 2455826917868a5da5ab1bb4586e067d6c968c43 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Tue Jul 18 13:18:11 2023 +0900 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Tue Jul 18 15:11:02 2023 +0200 xmloff: move XMLComplexColor* import/export classes to public include Change-Id: I52aad31f63858eba905481812cbf971493252642 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154570 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/xmloff/inc/XMLComplexColorContext.hxx b/include/xmloff/XMLComplexColorContext.hxx similarity index 87% rename from xmloff/inc/XMLComplexColorContext.hxx rename to include/xmloff/XMLComplexColorContext.hxx index 2d43da23fedd..cbb785994169 100644 --- a/xmloff/inc/XMLComplexColorContext.hxx +++ b/include/xmloff/XMLComplexColorContext.hxx @@ -9,11 +9,12 @@ #pragma once +#include <xmloff/dllapi.h> #include <memory> -#include "XMLElementPropertyContext.hxx" +#include <xmloff/XMLElementPropertyContext.hxx> #include <docmodel/uno/UnoComplexColor.hxx> -class XMLComplexColorContext final : public XMLElementPropertyContext +class XMLOFF_DLLPUBLIC XMLComplexColorContext final : public XMLElementPropertyContext { model::ComplexColor maComplexColor; sal_Int32 mnRootElement; diff --git a/xmloff/inc/XMLComplexColorExport.hxx b/include/xmloff/XMLComplexColorExport.hxx similarity index 90% rename from xmloff/inc/XMLComplexColorExport.hxx rename to include/xmloff/XMLComplexColorExport.hxx index d62e10fd5c1b..28911737ff89 100644 --- a/xmloff/inc/XMLComplexColorExport.hxx +++ b/include/xmloff/XMLComplexColorExport.hxx @@ -8,6 +8,7 @@ */ #pragma once +#include <xmloff/dllapi.h> #include <sal/types.h> #include <rtl/ustring.hxx> @@ -17,7 +18,7 @@ class Any; } class SvXMLExport; -class XMLComplexColorExport +class XMLOFF_DLLPUBLIC XMLComplexColorExport { SvXMLExport& mrExport; diff --git a/xmloff/inc/XMLComplexColorHandler.hxx b/include/xmloff/XMLComplexColorHandler.hxx similarity index 93% rename from xmloff/inc/XMLComplexColorHandler.hxx rename to include/xmloff/XMLComplexColorHandler.hxx index 052b0db6c1d4..8d40c8459f30 100644 --- a/xmloff/inc/XMLComplexColorHandler.hxx +++ b/include/xmloff/XMLComplexColorHandler.hxx @@ -9,12 +9,13 @@ #pragma once +#include <xmloff/dllapi.h> #include <docmodel/uno/UnoComplexColor.hxx> using namespace ::xmloff::token; using namespace css; -class XMLComplexColorHandler : public XMLPropertyHandler +class XMLOFF_DLLPUBLIC XMLComplexColorHandler : public XMLPropertyHandler { public: bool importXML(const OUString& /*rStrImpValue*/, css::uno::Any& /*rValue*/, diff --git a/xmloff/inc/XMLElementPropertyContext.hxx b/include/xmloff/XMLElementPropertyContext.hxx similarity index 100% rename from xmloff/inc/XMLElementPropertyContext.hxx rename to include/xmloff/XMLElementPropertyContext.hxx diff --git a/solenv/clang-format/excludelist b/solenv/clang-format/excludelist index ca49c48b2f2f..ffe9eb7b3e78 100644 --- a/solenv/clang-format/excludelist +++ b/solenv/clang-format/excludelist @@ -6432,6 +6432,7 @@ include/xmloff/SinglePropertySetInfoCache.hxx include/xmloff/XMLBase64ImportContext.hxx include/xmloff/XMLCharContext.hxx include/xmloff/XMLConstantsPropertyHandler.hxx +include/xmloff/XMLElementPropertyContext.hxx include/xmloff/XMLEventExport.hxx include/xmloff/XMLEventsImportContext.hxx include/xmloff/XMLFilterServiceNames.h @@ -15295,7 +15296,6 @@ xmloff/inc/XMLBitmapRepeatOffsetPropertyHandler.hxx xmloff/inc/XMLChartPropertySetMapper.hxx xmloff/inc/XMLChartStyleContext.hxx xmloff/inc/XMLClipPropertyHandler.hxx -xmloff/inc/XMLElementPropertyContext.hxx xmloff/inc/XMLEmbeddedObjectExportFilter.hxx xmloff/inc/XMLEmbeddedObjectImportContext.hxx xmloff/inc/XMLEventImportHelper.hxx diff --git a/xmloff/inc/XMLBackgroundImageContext.hxx b/xmloff/inc/XMLBackgroundImageContext.hxx index ab81cc3cb461..c19032de2d70 100644 --- a/xmloff/inc/XMLBackgroundImageContext.hxx +++ b/xmloff/inc/XMLBackgroundImageContext.hxx @@ -20,7 +20,7 @@ #pragma once #include <com/sun/star/style/GraphicLocation.hpp> -#include "XMLElementPropertyContext.hxx" +#include <xmloff/XMLElementPropertyContext.hxx> namespace com::sun::star { namespace io { class XOutputStream; } diff --git a/xmloff/inc/XMLTextColumnsContext.hxx b/xmloff/inc/XMLTextColumnsContext.hxx index 438f01c3a8ca..e3993b2853a3 100644 --- a/xmloff/inc/XMLTextColumnsContext.hxx +++ b/xmloff/inc/XMLTextColumnsContext.hxx @@ -23,7 +23,7 @@ #include <memory> -#include "XMLElementPropertyContext.hxx" +#include <xmloff/XMLElementPropertyContext.hxx> class XMLTextColumnContext_Impl; class XMLTextColumnSepContext_Impl; diff --git a/xmloff/inc/xmltabi.hxx b/xmloff/inc/xmltabi.hxx index c2e66f1a050d..e5ba010488e2 100644 --- a/xmloff/inc/xmltabi.hxx +++ b/xmloff/inc/xmltabi.hxx @@ -21,7 +21,7 @@ #include <memory> -#include "XMLElementPropertyContext.hxx" +#include <xmloff/XMLElementPropertyContext.hxx> class SvXMLImport; class SvxXMLTabStopContext_Impl; diff --git a/xmloff/source/chart/XMLLabelSeparatorContext.hxx b/xmloff/source/chart/XMLLabelSeparatorContext.hxx index 83e69f01a2ec..17e4d9546132 100644 --- a/xmloff/source/chart/XMLLabelSeparatorContext.hxx +++ b/xmloff/source/chart/XMLLabelSeparatorContext.hxx @@ -18,7 +18,7 @@ */ #pragma once -#include <XMLElementPropertyContext.hxx> +#include <xmloff/XMLElementPropertyContext.hxx> class XMLLabelSeparatorContext : public XMLElementPropertyContext { diff --git a/xmloff/source/chart/XMLSymbolImageContext.hxx b/xmloff/source/chart/XMLSymbolImageContext.hxx index a4796775cd81..9df5dc2307eb 100644 --- a/xmloff/source/chart/XMLSymbolImageContext.hxx +++ b/xmloff/source/chart/XMLSymbolImageContext.hxx @@ -18,7 +18,7 @@ */ #pragma once -#include <XMLElementPropertyContext.hxx> +#include <xmloff/XMLElementPropertyContext.hxx> namespace com::sun::star { namespace io { class XOutputStream; } diff --git a/xmloff/source/draw/XMLShapePropertySetContext.cxx b/xmloff/source/draw/XMLShapePropertySetContext.cxx index 067e1e7d13a4..42cff9db52d8 100644 --- a/xmloff/source/draw/XMLShapePropertySetContext.cxx +++ b/xmloff/source/draw/XMLShapePropertySetContext.cxx @@ -19,7 +19,7 @@ #include <XMLShapePropertySetContext.hxx> #include <XMLTextColumnsContext.hxx> -#include <XMLComplexColorContext.hxx> +#include <xmloff/XMLComplexColorContext.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/xmlnumi.hxx> #include <xmltabi.hxx> diff --git a/xmloff/source/draw/sdpropls.cxx b/xmloff/source/draw/sdpropls.cxx index 7b805165bef8..521032ebfc7f 100644 --- a/xmloff/source/draw/sdpropls.cxx +++ b/xmloff/source/draw/sdpropls.cxx @@ -60,7 +60,7 @@ #include <XMLIsPercentagePropertyHandler.hxx> #include <XMLPercentOrMeasurePropertyHandler.hxx> #include <XMLTextColumnsPropertyHandler.hxx> -#include <XMLComplexColorHandler.hxx> +#include <xmloff/XMLComplexColorHandler.hxx> #include <animations.hxx> #include <sax/tools/converter.hxx> #include <xmlsdtypes.hxx> diff --git a/xmloff/source/style/XMLElementPropertyContext.cxx b/xmloff/source/style/XMLElementPropertyContext.cxx index 6dd9c83ca062..1722375be709 100644 --- a/xmloff/source/style/XMLElementPropertyContext.cxx +++ b/xmloff/source/style/XMLElementPropertyContext.cxx @@ -17,7 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <XMLElementPropertyContext.hxx> +#include <xmloff/XMLElementPropertyContext.hxx> #include <utility> diff --git a/xmloff/source/text/XMLComplexColorContext.cxx b/xmloff/source/text/XMLComplexColorContext.cxx index 3b0a8167ee6e..39b8687cbc51 100644 --- a/xmloff/source/text/XMLComplexColorContext.cxx +++ b/xmloff/source/text/XMLComplexColorContext.cxx @@ -18,7 +18,7 @@ #include <xmloff/xmltoken.hxx> #include <xmloff/xmlement.hxx> #include <xmloff/xmlprhdl.hxx> -#include <XMLComplexColorContext.hxx> +#include <xmloff/XMLComplexColorContext.hxx> using namespace css; using namespace xmloff::token; diff --git a/xmloff/source/text/XMLComplexColorExport.cxx b/xmloff/source/text/XMLComplexColorExport.cxx index c4554ad5ec3b..6d950dff3051 100644 --- a/xmloff/source/text/XMLComplexColorExport.cxx +++ b/xmloff/source/text/XMLComplexColorExport.cxx @@ -7,7 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <XMLComplexColorExport.hxx> +#include <xmloff/XMLComplexColorExport.hxx> #include <sal/config.h> diff --git a/xmloff/source/text/XMLTextPropertySetContext.cxx b/xmloff/source/text/XMLTextPropertySetContext.cxx index 983a4a82773b..bfe18db611cd 100644 --- a/xmloff/source/text/XMLTextPropertySetContext.cxx +++ b/xmloff/source/text/XMLTextPropertySetContext.cxx @@ -20,7 +20,7 @@ #include <tools/debug.hxx> #include "XMLTextPropertySetContext.hxx" #include <XMLTextColumnsContext.hxx> -#include <XMLComplexColorContext.hxx> +#include <xmloff/XMLComplexColorContext.hxx> #include <XMLBackgroundImageContext.hxx> #include "XMLSectionFootnoteConfigImport.hxx" diff --git a/xmloff/source/text/XMLTextShapeStyleContext.cxx b/xmloff/source/text/XMLTextShapeStyleContext.cxx index 9d87a4879c32..729a94211e6a 100644 --- a/xmloff/source/text/XMLTextShapeStyleContext.cxx +++ b/xmloff/source/text/XMLTextShapeStyleContext.cxx @@ -27,8 +27,8 @@ #include <xmloff/XMLEventsImportContext.hxx> #include <XMLShapePropertySetContext.hxx> #include <XMLTextColumnsContext.hxx> -#include <XMLComplexColorContext.hxx> #include <XMLBackgroundImageContext.hxx> +#include <xmloff/XMLComplexColorContext.hxx> #include <xmloff/txtprmap.hxx> #include <xmloff/xmltypes.hxx> #include <xmloff/maptype.hxx> diff --git a/xmloff/source/text/txtdropi.hxx b/xmloff/source/text/txtdropi.hxx index 4a9d24b102ec..832761c95d9e 100644 --- a/xmloff/source/text/txtdropi.hxx +++ b/xmloff/source/text/txtdropi.hxx @@ -19,7 +19,7 @@ #pragma once -#include <XMLElementPropertyContext.hxx> +#include <xmloff/XMLElementPropertyContext.hxx> class XMLTextDropCapImportContext : public XMLElementPropertyContext { diff --git a/xmloff/source/text/txtexppr.hxx b/xmloff/source/text/txtexppr.hxx index 5a3d955e17d1..46af0cb2bfe0 100644 --- a/xmloff/source/text/txtexppr.hxx +++ b/xmloff/source/text/txtexppr.hxx @@ -24,7 +24,7 @@ #include <xmltabe.hxx> #include <XMLTextColumnsExport.hxx> #include <XMLBackgroundImageExport.hxx> -#include <XMLComplexColorExport.hxx> +#include <xmloff/XMLComplexColorExport.hxx> class SvXMLExport; class XMLTextExportPropertySetMapper: public SvXMLExportPropertyMapper diff --git a/xmloff/source/text/txtprhdl.cxx b/xmloff/source/text/txtprhdl.cxx index 165dbb851675..f7c3a9790dda 100644 --- a/xmloff/source/text/txtprhdl.cxx +++ b/xmloff/source/text/txtprhdl.cxx @@ -56,7 +56,7 @@ #include <XMLFillBitmapSizePropertyHandler.hxx> #include <XMLBitmapLogicalSizePropertyHandler.hxx> #include <XMLBitmapRepeatOffsetPropertyHandler.hxx> -#include <XMLComplexColorHandler.hxx> +#include <xmloff/XMLComplexColorHandler.hxx> #include <vcl/graph.hxx> using namespace ::com::sun::star;