diff options
Diffstat (limited to 'chart2/source/inc/RelativeSizeHelper.hxx')
-rw-r--r-- | chart2/source/inc/RelativeSizeHelper.hxx | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/chart2/source/inc/RelativeSizeHelper.hxx b/chart2/source/inc/RelativeSizeHelper.hxx index 517804096100..6b3dbb7c2dee 100644 --- a/chart2/source/inc/RelativeSizeHelper.hxx +++ b/chart2/source/inc/RelativeSizeHelper.hxx @@ -16,19 +16,20 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CHART2_SOURCE_INC_RELATIVESIZEHELPER_HXX -#define INCLUDED_CHART2_SOURCE_INC_RELATIVESIZEHELPER_HXX +#pragma once +#include <config_options.h> #include "charttoolsdllapi.hxx" namespace com::sun::star::awt { struct Size; } namespace com::sun::star::beans { class XPropertySet; } namespace com::sun::star::uno { template <class interface_type> class Reference; } +class SvxShapeText; namespace chart { -class OOO_DLLPUBLIC_CHARTTOOLS RelativeSizeHelper +class UNLESS_MERGELIBS(OOO_DLLPUBLIC_CHARTTOOLS) RelativeSizeHelper { public: static double calculate( @@ -42,13 +43,15 @@ public: const css::awt::Size & rOldReferenceSize, const css::awt::Size & rNewReferenceSize ); + static void adaptFontSizes( + SvxShapeText& xTargetProperties, + const css::awt::Size & rOldReferenceSize, + const css::awt::Size & rNewReferenceSize ); + private: RelativeSizeHelper() = delete; }; } // namespace chart -// INCLUDED_CHART2_SOURCE_INC_RELATIVESIZEHELPER_HXX -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |