Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / reportdesign / inc / ReportHelperDefines.hxx
blob86f5c7a18e2cac554a806c5b8772fa7731b6b112
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef INCLUDED_REPORTDESIGN_INC_REPORTHELPERDEFINES_HXX
20 #define INCLUDED_REPORTDESIGN_INC_REPORTHELPERDEFINES_HXX
22 #define REPORTCONTROLMODEL_HEADER() \
23 virtual OUString SAL_CALL getDataField() override; \
24 virtual void SAL_CALL setDataField(const OUString & the_value) override; \
25 virtual sal_Bool SAL_CALL getPrintWhenGroupChange() override; \
26 virtual void SAL_CALL setPrintWhenGroupChange(sal_Bool the_value) override; \
27 virtual OUString SAL_CALL getConditionalPrintExpression() override; \
28 virtual void SAL_CALL setConditionalPrintExpression(const OUString & the_value) override; \
29 virtual css::uno::Reference< css::report::XFormatCondition > SAL_CALL createFormatCondition() override;
31 #define SHAPE_HEADER() \
32 virtual css::awt::Point SAL_CALL getPosition() override; \
33 virtual void SAL_CALL setPosition(const css::awt::Point & aPosition) override; \
34 virtual css::awt::Size SAL_CALL getSize() override; \
35 virtual void SAL_CALL setSize(const css::awt::Size & aSize) override;
37 #define REPORTCOMPONENT_HEADER() \
38 virtual OUString SAL_CALL getName() override; \
39 virtual void SAL_CALL setName(const OUString & the_value) override; \
40 virtual ::sal_Int32 SAL_CALL getHeight() override; \
41 virtual void SAL_CALL setHeight(::sal_Int32 the_value) override; \
42 virtual ::sal_Int32 SAL_CALL getPositionX() override; \
43 virtual void SAL_CALL setPositionX(::sal_Int32 the_value) override; \
44 virtual ::sal_Int32 SAL_CALL getPositionY() override; \
45 virtual void SAL_CALL setPositionY(::sal_Int32 the_value) override; \
46 virtual ::sal_Int32 SAL_CALL getWidth() override; \
47 virtual void SAL_CALL setWidth(::sal_Int32 the_value) override; \
48 virtual ::sal_Int16 SAL_CALL getControlBorder() override; \
49 virtual void SAL_CALL setControlBorder(::sal_Int16 the_value) override; \
50 virtual ::sal_Int32 SAL_CALL getControlBorderColor() override; \
51 virtual void SAL_CALL setControlBorderColor(::sal_Int32 the_value) override; \
52 virtual sal_Bool SAL_CALL getPrintRepeatedValues() override; \
53 virtual void SAL_CALL setPrintRepeatedValues(sal_Bool the_value) override; \
54 virtual css::uno::Sequence< OUString > SAL_CALL getMasterFields() override; \
55 virtual void SAL_CALL setMasterFields( const css::uno::Sequence< OUString >& _masterfields ) override; \
56 virtual css::uno::Sequence< OUString > SAL_CALL getDetailFields() override; \
57 virtual void SAL_CALL setDetailFields( const css::uno::Sequence< OUString >& _detailfields ) override; \
58 virtual css::uno::Reference< css::report::XSection > SAL_CALL getSection() override;
60 #define REPORTCONTROLFORMAT_HEADER() \
61 virtual ::sal_Int32 SAL_CALL getControlBackground() override;\
62 virtual void SAL_CALL setControlBackground( ::sal_Int32 _controlbackground ) override;\
63 virtual sal_Bool SAL_CALL getControlBackgroundTransparent() override;\
64 virtual void SAL_CALL setControlBackgroundTransparent( sal_Bool _controlbackgroundtransparent ) override;\
65 virtual ::sal_Int16 SAL_CALL getParaAdjust() override;\
66 virtual void SAL_CALL setParaAdjust( ::sal_Int16 _paraadjust ) override;\
67 virtual css::awt::FontDescriptor SAL_CALL getFontDescriptor() override;\
68 virtual void SAL_CALL setFontDescriptor( const css::awt::FontDescriptor& _fontdescriptor ) override;\
69 virtual css::awt::FontDescriptor SAL_CALL getFontDescriptorAsian() override;\
70 virtual void SAL_CALL setFontDescriptorAsian( const css::awt::FontDescriptor& _fontdescriptor ) override;\
71 virtual css::awt::FontDescriptor SAL_CALL getFontDescriptorComplex() override;\
72 virtual void SAL_CALL setFontDescriptorComplex( const css::awt::FontDescriptor& _fontdescriptor ) override;\
73 virtual ::sal_Int16 SAL_CALL getControlTextEmphasis() override;\
74 virtual void SAL_CALL setControlTextEmphasis( ::sal_Int16 _controltextemphasis ) override;\
75 virtual ::sal_Int16 SAL_CALL getCharEmphasis() override;\
76 virtual void SAL_CALL setCharEmphasis( ::sal_Int16 _charemphasis ) override;\
77 virtual sal_Bool SAL_CALL getCharCombineIsOn() override;\
78 virtual void SAL_CALL setCharCombineIsOn( sal_Bool _charcombineison ) override;\
79 virtual OUString SAL_CALL getCharCombinePrefix() override;\
80 virtual void SAL_CALL setCharCombinePrefix( const OUString& _charcombineprefix ) override;\
81 virtual OUString SAL_CALL getCharCombineSuffix() override;\
82 virtual void SAL_CALL setCharCombineSuffix( const OUString& _charcombinesuffix ) override;\
83 virtual sal_Bool SAL_CALL getCharHidden() override;\
84 virtual void SAL_CALL setCharHidden( sal_Bool _charhidden ) override;\
85 virtual sal_Bool SAL_CALL getCharShadowed() override;\
86 virtual void SAL_CALL setCharShadowed( sal_Bool _charshadowed ) override;\
87 virtual sal_Bool SAL_CALL getCharContoured() override;\
88 virtual void SAL_CALL setCharContoured( sal_Bool _charcontoured ) override;\
89 virtual ::sal_Int16 SAL_CALL getCharCaseMap() override;\
90 virtual void SAL_CALL setCharCaseMap( ::sal_Int16 _charcasemap ) override;\
91 virtual css::lang::Locale SAL_CALL getCharLocale() override;\
92 virtual void SAL_CALL setCharLocale( const css::lang::Locale& _charlocale ) override;\
93 virtual ::sal_Int16 SAL_CALL getCharEscapement() override;\
94 virtual void SAL_CALL setCharEscapement( ::sal_Int16 _charescapement ) override;\
95 virtual ::sal_Int8 SAL_CALL getCharEscapementHeight() override;\
96 virtual void SAL_CALL setCharEscapementHeight( ::sal_Int8 _charescapementheight ) override;\
97 virtual sal_Bool SAL_CALL getCharAutoKerning() override;\
98 virtual void SAL_CALL setCharAutoKerning( sal_Bool _charautokerning ) override;\
99 virtual ::sal_Int16 SAL_CALL getCharKerning() override;\
100 virtual void SAL_CALL setCharKerning( ::sal_Int16 _charkerning ) override;\
101 virtual sal_Bool SAL_CALL getCharFlash() override;\
102 virtual void SAL_CALL setCharFlash( sal_Bool _charflash ) override;\
103 virtual ::sal_Int16 SAL_CALL getCharRelief() override;\
104 virtual void SAL_CALL setCharRelief( ::sal_Int16 _charrelief ) override;\
105 virtual OUString SAL_CALL getCharFontName() override;\
106 virtual void SAL_CALL setCharFontName( const OUString& _charfontname ) override;\
107 virtual OUString SAL_CALL getCharFontStyleName() override;\
108 virtual void SAL_CALL setCharFontStyleName( const OUString& _charfontstylename ) override;\
109 virtual ::sal_Int16 SAL_CALL getCharFontFamily() override;\
110 virtual void SAL_CALL setCharFontFamily( ::sal_Int16 _charfontfamily ) override;\
111 virtual ::sal_Int16 SAL_CALL getCharFontCharSet() override;\
112 virtual void SAL_CALL setCharFontCharSet( ::sal_Int16 _charfontcharset ) override;\
113 virtual ::sal_Int16 SAL_CALL getCharFontPitch() override;\
114 virtual void SAL_CALL setCharFontPitch( ::sal_Int16 _charfontpitch ) override;\
115 virtual ::sal_Int32 SAL_CALL getCharColor() override;\
116 virtual void SAL_CALL setCharColor( ::sal_Int32 _charcolor ) override;\
117 virtual ::sal_Int32 SAL_CALL getCharUnderlineColor() override;\
118 virtual void SAL_CALL setCharUnderlineColor( ::sal_Int32 _charunderlinecolor ) override;\
119 virtual float SAL_CALL getCharHeight() override;\
120 virtual void SAL_CALL setCharHeight( float _charheight ) override;\
121 virtual ::sal_Int16 SAL_CALL getCharUnderline() override;\
122 virtual void SAL_CALL setCharUnderline( ::sal_Int16 _charunderline ) override;\
123 virtual float SAL_CALL getCharWeight() override;\
124 virtual void SAL_CALL setCharWeight( float _charweight ) override;\
125 virtual css::awt::FontSlant SAL_CALL getCharPosture() override;\
126 virtual void SAL_CALL setCharPosture( css::awt::FontSlant _charposture ) override;\
127 virtual ::sal_Int16 SAL_CALL getCharStrikeout() override;\
128 virtual void SAL_CALL setCharStrikeout( ::sal_Int16 _charstrikeout ) override;\
129 virtual sal_Bool SAL_CALL getCharWordMode() override;\
130 virtual void SAL_CALL setCharWordMode( sal_Bool _charwordmode ) override;\
131 virtual ::sal_Int16 SAL_CALL getCharRotation() override;\
132 virtual void SAL_CALL setCharRotation( ::sal_Int16 _charrotation ) override;\
133 virtual ::sal_Int16 SAL_CALL getCharScaleWidth() override;\
134 virtual void SAL_CALL setCharScaleWidth( ::sal_Int16 _charscalewidth ) override;\
135 virtual css::style::VerticalAlignment SAL_CALL getVerticalAlign() override;\
136 virtual void SAL_CALL setVerticalAlign( css::style::VerticalAlignment _paravertalignment ) override;\
137 virtual OUString SAL_CALL getHyperLinkURL() override;\
138 virtual void SAL_CALL setHyperLinkURL( const OUString& _hyperlinkurl ) override;\
139 virtual OUString SAL_CALL getHyperLinkTarget() override;\
140 virtual void SAL_CALL setHyperLinkTarget( const OUString& _hyperlinktarget ) override;\
141 virtual OUString SAL_CALL getHyperLinkName() override;\
142 virtual void SAL_CALL setHyperLinkName( const OUString& _hyperlinkname ) override;\
143 virtual OUString SAL_CALL getVisitedCharStyleName() override;\
144 virtual void SAL_CALL setVisitedCharStyleName( const OUString& _visitedcharstylename ) override;\
145 virtual OUString SAL_CALL getUnvisitedCharStyleName() override;\
146 virtual void SAL_CALL setUnvisitedCharStyleName( const OUString& _unvisitedcharstylename ) override;\
147 virtual float SAL_CALL getCharHeightAsian() override;\
148 virtual void SAL_CALL setCharHeightAsian( float _charheightasian ) override;\
149 virtual float SAL_CALL getCharWeightAsian() override;\
150 virtual void SAL_CALL setCharWeightAsian( float _charweightasian ) override;\
151 virtual OUString SAL_CALL getCharFontNameAsian() override;\
152 virtual void SAL_CALL setCharFontNameAsian( const OUString& _charfontnameasian ) override;\
153 virtual OUString SAL_CALL getCharFontStyleNameAsian() override;\
154 virtual void SAL_CALL setCharFontStyleNameAsian( const OUString& _charfontstylenameasian ) override;\
155 virtual ::sal_Int16 SAL_CALL getCharFontFamilyAsian() override;\
156 virtual void SAL_CALL setCharFontFamilyAsian( ::sal_Int16 _charfontfamilyasian ) override;\
157 virtual ::sal_Int16 SAL_CALL getCharFontCharSetAsian() override;\
158 virtual void SAL_CALL setCharFontCharSetAsian( ::sal_Int16 _charfontcharsetasian ) override;\
159 virtual ::sal_Int16 SAL_CALL getCharFontPitchAsian() override;\
160 virtual void SAL_CALL setCharFontPitchAsian( ::sal_Int16 _charfontpitchasian ) override;\
161 virtual css::awt::FontSlant SAL_CALL getCharPostureAsian() override;\
162 virtual void SAL_CALL setCharPostureAsian( css::awt::FontSlant _charpostureasian ) override;\
163 virtual css::lang::Locale SAL_CALL getCharLocaleAsian() override;\
164 virtual void SAL_CALL setCharLocaleAsian( const css::lang::Locale& _charlocaleasian ) override;\
165 virtual float SAL_CALL getCharHeightComplex() override;\
166 virtual void SAL_CALL setCharHeightComplex( float _charheightcomplex ) override;\
167 virtual float SAL_CALL getCharWeightComplex() override;\
168 virtual void SAL_CALL setCharWeightComplex( float _charweightcomplex ) override;\
169 virtual OUString SAL_CALL getCharFontNameComplex() override;\
170 virtual void SAL_CALL setCharFontNameComplex( const OUString& _charfontnamecomplex ) override;\
171 virtual OUString SAL_CALL getCharFontStyleNameComplex() override;\
172 virtual void SAL_CALL setCharFontStyleNameComplex( const OUString& _charfontstylenamecomplex ) override;\
173 virtual ::sal_Int16 SAL_CALL getCharFontFamilyComplex() override;\
174 virtual void SAL_CALL setCharFontFamilyComplex( ::sal_Int16 _charfontfamilycomplex ) override;\
175 virtual ::sal_Int16 SAL_CALL getCharFontCharSetComplex() override;\
176 virtual void SAL_CALL setCharFontCharSetComplex( ::sal_Int16 _charfontcharsetcomplex ) override;\
177 virtual ::sal_Int16 SAL_CALL getCharFontPitchComplex() override;\
178 virtual void SAL_CALL setCharFontPitchComplex( ::sal_Int16 _charfontpitchcomplex ) override;\
179 virtual css::awt::FontSlant SAL_CALL getCharPostureComplex() override;\
180 virtual void SAL_CALL setCharPostureComplex( css::awt::FontSlant _charposturecomplex ) override;\
181 virtual css::lang::Locale SAL_CALL getCharLocaleComplex() override;\
182 virtual void SAL_CALL setCharLocaleComplex( const css::lang::Locale& _charlocalecomplex ) override;
185 #endif // INCLUDED_REPORTDESIGN_INC_REPORTHELPERDEFINES_HXX
187 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */