diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2021-05-05 04:06:41 +1000 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-06-15 09:25:10 +0200 |
commit | 21405a65c3056fe8c827f3999e5c79f6083d8229 (patch) | |
tree | 6322496968521d1fcc3fc0eb84c55b2481b7e67a | |
parent | 4bb8c8c41f95383839a3d532e39c2353a3d8d275 (diff) |
vcl: outdevmap.hxx -> rendercontext/ImplMapRes.hxx
Change-Id: I96e191999e43e1a4203d548eeacd386ed883cd8b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115368
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
22 files changed, 341 insertions, 84 deletions
diff --git a/accessibility/inc/pch/precompiled_acc.hxx b/accessibility/inc/pch/precompiled_acc.hxx index 50e9f0059f7d..00b8a7fd98a0 100644 --- a/accessibility/inc/pch/precompiled_acc.hxx +++ b/accessibility/inc/pch/precompiled_acc.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2021-04-08 13:55:33 using: + Generated on 2021-05-14 22:14:17 using: ./bin/update_pch accessibility acc --cutoff=4 --exclude:system --include:module --include:local If after updating build fails, use the following command to locate conflicting headers: @@ -23,6 +23,7 @@ #include <sal/config.h> #if PCH_LEVEL >= 1 #include <algorithm> +#include <array> #include <assert.h> #include <atomic> #include <cassert> @@ -42,6 +43,7 @@ #include <math.h> #include <memory> #include <new> +#include <numeric> #include <optional> #include <ostream> #include <stddef.h> @@ -106,6 +108,7 @@ #include <vcl/event.hxx> #include <vcl/fntstyle.hxx> #include <vcl/font.hxx> +#include <vcl/gradient.hxx> #include <vcl/idle.hxx> #include <vcl/image.hxx> #include <vcl/keycod.hxx> @@ -114,10 +117,19 @@ #include <vcl/menu.hxx> #include <vcl/metaactiontypes.hxx> #include <vcl/outdev.hxx> -#include <vcl/outdevmap.hxx> #include <vcl/outdevstate.hxx> #include <vcl/quickselectionengine.hxx> #include <vcl/region.hxx> +#include <vcl/rendercontext/AddFontSubstituteFlags.hxx> +#include <vcl/rendercontext/AntialiasingFlags.hxx> +#include <vcl/rendercontext/DrawGridFlags.hxx> +#include <vcl/rendercontext/DrawImageFlags.hxx> +#include <vcl/rendercontext/DrawModeFlags.hxx> +#include <vcl/rendercontext/DrawTextFlags.hxx> +#include <vcl/rendercontext/GetDefaultFontFlags.hxx> +#include <vcl/rendercontext/ImplMapRes.hxx> +#include <vcl/rendercontext/InvertFlags.hxx> +#include <vcl/rendercontext/SalLayoutFlags.hxx> #include <vcl/salgtype.hxx> #include <vcl/salnativewidgets.hxx> #include <vcl/scopedbitmapaccess.hxx> @@ -285,6 +297,7 @@ #include <o3tl/strong_int.hxx> #include <o3tl/typed_flags_set.hxx> #include <o3tl/underlyingenumvalue.hxx> +#include <o3tl/unit_conversion.hxx> #include <salhelper/salhelperdllapi.h> #include <salhelper/simplereferenceobject.hxx> #include <sot/exchange.hxx> diff --git a/basctl/inc/pch/precompiled_basctl.hxx b/basctl/inc/pch/precompiled_basctl.hxx index 8644323b3bf1..4e41b97239d7 100644 --- a/basctl/inc/pch/precompiled_basctl.hxx +++ b/basctl/inc/pch/precompiled_basctl.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2021-04-11 19:47:41 using: + Generated on 2021-05-14 22:14:43 using: ./bin/update_pch basctl basctl --cutoff=3 --exclude:system --include:module --exclude:local If after updating build fails, use the following command to locate conflicting headers: @@ -23,6 +23,7 @@ #include <sal/config.h> #if PCH_LEVEL >= 1 #include <algorithm> +#include <array> #include <assert.h> #include <atomic> #include <cassert> @@ -44,6 +45,7 @@ #include <math.h> #include <memory> #include <new> +#include <numeric> #include <optional> #include <ostream> #include <set> @@ -123,6 +125,7 @@ #include <vcl/formatter.hxx> #include <vcl/gdimtf.hxx> #include <vcl/gfxlink.hxx> +#include <vcl/gradient.hxx> #include <vcl/graph.hxx> #include <vcl/idle.hxx> #include <vcl/image.hxx> @@ -133,10 +136,19 @@ #include <vcl/metaactiontypes.hxx> #include <vcl/metric.hxx> #include <vcl/outdev.hxx> -#include <vcl/outdevmap.hxx> #include <vcl/outdevstate.hxx> #include <vcl/prntypes.hxx> #include <vcl/region.hxx> +#include <vcl/rendercontext/AddFontSubstituteFlags.hxx> +#include <vcl/rendercontext/AntialiasingFlags.hxx> +#include <vcl/rendercontext/DrawGridFlags.hxx> +#include <vcl/rendercontext/DrawImageFlags.hxx> +#include <vcl/rendercontext/DrawModeFlags.hxx> +#include <vcl/rendercontext/DrawTextFlags.hxx> +#include <vcl/rendercontext/GetDefaultFontFlags.hxx> +#include <vcl/rendercontext/ImplMapRes.hxx> +#include <vcl/rendercontext/InvertFlags.hxx> +#include <vcl/rendercontext/SalLayoutFlags.hxx> #include <vcl/salgtype.hxx> #include <vcl/salnativewidgets.hxx> #include <vcl/scopedbitmapaccess.hxx> @@ -369,10 +381,12 @@ #include <o3tl/cow_wrapper.hxx> #include <o3tl/deleter.hxx> #include <o3tl/enumarray.hxx> +#include <o3tl/safeint.hxx> #include <o3tl/sorted_vector.hxx> #include <o3tl/strong_int.hxx> #include <o3tl/typed_flags_set.hxx> #include <o3tl/underlyingenumvalue.hxx> +#include <o3tl/unit_conversion.hxx> #include <salhelper/salhelperdllapi.h> #include <salhelper/simplereferenceobject.hxx> #include <sfx2/app.hxx> diff --git a/basic/inc/pch/precompiled_sb.hxx b/basic/inc/pch/precompiled_sb.hxx index 711267924512..450e386e5f19 100644 --- a/basic/inc/pch/precompiled_sb.hxx +++ b/basic/inc/pch/precompiled_sb.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2021-04-08 13:55:34 using: + Generated on 2021-05-14 22:14:54 using: ./bin/update_pch basic sb --cutoff=2 --exclude:system --exclude:module --include:local If after updating build fails, use the following command to locate conflicting headers: @@ -58,9 +58,18 @@ #include <vcl/mapmod.hxx> #include <vcl/metaactiontypes.hxx> #include <vcl/outdev.hxx> -#include <vcl/outdevmap.hxx> #include <vcl/outdevstate.hxx> #include <vcl/region.hxx> +#include <vcl/rendercontext/AddFontSubstituteFlags.hxx> +#include <vcl/rendercontext/AntialiasingFlags.hxx> +#include <vcl/rendercontext/DrawGridFlags.hxx> +#include <vcl/rendercontext/DrawImageFlags.hxx> +#include <vcl/rendercontext/DrawModeFlags.hxx> +#include <vcl/rendercontext/DrawTextFlags.hxx> +#include <vcl/rendercontext/GetDefaultFontFlags.hxx> +#include <vcl/rendercontext/ImplMapRes.hxx> +#include <vcl/rendercontext/InvertFlags.hxx> +#include <vcl/rendercontext/SalLayoutFlags.hxx> #include <vcl/salnativewidgets.hxx> #include <vcl/settings.hxx> #include <vcl/svapp.hxx> @@ -81,12 +90,12 @@ #include <com/sun/star/uno/Sequence.hxx> #include <comphelper/processfactory.hxx> #include <comphelper/string.hxx> +#include <cppuhelper/weakref.hxx> #include <i18nlangtag/lang.h> #include <o3tl/char16_t2wchar_t.hxx> #include <o3tl/cow_wrapper.hxx> #include <o3tl/float_int_conversion.hxx> #include <o3tl/safeint.hxx> -#include <o3tl/typed_flags_set.hxx> #include <svl/SfxBroadcaster.hxx> #include <svl/zforlist.hxx> #include <tools/color.hxx> diff --git a/chart2/inc/pch/precompiled_chartcontroller.hxx b/chart2/inc/pch/precompiled_chartcontroller.hxx index c46cf92cb06a..d0bc11c96946 100644 --- a/chart2/inc/pch/precompiled_chartcontroller.hxx +++ b/chart2/inc/pch/precompiled_chartcontroller.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2021-04-11 19:47:43 using: + Generated on 2021-05-14 22:15:13 using: ./bin/update_pch chart2 chartcontroller --cutoff=6 --exclude:system --include:module --include:local If after updating build fails, use the following command to locate conflicting headers: @@ -23,6 +23,7 @@ #include <sal/config.h> #if PCH_LEVEL >= 1 #include <algorithm> +#include <array> #include <cassert> #include <cmath> #include <cstddef> @@ -40,6 +41,7 @@ #include <math.h> #include <memory> #include <new> +#include <numeric> #include <optional> #include <ostream> #include <set> @@ -112,6 +114,7 @@ #include <vcl/font.hxx> #include <vcl/gdimtf.hxx> #include <vcl/gfxlink.hxx> +#include <vcl/gradient.hxx> #include <vcl/graph.hxx> #include <vcl/idle.hxx> #include <vcl/image.hxx> @@ -120,9 +123,18 @@ #include <vcl/mapmod.hxx> #include <vcl/metaactiontypes.hxx> #include <vcl/outdev.hxx> -#include <vcl/outdevmap.hxx> #include <vcl/outdevstate.hxx> #include <vcl/region.hxx> +#include <vcl/rendercontext/AddFontSubstituteFlags.hxx> +#include <vcl/rendercontext/AntialiasingFlags.hxx> +#include <vcl/rendercontext/DrawGridFlags.hxx> +#include <vcl/rendercontext/DrawImageFlags.hxx> +#include <vcl/rendercontext/DrawModeFlags.hxx> +#include <vcl/rendercontext/DrawTextFlags.hxx> +#include <vcl/rendercontext/GetDefaultFontFlags.hxx> +#include <vcl/rendercontext/ImplMapRes.hxx> +#include <vcl/rendercontext/InvertFlags.hxx> +#include <vcl/rendercontext/SalLayoutFlags.hxx> #include <vcl/salnativewidgets.hxx> #include <vcl/scopedbitmapaccess.hxx> #include <vcl/settings.hxx> @@ -207,6 +219,7 @@ #include <com/sun/star/form/FormComponentType.hpp> #include <com/sun/star/frame/XFrame.hpp> #include <com/sun/star/frame/XModel.hpp> +#include <com/sun/star/frame/XModel3.hpp> #include <com/sun/star/frame/XStatusListener.hpp> #include <com/sun/star/frame/XToolbarController.hpp> #include <com/sun/star/graphic/XPrimitive2D.hpp> @@ -310,10 +323,14 @@ #include <o3tl/cow_wrapper.hxx> #include <o3tl/deleter.hxx> #include <o3tl/enumarray.hxx> +#include <o3tl/safeint.hxx> #include <o3tl/sorted_vector.hxx> #include <o3tl/strong_int.hxx> #include <o3tl/typed_flags_set.hxx> #include <o3tl/underlyingenumvalue.hxx> +#include <o3tl/unit_conversion.hxx> +#include <salhelper/salhelperdllapi.h> +#include <salhelper/simplereferenceobject.hxx> #include <sfx2/basedlgs.hxx> #include <sfx2/dllapi.h> #include <sfx2/shell.hxx> diff --git a/cui/inc/pch/precompiled_cui.hxx b/cui/inc/pch/precompiled_cui.hxx index ee4aefdce761..d2c8659c9fa6 100644 --- a/cui/inc/pch/precompiled_cui.hxx +++ b/cui/inc/pch/precompiled_cui.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2021-04-11 19:47:48 using: + Generated on 2021-05-14 22:15:22 using: ./bin/update_pch cui cui --cutoff=8 --exclude:system --include:module --exclude:local If after updating build fails, use the following command to locate conflicting headers: @@ -42,6 +42,7 @@ #include <math.h> #include <memory> #include <new> +#include <numeric> #include <optional> #include <ostream> #include <set> @@ -116,6 +117,7 @@ #include <vcl/fntstyle.hxx> #include <vcl/font.hxx> #include <vcl/gfxlink.hxx> +#include <vcl/gradient.hxx> #include <vcl/graph.hxx> #include <vcl/idle.hxx> #include <vcl/image.hxx> @@ -127,9 +129,18 @@ #include <vcl/metaactiontypes.hxx> #include <vcl/metric.hxx> #include <vcl/outdev.hxx> -#include <vcl/outdevmap.hxx> #include <vcl/outdevstate.hxx> #include <vcl/region.hxx> +#include <vcl/rendercontext/AddFontSubstituteFlags.hxx> +#include <vcl/rendercontext/AntialiasingFlags.hxx> +#include <vcl/rendercontext/DrawGridFlags.hxx> +#include <vcl/rendercontext/DrawImageFlags.hxx> +#include <vcl/rendercontext/DrawModeFlags.hxx> +#include <vcl/rendercontext/DrawTextFlags.hxx> +#include <vcl/rendercontext/GetDefaultFontFlags.hxx> +#include <vcl/rendercontext/ImplMapRes.hxx> +#include <vcl/rendercontext/InvertFlags.hxx> +#include <vcl/rendercontext/SalLayoutFlags.hxx> #include <vcl/salctype.hxx> #include <vcl/salnativewidgets.hxx> #include <vcl/scopedbitmapaccess.hxx> @@ -273,11 +284,15 @@ #include <o3tl/cow_wrapper.hxx> #include <o3tl/deleter.hxx> #include <o3tl/enumarray.hxx> +#include <o3tl/safeint.hxx> #include <o3tl/sorted_vector.hxx> #include <o3tl/strong_int.hxx> #include <o3tl/typed_flags_set.hxx> #include <o3tl/underlyingenumvalue.hxx> +#include <o3tl/unit_conversion.hxx> #include <officecfg/Office/Common.hxx> +#include <salhelper/salhelperdllapi.h> +#include <salhelper/simplereferenceobject.hxx> #include <salhelper/thread.hxx> #include <sfx2/app.hxx> #include <sfx2/basedlgs.hxx> diff --git a/dbaccess/inc/pch/precompiled_dbu.hxx b/dbaccess/inc/pch/precompiled_dbu.hxx index 56765b9de5c4..00d2edff1c4b 100644 --- a/dbaccess/inc/pch/precompiled_dbu.hxx +++ b/dbaccess/inc/pch/precompiled_dbu.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2021-04-11 19:47:50 using: + Generated on 2021-05-14 22:15:31 using: ./bin/update_pch dbaccess dbu --cutoff=12 --exclude:system --exclude:module --exclude:local If after updating build fails, use the following command to locate conflicting headers: @@ -71,21 +71,34 @@ #include <sal/types.h> #include <vcl/IDialogRenderable.hxx> #include <vcl/InterimItemWindow.hxx> +#include <vcl/Scanline.hxx> +#include <vcl/alpha.hxx> #include <vcl/bitmap.hxx> +#include <vcl/bitmapex.hxx> #include <vcl/cairo.hxx> #include <vcl/ctrl.hxx> #include <vcl/devicecoordinate.hxx> #include <vcl/dllapi.h> #include <vcl/event.hxx> #include <vcl/font.hxx> +#include <vcl/gradient.hxx> #include <vcl/idle.hxx> #include <vcl/keycodes.hxx> #include <vcl/mapmod.hxx> #include <vcl/metaactiontypes.hxx> #include <vcl/outdev.hxx> -#include <vcl/outdevmap.hxx> #include <vcl/outdevstate.hxx> #include <vcl/region.hxx> +#include <vcl/rendercontext/AddFontSubstituteFlags.hxx> +#include <vcl/rendercontext/AntialiasingFlags.hxx> +#include <vcl/rendercontext/DrawGridFlags.hxx> +#include <vcl/rendercontext/DrawImageFlags.hxx> +#include <vcl/rendercontext/DrawModeFlags.hxx> +#include <vcl/rendercontext/DrawTextFlags.hxx> +#include <vcl/rendercontext/GetDefaultFontFlags.hxx> +#include <vcl/rendercontext/ImplMapRes.hxx> +#include <vcl/rendercontext/InvertFlags.hxx> +#include <vcl/rendercontext/SalLayoutFlags.hxx> #include <vcl/salnativewidgets.hxx> #include <vcl/settings.hxx> #include <vcl/svapp.hxx> @@ -108,6 +121,7 @@ #include <com/sun/star/beans/NamedValue.hpp> #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/beans/XPropertySet.hpp> +#include <com/sun/star/container/XIndexAccess.hpp> #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/datatransfer/DataFlavor.hpp> #include <com/sun/star/datatransfer/XTransferable2.hpp> @@ -172,7 +186,7 @@ #include <cppuhelper/implbase.hxx> #include <cppuhelper/implbase_ex.hxx> #include <cppuhelper/weak.hxx> -#include <o3tl/cow_wrapper.hxx> +#include <cppuhelper/weakref.hxx> #include <o3tl/typed_flags_set.hxx> #include <salhelper/simplereferenceobject.hxx> #include <salhelper/singletonref.hxx> @@ -190,6 +204,7 @@ #include <svx/svxdllapi.h> #include <toolkit/helper/vclunohelper.hxx> #include <tools/color.hxx> +#include <tools/degree.hxx> #include <tools/diagnose_ex.h> #include <tools/gen.hxx> #include <tools/globname.hxx> @@ -209,11 +224,12 @@ #include <unotools/unotoolsdllapi.h> #endif // PCH_LEVEL >= 3 #if PCH_LEVEL >= 4 +#include <ConnectionLineData.hxx> #include <FieldDescriptions.hxx> #include <IClipBoardTest.hxx> #include <QEnumTypes.hxx> #include <TableConnectionData.hxx> -#include <TableFieldDescription.hxx> +#include <TableWindowData.hxx> #include <TypeInfo.hxx> #include <UITools.hxx> #include <browserids.hxx> diff --git a/framework/inc/pch/precompiled_fwk.hxx b/framework/inc/pch/precompiled_fwk.hxx index eff8c315182c..45cb3cfddce5 100644 --- a/framework/inc/pch/precompiled_fwk.hxx +++ b/framework/inc/pch/precompiled_fwk.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2021-04-08 13:55:51 using: + Generated on 2021-05-14 22:15:48 using: ./bin/update_pch framework fwk --cutoff=7 --exclude:system --include:module --include:local If after updating build fails, use the following command to locate conflicting headers: @@ -23,6 +23,7 @@ #include <sal/config.h> #if PCH_LEVEL >= 1 #include <algorithm> +#include <array> #include <cassert> #include <chrono> #include <cmath> @@ -38,6 +39,7 @@ #include <math.h> #include <memory> #include <new> +#include <numeric> #include <optional> #include <ostream> #include <stddef.h> @@ -96,12 +98,22 @@ #include <vcl/dllapi.h> #include <vcl/fntstyle.hxx> #include <vcl/font.hxx> +#include <vcl/gradient.hxx> #include <vcl/mapmod.hxx> #include <vcl/menu.hxx> #include <vcl/metaactiontypes.hxx> -#include <vcl/outdevmap.hxx> #include <vcl/outdevstate.hxx> #include <vcl/region.hxx> +#include <vcl/rendercontext/AddFontSubstituteFlags.hxx> +#include <vcl/rendercontext/AntialiasingFlags.hxx> +#include <vcl/rendercontext/DrawGridFlags.hxx> +#include <vcl/rendercontext/DrawImageFlags.hxx> +#include <vcl/rendercontext/DrawModeFlags.hxx> +#include <vcl/rendercontext/DrawTextFlags.hxx> +#include <vcl/rendercontext/GetDefaultFontFlags.hxx> +#include <vcl/rendercontext/ImplMapRes.hxx> +#include <vcl/rendercontext/InvertFlags.hxx> +#include <vcl/rendercontext/SalLayoutFlags.hxx> #include <vcl/salnativewidgets.hxx> #include <vcl/scopedbitmapaccess.hxx> #include <vcl/settings.hxx> @@ -230,9 +242,11 @@ #include <i18nlangtag/lang.h> #include <i18nlangtag/languagetag.hxx> #include <o3tl/cow_wrapper.hxx> +#include <o3tl/safeint.hxx> #include <o3tl/strong_int.hxx> #include <o3tl/typed_flags_set.hxx> #include <o3tl/underlyingenumvalue.hxx> +#include <o3tl/unit_conversion.hxx> #include <officecfg/Office/Common.hxx> #include <salhelper/salhelperdllapi.h> #include <salhelper/thread.hxx> diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index 7c5f28455b25..ac688f5f2556 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -38,6 +38,7 @@ #include <vcl/rendercontext/DrawModeFlags.hxx> #include <vcl/rendercontext/DrawTextFlags.hxx> #include <vcl/rendercontext/GetDefaultFontFlags.hxx> +#include <vcl/rendercontext/ImplMapRes.hxx> #include <vcl/rendercontext/InvertFlags.hxx> #include <vcl/rendercontext/SalLayoutFlags.hxx> #include <vcl/mapmod.hxx> @@ -45,7 +46,6 @@ #include <vcl/metaactiontypes.hxx> #include <vcl/salnativewidgets.hxx> #include <vcl/outdevstate.hxx> -#include <vcl/outdevmap.hxx> #include <vcl/vclreferencebase.hxx> #include <basegfx/numeric/ftools.hxx> diff --git a/include/vcl/outdevmap.hxx b/include/vcl/rendercontext/ImplMapRes.hxx index 3ab15a2a29ff..8b7ee842b3ac 100644 --- a/include/vcl/outdevmap.hxx +++ b/include/vcl/rendercontext/ImplMapRes.hxx @@ -1,4 +1,4 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ /* * This file is part of the LibreOffice project. * @@ -17,31 +17,20 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_OUTDEVMAP_HXX -#define INCLUDED_VCL_OUTDEVMAP_HXX +#pragma once #include <tools/long.hxx> struct ImplMapRes { - tools::Long mnMapOfsX; // Offset in X direction - tools::Long mnMapOfsY; // Offset in Y direction - tools::Long mnMapScNumX; // Scaling factor - numerator in X direction - tools::Long mnMapScNumY; // Scaling factor - numerator in Y direction - tools::Long mnMapScDenomX; // Scaling factor - denominator in X direction - tools::Long mnMapScDenomY; // Scaling factor - denominator in Y direction + ImplMapRes(); - ImplMapRes() - : mnMapOfsX(0) - , mnMapOfsY(0) - , mnMapScNumX(1) - , mnMapScNumY(1) - , mnMapScDenomX(1) - , mnMapScDenomY(1) - { - } + tools::Long mnMapOfsX; ///< Offset in X direction + tools::Long mnMapOfsY; ///< Offset in Y direction + tools::Long mnMapScNumX; ///< Scaling factor - numerator in X direction + tools::Long mnMapScNumY; ///< Scaling factor - numerator in Y direction + tools::Long mnMapScDenomX; ///< Scaling factor - denominator in X direction + tools::Long mnMapScDenomY; ///< Scaling factor - denominator in Y direction }; -#endif // INCLUDED_VCL_OUTDEVMAP_HXX - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/oox/inc/pch/precompiled_oox.hxx b/oox/inc/pch/precompiled_oox.hxx index 15968b729df6..660545e19dfe 100644 --- a/oox/inc/pch/precompiled_oox.hxx +++ b/oox/inc/pch/precompiled_oox.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2021-04-08 13:50:52 using: + Generated on 2021-05-14 22:15:59 using: ./bin/update_pch oox oox --cutoff=6 --exclude:system --exclude:module --include:local If after updating build fails, use the following command to locate conflicting headers: @@ -90,9 +90,18 @@ #include <vcl/mapmod.hxx> #include <vcl/metaactiontypes.hxx> #include <vcl/outdev.hxx> -#include <vcl/outdevmap.hxx> #include <vcl/outdevstate.hxx> #include <vcl/region.hxx> +#include <vcl/rendercontext/AddFontSubstituteFlags.hxx> +#include <vcl/rendercontext/AntialiasingFlags.hxx> +#include <vcl/rendercontext/DrawGridFlags.hxx> +#include <vcl/rendercontext/DrawImageFlags.hxx> +#include <vcl/rendercontext/DrawModeFlags.hxx> +#include <vcl/rendercontext/DrawTextFlags.hxx> +#include <vcl/rendercontext/GetDefaultFontFlags.hxx> +#include <vcl/rendercontext/ImplMapRes.hxx> +#include <vcl/rendercontext/InvertFlags.hxx> +#include <vcl/rendercontext/SalLayoutFlags.hxx> #include <vcl/salnativewidgets.hxx> #include <vcl/vclreferencebase.hxx> #include <vcl/wall.hxx> diff --git a/reportdesign/inc/pch/precompiled_rpt.hxx b/reportdesign/inc/pch/precompiled_rpt.hxx index d428dae94862..09123d849900 100644 --- a/reportdesign/inc/pch/precompiled_rpt.hxx +++ b/reportdesign/inc/pch/precompiled_rpt.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2021-04-11 19:47:53 using: + Generated on 2021-05-14 22:16:08 using: ./bin/update_pch reportdesign rpt --cutoff=9 --exclude:system --include:module --include:local If after updating build fails, use the following command to locate conflicting headers: @@ -23,6 +23,7 @@ #include <sal/config.h> #if PCH_LEVEL >= 1 #include <algorithm> +#include <array> #include <cassert> #include <cmath> #include <cstddef> @@ -39,6 +40,7 @@ #include <math.h> #include <memory> #include <new> +#include <numeric> #include <optional> #include <ostream> #include <stddef.h> @@ -101,13 +103,23 @@ #include <vcl/fntstyle.hxx> #include <vcl/font.hxx> #include <vcl/gfxlink.hxx> +#include <vcl/gradient.hxx> #include <vcl/graph.hxx> #include <vcl/mapmod.hxx> #include <vcl/metaactiontypes.hxx> #include <vcl/outdev.hxx> -#include <vcl/outdevmap.hxx> #include <vcl/outdevstate.hxx> #include <vcl/region.hxx> +#include <vcl/rendercontext/AddFontSubstituteFlags.hxx> +#include <vcl/rendercontext/AntialiasingFlags.hxx> +#include <vcl/rendercontext/DrawGridFlags.hxx> +#include <vcl/rendercontext/DrawImageFlags.hxx> +#include <vcl/rendercontext/DrawModeFlags.hxx> +#include <vcl/rendercontext/DrawTextFlags.hxx> +#include <vcl/rendercontext/GetDefaultFontFlags.hxx> +#include <vcl/rendercontext/ImplMapRes.hxx> +#include <vcl/rendercontext/InvertFlags.hxx> +#include <vcl/rendercontext/SalLayoutFlags.hxx> #include <vcl/salnativewidgets.hxx> #include <vcl/scopedbitmapaccess.hxx> #include <vcl/task.hxx> @@ -200,15 +212,19 @@ #include <editeng/editengdllapi.h> #include <i18nlangtag/lang.h> #include <o3tl/cow_wrapper.hxx> +#include <o3tl/safeint.hxx> +#include <o3tl/sorted_vector.hxx> #include <o3tl/strong_int.hxx> #include <o3tl/typed_flags_set.hxx> #include <o3tl/underlyingenumvalue.hxx> +#include <o3tl/unit_conversion.hxx> #include <salhelper/salhelperdllapi.h> #include <salhelper/simplereferenceobject.hxx> #include <svl/SfxBroadcaster.hxx> #include <svl/cenumitm.hxx> #include <svl/eitem.hxx> #include <svl/hint.hxx> +#include <svl/itemset.hxx> #include <svl/lstner.hxx> #include <svl/poolitem.hxx> #include <svl/style.hxx> diff --git a/reportdesign/inc/pch/precompiled_rptui.hxx b/reportdesign/inc/pch/precompiled_rptui.hxx index 13372de1ae63..03ed63383743 100644 --- a/reportdesign/inc/pch/precompiled_rptui.hxx +++ b/reportdesign/inc/pch/precompiled_rptui.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2021-04-11 19:47:54 using: + Generated on 2021-05-14 22:16:21 using: ./bin/update_pch reportdesign rptui --cutoff=4 --exclude:system --include:module --include:local If after updating build fails, use the following command to locate conflicting headers: @@ -23,6 +23,7 @@ #include <sal/config.h> #if PCH_LEVEL >= 1 #include <algorithm> +#include <array> #include <assert.h> #include <cassert> #include <chrono> @@ -42,6 +43,7 @@ #include <math.h> #include <memory> #include <new> +#include <numeric> #include <optional> #include <ostream> #include <sstream> @@ -119,6 +121,7 @@ #include <vcl/font.hxx> #include <vcl/gdimtf.hxx> #include <vcl/gfxlink.hxx> +#include <vcl/gradient.hxx> #include <vcl/graph.hxx> #include <vcl/headbar.hxx> #include <vcl/idle.hxx> @@ -127,9 +130,18 @@ #include <vcl/mapmod.hxx> #include <vcl/metaactiontypes.hxx> #include <vcl/outdev.hxx> -#include <vcl/outdevmap.hxx> #include <vcl/outdevstate.hxx> #include <vcl/region.hxx> +#include <vcl/rendercontext/AddFontSubstituteFlags.hxx> +#include <vcl/rendercontext/AntialiasingFlags.hxx> +#include <vcl/rendercontext/DrawGridFlags.hxx> +#include <vcl/rendercontext/DrawImageFlags.hxx> +#include <vcl/rendercontext/DrawModeFlags.hxx> +#include <vcl/rendercontext/DrawTextFlags.hxx> +#include <vcl/rendercontext/GetDefaultFontFlags.hxx> +#include <vcl/rendercontext/ImplMapRes.hxx> +#include <vcl/rendercontext/InvertFlags.hxx> +#include <vcl/rendercontext/SalLayoutFlags.hxx> #include <vcl/salnativewidgets.hxx> #include <vcl/scopedbitmapaccess.hxx> #include <vcl/settings.hxx> @@ -179,7 +191,6 @@ #include <com/sun/star/awt/GradientStyle.hpp> #include <com/sun/star/awt/Key.hpp> #include <com/sun/star/awt/KeyGroup.hpp> -#include <com/sun/star/awt/XVclWindowPeer.hpp> #include <com/sun/star/beans/PropertyChangeEvent.hpp> #include <com/sun/star/beans/PropertyState.hpp> #include <com/sun/star/beans/PropertyValue.hpp> @@ -222,7 +233,6 @@ #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XTypeProvider.hpp> #include <com/sun/star/lang/XUnoTunnel.hpp> -#include <com/sun/star/report/XReportComponent.hpp> #include <com/sun/star/report/XReportDefinition.hpp> #include <com/sun/star/style/NumberingType.hpp> #include <com/sun/star/style/XStyle.hpp> @@ -309,6 +319,9 @@ #include <o3tl/strong_int.hxx> #include <o3tl/typed_flags_set.hxx> #include <o3tl/underlyingenumvalue.hxx> +#include <o3tl/unit_conversion.hxx> +#include <salhelper/salhelperdllapi.h> +#include <salhelper/simplereferenceobject.hxx> #include <sfx2/basedlgs.hxx> #include <sfx2/dllapi.h> #include <sfx2/tabdlg.hxx> @@ -435,7 +448,6 @@ #if PCH_LEVEL >= 4 #include <AddField.hxx> #include <DesignView.hxx> -#include <IReportControllerObserver.hxx> #include <ReportController.hxx> #include <ReportSection.hxx> #include <ReportWindow.hxx> diff --git a/sd/inc/pch/precompiled_sdui.hxx b/sd/inc/pch/precompiled_sdui.hxx index 5f48b8a04706..e92161a3c7a6 100644 --- a/sd/inc/pch/precompiled_sdui.hxx +++ b/sd/inc/pch/precompiled_sdui.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2021-04-11 19:48:18 using: + Generated on 2021-05-14 22:16:34 using: ./bin/update_pch sd sdui --cutoff=4 --exclude:system --include:module --include:local If after updating build fails, use the following command to locate conflicting headers: @@ -23,6 +23,7 @@ #include <sal/config.h> #if PCH_LEVEL >= 1 #include <algorithm> +#include <array> #include <cassert> #include <chrono> #include <cmath> @@ -41,6 +42,7 @@ #include <math.h> #include <memory> #include <new> +#include <numeric> #include <optional> #include <ostream> #include <set> @@ -122,6 +124,7 @@ #include <vcl/formatter.hxx> #include <vcl/gdimtf.hxx> #include <vcl/gfxlink.hxx> +#include <vcl/gradient.hxx> #include <vcl/graph.hxx> #include <vcl/idle.hxx> #include <vcl/image.hxx> @@ -131,10 +134,19 @@ #include <vcl/metaactiontypes.hxx> #include <vcl/metric.hxx> #include <vcl/outdev.hxx> -#include <vcl/outdevmap.hxx> #include <vcl/outdevstate.hxx> #include <vcl/ptrstyle.hxx> #include <vcl/region.hxx> +#include <vcl/rendercontext/AddFontSubstituteFlags.hxx> +#include <vcl/rendercontext/AntialiasingFlags.hxx> +#include <vcl/rendercontext/DrawGridFlags.hxx> +#include <vcl/rendercontext/DrawImageFlags.hxx> +#include <vcl/rendercontext/DrawModeFlags.hxx> +#include <vcl/rendercontext/DrawTextFlags.hxx> +#include <vcl/rendercontext/GetDefaultFontFlags.hxx> +#include <vcl/rendercontext/ImplMapRes.hxx> +#include <vcl/rendercontext/InvertFlags.hxx> +#include <vcl/rendercontext/SalLayoutFlags.hxx> #include <vcl/salgtype.hxx> #include <vcl/salnativewidgets.hxx> #include <vcl/scopedbitmapaccess.hxx> @@ -230,7 +242,7 @@ #include <com/sun/star/frame/XDispatch.hpp> #include <com/sun/star/frame/XFrame.hpp> #include <com/sun/star/frame/XLoadable.hpp> -#include <com/sun/star/frame/XModel2.hpp> +#include <com/sun/star/frame/XModel3.hpp> #include <com/sun/star/frame/XModule.hpp> #include <com/sun/star/frame/XStatusListener.hpp> #include <com/sun/star/frame/XStorable2.hpp> @@ -328,10 +340,12 @@ #include <o3tl/cow_wrapper.hxx> #include <o3tl/deleter.hxx> #include <o3tl/enumarray.hxx> +#include <o3tl/safeint.hxx> #include <o3tl/sorted_vector.hxx> #include <o3tl/strong_int.hxx> #include <o3tl/typed_flags_set.hxx> #include <o3tl/underlyingenumvalue.hxx> +#include <o3tl/unit_conversion.hxx> #include <salhelper/salhelperdllapi.h> #include <salhelper/simplereferenceobject.hxx> #include <salhelper/thread.hxx> @@ -363,7 +377,6 @@ #include <svtools/colorcfg.hxx> #include <svtools/optionsdrawinglayer.hxx> #include <svtools/svtdllapi.h> -#include <svtools/tabbar.hxx> #include <svtools/unitconv.hxx> #include <svtools/valueset.hxx> #include <svx/DiagramDataInterface.hxx> diff --git a/slideshow/inc/pch/precompiled_slideshow.hxx b/slideshow/inc/pch/precompiled_slideshow.hxx index 780e5c74f4e5..1287ded7fad8 100644 --- a/slideshow/inc/pch/precompiled_slideshow.hxx +++ b/slideshow/inc/pch/precompiled_slideshow.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2021-04-11 19:48:19 using: + Generated on 2021-05-14 22:16:42 using: ./bin/update_pch slideshow slideshow --cutoff=4 --exclude:system --include:module --exclude:local If after updating build fails, use the following command to locate conflicting headers: @@ -23,6 +23,7 @@ #include <sal/config.h> #if PCH_LEVEL >= 1 #include <algorithm> +#include <array> #include <cassert> #include <chrono> #include <cstddef> @@ -39,14 +40,17 @@ #include <math.h> #include <memory> #include <new> +#include <numeric> #include <optional> #include <ostream> +#include <set> #include <stddef.h> #include <string.h> #include <string> #include <string_view> #include <type_traits> #include <typeinfo> +#include <unordered_map> #include <unordered_set> #include <utility> #include <vector> @@ -106,13 +110,23 @@ #include <vcl/font.hxx> #include <vcl/gdimtf.hxx> #include <vcl/gfxlink.hxx> +#include <vcl/gradient.hxx> #include <vcl/graph.hxx> #include <vcl/mapmod.hxx> #include <vcl/metaactiontypes.hxx> #include <vcl/outdev.hxx> -#include <vcl/outdevmap.hxx> #include <vcl/outdevstate.hxx> #include <vcl/region.hxx> +#include <vcl/rendercontext/AddFontSubstituteFlags.hxx> +#include <vcl/rendercontext/AntialiasingFlags.hxx> +#include <vcl/rendercontext/DrawGridFlags.hxx> +#include <vcl/rendercontext/DrawImageFlags.hxx> +#include <vcl/rendercontext/DrawModeFlags.hxx> +#include <vcl/rendercontext/DrawTextFlags.hxx> +#include <vcl/rendercontext/GetDefaultFontFlags.hxx> +#include <vcl/rendercontext/ImplMapRes.hxx> +#include <vcl/rendercontext/InvertFlags.hxx> +#include <vcl/rendercontext/SalLayoutFlags.hxx> #include <vcl/salnativewidgets.hxx> #include <vcl/scopedbitmapaccess.hxx> #include <vcl/task.hxx> @@ -137,6 +151,7 @@ #include <basegfx/polygon/b2dpolypolygon.hxx> #include <basegfx/polygon/b2dpolypolygontools.hxx> #include <basegfx/range/b2drange.hxx> +#include <basegfx/range/b2drectangle.hxx> #include <basegfx/range/basicrange.hxx> #include <basegfx/tuple/b2i64tuple.hxx> #include <basegfx/tuple/b2ituple.hxx> @@ -148,8 +163,11 @@ #include <basegfx/vector/b2isize.hxx> #include <basegfx/vector/b2ivector.hxx> #include <canvas/canvastools.hxx> +#include <canvas/canvastoolsdllapi.h> +#include <canvas/elapsedtime.hxx> #include <com/sun/star/animations/TransitionSubType.hpp> #include <com/sun/star/animations/TransitionType.hpp> +#include <com/sun/star/animations/XAnimationNode.hpp> #include <com/sun/star/awt/DeviceInfo.hpp> #include <com/sun/star/awt/FontSlant.hpp> #include <com/sun/star/awt/Key.hpp> @@ -166,6 +184,7 @@ #include <com/sun/star/drawing/XDrawPage.hpp> #include <com/sun/star/drawing/XShape.hpp> #include <com/sun/star/form/FormComponentType.hpp> +#include <com/sun/star/geometry/IntegerSize2D.hpp> #include <com/sun/star/graphic/XPrimitive2D.hpp> #include <com/sun/star/i18n/CharacterIteratorMode.hpp> #include <com/sun/star/i18n/WordType.hpp> @@ -233,10 +252,13 @@ #include <editeng/macros.hxx> #include <i18nlangtag/lang.h> #include <o3tl/cow_wrapper.hxx> +#include <o3tl/safeint.hxx> #include <o3tl/sorted_vector.hxx> #include <o3tl/strong_int.hxx> #include <o3tl/typed_flags_set.hxx> #include <o3tl/underlyingenumvalue.hxx> +#include <o3tl/unit_conversion.hxx> +#include <salhelper/salhelperdllapi.h> #include <salhelper/simplereferenceobject.hxx> #include <svl/SfxBroadcaster.hxx> #include <svl/cenumitm.hxx> @@ -310,15 +332,14 @@ #include <activitiesqueue.hxx> #include <animatableshape.hxx> #include <animationfactory.hxx> -#include <attributableshape.hxx> +#include <animationnode.hxx> #include <cursormanager.hxx> #include <delayevent.hxx> #include <disposable.hxx> #include <doctreenode.hxx> -#include <doctreenodesupplier.hxx> +#include <event.hxx> #include <eventmultiplexer.hxx> #include <eventqueue.hxx> -#include <hyperlinkarea.hxx> #include <rgbcolor.hxx> #include <screenupdater.hxx> #include <shape.hxx> @@ -331,6 +352,7 @@ #include <unoview.hxx> #include <unoviewcontainer.hxx> #include <usereventqueue.hxx> +#include <viewlayer.hxx> #endif // PCH_LEVEL >= 4 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/solenv/clang-format/excludelist b/solenv/clang-format/excludelist index 13a5f25ac5ff..eaf02c2c80ae 100644 --- a/solenv/clang-format/excludelist +++ b/solenv/clang-format/excludelist @@ -6421,7 +6421,6 @@ include/vcl/oldprintadaptor.hxx include/vcl/opengl/OpenGLContext.hxx include/vcl/opengl/OpenGLHelper.hxx include/vcl/outdev.hxx -include/vcl/outdevmap.hxx include/vcl/outdevstate.hxx include/vcl/pdfextoutdevdata.hxx include/vcl/pdfwriter.hxx diff --git a/starmath/inc/pch/precompiled_sm.hxx b/starmath/inc/pch/precompiled_sm.hxx index 809cc8d22f31..7d48509dd112 100644 --- a/starmath/inc/pch/precompiled_sm.hxx +++ b/starmath/inc/pch/precompiled_sm.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2021-04-11 19:48:19 using: + Generated on 2021-05-14 22:16:51 using: ./bin/update_pch starmath sm --cutoff=5 --exclude:system --exclude:module --include:local If after updating build fails, use the following command to locate conflicting headers: @@ -38,6 +38,7 @@ #include <string> #include <string_view> #include <type_traits> +#include <unordered_map> #include <utility> #include <vector> #include <boost/property_tree/ptree_fwd.hpp> @@ -62,24 +63,32 @@ #include <rtl/uuid.h> #include <sal/log.hxx> #include <sal/types.h> -#include <vcl/IDialogRenderable.hxx> #include <vcl/bitmap.hxx> +#include <vcl/bitmapex.hxx> #include <vcl/cairo.hxx> #include <vcl/devicecoordinate.hxx> #include <vcl/dllapi.h> #include <vcl/errcode.hxx> -#include <vcl/event.hxx> #include <vcl/font.hxx> +#include <vcl/gradient.hxx> #include <vcl/mapmod.hxx> #include <vcl/metaactiontypes.hxx> #include <vcl/outdev.hxx> -#include <vcl/outdevmap.hxx> #include <vcl/outdevstate.hxx> #include <vcl/region.hxx> +#include <vcl/rendercontext/AddFontSubstituteFlags.hxx> +#include <vcl/rendercontext/AntialiasingFlags.hxx> +#include <vcl/rendercontext/DrawGridFlags.hxx> +#include <vcl/rendercontext/DrawImageFlags.hxx> +#include <vcl/rendercontext/DrawModeFlags.hxx> +#include <vcl/rendercontext/DrawTextFlags.hxx> +#include <vcl/rendercontext/GetDefaultFontFlags.hxx> +#include <vcl/rendercontext/ImplMapRes.hxx> +#include <vcl/rendercontext/InvertFlags.hxx> +#include <vcl/rendercontext/SalLayoutFlags.hxx> #include <vcl/salnativewidgets.hxx> #include <vcl/settings.hxx> #include <vcl/svapp.hxx> -#include <vcl/uitest/factory.hxx> #include <vcl/vclenum.hxx> #include <vcl/vclptr.hxx> #include <vcl/vclreferencebase.hxx> @@ -100,13 +109,16 @@ #include <comphelper/comphelperdllapi.h> #include <cppuhelper/implbase.hxx> #include <cppuhelper/supportsservice.hxx> +#include <cppuhelper/weakref.hxx> #include <editeng/editdata.hxx> #include <editeng/editengdllapi.h> #include <editeng/editstat.hxx> #include <i18nlangtag/lang.h> #include <o3tl/cow_wrapper.hxx> +#include <o3tl/sorted_vector.hxx> #include <o3tl/strong_int.hxx> #include <o3tl/typed_flags_set.hxx> +#include <o3tl/unit_conversion.hxx> #include <salhelper/simplereferenceobject.hxx> #include <sfx2/dllapi.h> #include <sfx2/docfile.hxx> @@ -123,6 +135,7 @@ #include <svx/svxdllapi.h> #include <tools/color.hxx> #include <tools/degree.hxx> +#include <tools/diagnose_ex.h> #include <tools/gen.hxx> #include <tools/lineend.hxx> #include <tools/link.hxx> diff --git a/sw/inc/pch/precompiled_msword.hxx b/sw/inc/pch/precompiled_msword.hxx index b1295d07512e..8b803a57a446 100644 --- a/sw/inc/pch/precompiled_msword.hxx +++ b/sw/inc/pch/precompiled_msword.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2021-04-11 19:48:30 using: + Generated on 2021-05-14 22:17:12 using: ./bin/update_pch sw msword --cutoff=4 --exclude:system --include:module --include:local If after updating build fails, use the following command to locate conflicting headers: @@ -130,6 +130,7 @@ #include <vcl/font.hxx> #include <vcl/gdimtf.hxx> #include <vcl/gfxlink.hxx> +#include <vcl/gradient.hxx> #include <vcl/graph.hxx> #include <vcl/idle.hxx> #include <vcl/keycod.hxx> @@ -137,10 +138,19 @@ #include <vcl/mapmod.hxx> #include <vcl/metaactiontypes.hxx> #include <vcl/outdev.hxx> -#include <vcl/outdevmap.hxx> #include <vcl/outdevstate.hxx> #include <vcl/ptrstyle.hxx> #include <vcl/region.hxx> +#include <vcl/rendercontext/AddFontSubstituteFlags.hxx> +#include <vcl/rendercontext/AntialiasingFlags.hxx> +#include <vcl/rendercontext/DrawGridFlags.hxx> +#include <vcl/rendercontext/DrawImageFlags.hxx> +#include <vcl/rendercontext/DrawModeFlags.hxx> +#include <vcl/rendercontext/DrawTextFlags.hxx> +#include <vcl/rendercontext/GetDefaultFontFlags.hxx> +#include <vcl/rendercontext/ImplMapRes.hxx> +#include <vcl/rendercontext/InvertFlags.hxx> +#include <vcl/rendercontext/SalLayoutFlags.hxx> #include <vcl/salnativewidgets.hxx> #include <vcl/scopedbitmapaccess.hxx> #include <vcl/settings.hxx> @@ -220,6 +230,7 @@ #include <com/sun/star/embed/XStorage.hpp> #include <com/sun/star/form/FormComponentType.hpp> #include <com/sun/star/frame/XModel.hpp> +#include <com/sun/star/frame/XModel3.hpp> #include <com/sun/star/geometry/IntegerRectangle2D.hpp> #include <com/sun/star/graphic/XPrimitive2D.hpp> #include <com/sun/star/i18n/Calendar2.hpp> diff --git a/sw/inc/pch/precompiled_swui.hxx b/sw/inc/pch/precompiled_swui.hxx index 2b69b961d26b..241ee3e79d8d 100644 --- a/sw/inc/pch/precompiled_swui.hxx +++ b/sw/inc/pch/precompiled_swui.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2021-04-11 19:48:47 using: + Generated on 2021-05-14 22:17:26 using: ./bin/update_pch sw swui --cutoff=3 --exclude:system --include:module --include:local If after updating build fails, use the following command to locate conflicting headers: @@ -120,6 +120,7 @@ #include <vcl/formatter.hxx> #include <vcl/gfxlink.hxx> #include <vcl/glyphitem.hxx> +#include <vcl/gradient.hxx> #include <vcl/graph.hxx> #include <vcl/headbar.hxx> #include <vcl/idle.hxx> @@ -130,11 +131,20 @@ #include <vcl/metaactiontypes.hxx> #include <vcl/metric.hxx> #include <vcl/outdev.hxx> -#include <vcl/outdevmap.hxx> #include <vcl/outdevstate.hxx> #include <vcl/print.hxx> #include <vcl/ptrstyle.hxx> #include <vcl/region.hxx> +#include <vcl/rendercontext/AddFontSubstituteFlags.hxx> +#include <vcl/rendercontext/AntialiasingFlags.hxx> +#include <vcl/rendercontext/DrawGridFlags.hxx> +#include <vcl/rendercontext/DrawImageFlags.hxx> +#include <vcl/rendercontext/DrawModeFlags.hxx> +#include <vcl/rendercontext/DrawTextFlags.hxx> +#include <vcl/rendercontext/GetDefaultFontFlags.hxx> +#include <vcl/rendercontext/ImplMapRes.hxx> +#include <vcl/rendercontext/InvertFlags.hxx> +#include <vcl/rendercontext/SalLayoutFlags.hxx> #include <vcl/salnativewidgets.hxx> #include <vcl/scopedbitmapaccess.hxx> #include <vcl/settings.hxx> @@ -184,15 +194,13 @@ #include <com/sun/star/awt/KeyGroup.hpp> #include <com/sun/star/awt/SystemPointer.hpp> #include <com/sun/star/awt/XWindow.hpp> -#include <com/sun/star/beans/XMultiPropertySet.hpp> #include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/beans/XPropertyState.hpp> #include <com/sun/star/container/XChild.hpp> #include <com/sun/star/container/XEnumeration.hpp> +#include <com/sun/star/container/XEnumerationAccess.hpp> #include <com/sun/star/container/XIndexReplace.hpp> #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/container/XNameContainer.hpp> -#include <com/sun/star/container/XNamed.hpp> #include <com/sun/star/datatransfer/DataFlavor.hpp> #include <com/sun/star/datatransfer/XTransferable.hpp> #include <com/sun/star/datatransfer/XTransferable2.hpp> @@ -228,7 +236,7 @@ #include <com/sun/star/frame/XFrame.hpp> #include <com/sun/star/frame/XLoadable.hpp> #include <com/sun/star/frame/XModel.hpp> -#include <com/sun/star/frame/XModel2.hpp> +#include <com/sun/star/frame/XModel3.hpp> #include <com/sun/star/frame/XModule.hpp> #include <com/sun/star/frame/XStatusListener.hpp> #include <com/sun/star/frame/XStorable2.hpp> @@ -274,7 +282,11 @@ #include <com/sun/star/text/RubyAdjust.hpp> #include <com/sun/star/text/TextContentAnchorType.hpp> #include <com/sun/star/text/VertOrientation.hpp> -#include <com/sun/star/text/XTextSection.hpp> +#include <com/sun/star/text/XRelativeTextContentInsert.hpp> +#include <com/sun/star/text/XRelativeTextContentRemove.hpp> +#include <com/sun/star/text/XTextAppendAndConvert.hpp> +#include <com/sun/star/text/XTextCopy.hpp> +#include <com/sun/star/text/XTextRangeCompare.hpp> #include <com/sun/star/ui/XUIConfigurationManagerSupplier.hpp> #include <com/sun/star/ui/dialogs/TemplateDescription.hpp> #include <com/sun/star/ui/dialogs/XFilePicker3.hpp> @@ -379,12 +391,13 @@ #include <o3tl/strong_int.hxx> #include <o3tl/typed_flags_set.hxx> #include <o3tl/underlyingenumvalue.hxx> +#include <o3tl/unit_conversion.hxx> #include <officecfg/Office/Writer.hxx> #include <ooo/vba/XHelperInterface.hpp> #include <ooo/vba/word/XParagraphFormat.hpp> +#include <ooo/vba/word/XSection.hpp> #include <salhelper/salhelperdllapi.h> #include <salhelper/simplereferenceobject.hxx> -#include <sfx2/Metadatable.hxx> #include <sfx2/basedlgs.hxx> #include <sfx2/bindings.hxx> #include <sfx2/chalign.hxx> @@ -418,6 +431,7 @@ #include <svl/itempool.hxx> #include <svl/itemset.hxx> #include <svl/languageoptions.hxx> +#include <svl/listener.hxx> #include <svl/lstner.hxx> #include <svl/macitem.hxx> #include <svl/nfkeytab.hxx> @@ -444,7 +458,6 @@ #include <svx/autoformathelper.hxx> #include <svx/colorbox.hxx> #include <svx/colorwindow.hxx> -#include <svx/ctredlin.hxx> #include <svx/dialmgr.hxx> #include <svx/flagsdef.hxx> #include <svx/framelinkarray.hxx> @@ -570,7 +583,6 @@ #include <optload.hxx> #include <outline.hxx> #include <pagedesc.hxx> -#include <pam.hxx> #include <pardlg.hxx> #include <poolfmt.hxx> #include <reffld.hxx> @@ -601,6 +613,7 @@ #include <uitool.hxx> #include <undobj.hxx> #include <unobaseclass.hxx> +#include <unotext.hxx> #include <unotools.hxx> #include <usrpref.hxx> #include <view.hxx> diff --git a/sw/inc/pch/precompiled_vbaswobj.hxx b/sw/inc/pch/precompiled_vbaswobj.hxx index fd017e55b968..14ae9cbfd621 100644 --- a/sw/inc/pch/precompiled_vbaswobj.hxx +++ b/sw/inc/pch/precompiled_vbaswobj.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2021-04-11 19:48:51 using: + Generated on 2021-05-14 22:17:35 using: ./bin/update_pch sw vbaswobj --cutoff=4 --exclude:system --include:module --include:local If after updating build fails, use the following command to locate conflicting headers: @@ -46,6 +46,7 @@ #include <math.h> #include <memory> #include <new> +#include <numeric> #include <optional> #include <ostream> #include <stack> @@ -107,6 +108,7 @@ #include <vcl/exceptiontypes.hxx> #include <vcl/fntstyle.hxx> #include <vcl/font.hxx> +#include <vcl/gradient.hxx> #include <vcl/inputtypes.hxx> #include <vcl/keycod.hxx> #include <vcl/keycodes.hxx> @@ -114,9 +116,18 @@ #include <vcl/mapmod.hxx> #include <vcl/metaactiontypes.hxx> #include <vcl/outdev.hxx> -#include <vcl/outdevmap.hxx> #include <vcl/outdevstate.hxx> #include <vcl/region.hxx> +#include <vcl/rendercontext/AddFontSubstituteFlags.hxx> +#include <vcl/rendercontext/AntialiasingFlags.hxx> +#include <vcl/rendercontext/DrawGridFlags.hxx> +#include <vcl/rendercontext/DrawImageFlags.hxx> +#include <vcl/rendercontext/DrawModeFlags.hxx> +#include <vcl/rendercontext/DrawTextFlags.hxx> +#include <vcl/rendercontext/GetDefaultFontFlags.hxx> +#include <vcl/rendercontext/ImplMapRes.hxx> +#include <vcl/rendercontext/InvertFlags.hxx> +#include <vcl/rendercontext/SalLayoutFlags.hxx> #include <vcl/salnativewidgets.hxx> #include <vcl/scopedbitmapaccess.hxx> #include <vcl/svapp.hxx> @@ -156,9 +167,7 @@ #include <com/sun/star/awt/Key.hpp> #include <com/sun/star/awt/KeyGroup.hpp> #include <com/sun/star/awt/SystemPointer.hpp> -#include <com/sun/star/beans/XMultiPropertySet.hpp> #include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/beans/XPropertyState.hpp> #include <com/sun/star/container/NoSuchElementException.hpp> #include <com/sun/star/container/XEnumeration.hpp> #include <com/sun/star/container/XIndexAccess.hpp> @@ -170,6 +179,7 @@ #include <com/sun/star/drawing/LineCap.hpp> #include <com/sun/star/form/FormComponentType.hpp> #include <com/sun/star/frame/XModel.hpp> +#include <com/sun/star/frame/XModel3.hpp> #include <com/sun/star/i18n/CollatorOptions.hpp> #include <com/sun/star/i18n/WordType.hpp> #include <com/sun/star/lang/EventObject.hpp> @@ -180,7 +190,6 @@ #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XTypeProvider.hpp> #include <com/sun/star/lang/XUnoTunnel.hpp> -#include <com/sun/star/rdf/XMetadatable.hpp> #include <com/sun/star/security/DocumentSignatureInformation.hpp> #include <com/sun/star/style/LineSpacing.hpp> #include <com/sun/star/style/NumberingType.hpp> @@ -194,7 +203,6 @@ #include <com/sun/star/text/XPageCursor.hpp> #include <com/sun/star/text/XTextDocument.hpp> #include <com/sun/star/text/XTextRangeCompare.hpp> -#include <com/sun/star/text/XTextSection.hpp> #include <com/sun/star/text/XTextTable.hpp> #include <com/sun/star/uno/Any.h> #include <com/sun/star/uno/Any.hxx> @@ -251,14 +259,18 @@ #include <editeng/widwitem.hxx> #include <i18nlangtag/lang.h> #include <o3tl/cow_wrapper.hxx> +#include <o3tl/safeint.hxx> #include <o3tl/sorted_vector.hxx> #include <o3tl/strong_int.hxx> #include <o3tl/typed_flags_set.hxx> #include <o3tl/underlyingenumvalue.hxx> +#include <o3tl/unit_conversion.hxx> #include <ooo/vba/XCollection.hpp> #include <ooo/vba/XHelperInterface.hpp> #include <ooo/vba/word/XParagraphFormat.hpp> -#include <sfx2/Metadatable.hxx> +#include <ooo/vba/word/XSection.hpp> +#include <salhelper/salhelperdllapi.h> +#include <salhelper/simplereferenceobject.hxx> #include <sfx2/dllapi.h> #include <sfx2/shell.hxx> #include <sot/formats.hxx> diff --git a/vbahelper/inc/pch/precompiled_msforms.hxx b/vbahelper/inc/pch/precompiled_msforms.hxx index e31453783183..287244a8d4d6 100644 --- a/vbahelper/inc/pch/precompiled_msforms.hxx +++ b/vbahelper/inc/pch/precompiled_msforms.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2021-04-11 19:48:52 using: + Generated on 2021-05-14 22:18:02 using: ./bin/update_pch vbahelper msforms --cutoff=3 --exclude:system --include:module --include:local If after updating build fails, use the following command to locate conflicting headers: @@ -23,6 +23,7 @@ #include <sal/config.h> #if PCH_LEVEL >= 1 #include <algorithm> +#include <array> #include <cassert> #include <cmath> #include <cstddef> @@ -37,6 +38,7 @@ #include <math.h> #include <memory> #include <new> +#include <numeric> #include <optional> #include <ostream> #include <stddef.h> @@ -73,6 +75,7 @@ #include <vcl/alpha.hxx> #include <vcl/bitmap.hxx> #include <vcl/bitmap/BitmapTypes.hxx> +#include <vcl/bitmapex.hxx> #include <vcl/cairo.hxx> #include <vcl/checksum.hxx> #include <vcl/devicecoordinate.hxx> @@ -80,12 +83,22 @@ #include <vcl/errcode.hxx> #include <vcl/fntstyle.hxx> #include <vcl/font.hxx> +#include <vcl/gradient.hxx> #include <vcl/mapmod.hxx> #include <vcl/metaactiontypes.hxx> -#include <vcl/outdevmap.hxx> #include <vcl/outdevstate.hxx> #include <vcl/ptrstyle.hxx> #include <vcl/region.hxx> +#include <vcl/rendercontext/AddFontSubstituteFlags.hxx> +#include <vcl/rendercontext/AntialiasingFlags.hxx> +#include <vcl/rendercontext/DrawGridFlags.hxx> +#include <vcl/rendercontext/DrawImageFlags.hxx> +#include <vcl/rendercontext/DrawModeFlags.hxx> +#include <vcl/rendercontext/DrawTextFlags.hxx> +#include <vcl/rendercontext/GetDefaultFontFlags.hxx> +#include <vcl/rendercontext/ImplMapRes.hxx> +#include <vcl/rendercontext/InvertFlags.hxx> +#include <vcl/rendercontext/SalLayoutFlags.hxx> #include <vcl/salnativewidgets.hxx> #include <vcl/scopedbitmapaccess.hxx> #include <vcl/vclenum.hxx> @@ -135,11 +148,14 @@ #include <cppu/unotype.hxx> #include <cppuhelper/cppuhelperdllapi.h> #include <cppuhelper/implbase.hxx> +#include <cppuhelper/weakref.hxx> #include <i18nlangtag/lang.h> #include <o3tl/cow_wrapper.hxx> +#include <o3tl/safeint.hxx> #include <o3tl/strong_int.hxx> #include <o3tl/typed_flags_set.hxx> #include <o3tl/underlyingenumvalue.hxx> +#include <o3tl/unit_conversion.hxx> #include <svl/hint.hxx> #include <svl/svldllapi.h> #include <svl/typedwhich.hxx> diff --git a/vcl/Library_vcl.mk b/vcl/Library_vcl.mk index aed3ce9603da..b7d92bd35836 100644 --- a/vcl/Library_vcl.mk +++ b/vcl/Library_vcl.mk @@ -95,6 +95,7 @@ $(eval $(call gb_Library_use_externals,vcl,\ $(eval $(call gb_Library_add_exception_objects,vcl,\ vcl/skia/SkiaHelper \ + vcl/source/rendercontext/ImplMapRes \ vcl/source/animate/Animation \ vcl/source/animate/AnimationBitmap \ vcl/source/cnttype/mcnttfactory \ diff --git a/vcl/source/rendercontext/ImplMapRes.cxx b/vcl/source/rendercontext/ImplMapRes.cxx new file mode 100644 index 000000000000..5224d4efbdbd --- /dev/null +++ b/vcl/source/rendercontext/ImplMapRes.cxx @@ -0,0 +1,33 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ + +#include <vcl/rendercontext/ImplMapRes.hxx> + +ImplMapRes::ImplMapRes() + : mnMapOfsX(0) + , mnMapOfsY(0) + , mnMapScNumX(1) + , mnMapScNumY(1) + , mnMapScDenomX(1) + , mnMapScDenomY(1) + +{ +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ |