LibreOffice Module reportdesign (master) 1
ReportHelperDefines.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19#ifndef INCLUDED_REPORTDESIGN_INC_REPORTHELPERDEFINES_HXX
20#define INCLUDED_REPORTDESIGN_INC_REPORTHELPERDEFINES_HXX
21
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;
30
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;
36
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_Bool SAL_CALL getAutoGrow() override; \
49 virtual void SAL_CALL setAutoGrow(sal_Bool the_value) override; \
50 virtual ::sal_Int16 SAL_CALL getControlBorder() override; \
51 virtual void SAL_CALL setControlBorder(::sal_Int16 the_value) override; \
52 virtual ::sal_Int32 SAL_CALL getControlBorderColor() override; \
53 virtual void SAL_CALL setControlBorderColor(::sal_Int32 the_value) override; \
54 virtual sal_Bool SAL_CALL getPrintRepeatedValues() override; \
55 virtual void SAL_CALL setPrintRepeatedValues(sal_Bool the_value) override; \
56 virtual css::uno::Sequence< OUString > SAL_CALL getMasterFields() override; \
57 virtual void SAL_CALL setMasterFields( const css::uno::Sequence< OUString >& _masterfields ) override; \
58 virtual css::uno::Sequence< OUString > SAL_CALL getDetailFields() override; \
59 virtual void SAL_CALL setDetailFields( const css::uno::Sequence< OUString >& _detailfields ) override; \
60 virtual css::uno::Reference< css::report::XSection > SAL_CALL getSection() override;
61
62#define REPORTCONTROLFORMAT_HEADER() \
63 virtual ::sal_Int32 SAL_CALL getControlBackground() override;\
64 virtual void SAL_CALL setControlBackground( ::sal_Int32 _controlbackground ) override;\
65 virtual sal_Bool SAL_CALL getControlBackgroundTransparent() override;\
66 virtual void SAL_CALL setControlBackgroundTransparent( sal_Bool _controlbackgroundtransparent ) override;\
67 virtual ::sal_Int16 SAL_CALL getParaAdjust() override;\
68 virtual void SAL_CALL setParaAdjust( ::sal_Int16 _paraadjust ) override;\
69 virtual css::awt::FontDescriptor SAL_CALL getFontDescriptor() override;\
70 virtual void SAL_CALL setFontDescriptor( const css::awt::FontDescriptor& _fontdescriptor ) override;\
71 virtual css::awt::FontDescriptor SAL_CALL getFontDescriptorAsian() override;\
72 virtual void SAL_CALL setFontDescriptorAsian( const css::awt::FontDescriptor& _fontdescriptor ) override;\
73 virtual css::awt::FontDescriptor SAL_CALL getFontDescriptorComplex() override;\
74 virtual void SAL_CALL setFontDescriptorComplex( const css::awt::FontDescriptor& _fontdescriptor ) override;\
75 virtual ::sal_Int16 SAL_CALL getControlTextEmphasis() override;\
76 virtual void SAL_CALL setControlTextEmphasis( ::sal_Int16 _controltextemphasis ) override;\
77 virtual ::sal_Int16 SAL_CALL getCharEmphasis() override;\
78 virtual void SAL_CALL setCharEmphasis( ::sal_Int16 _charemphasis ) override;\
79 virtual sal_Bool SAL_CALL getCharCombineIsOn() override;\
80 virtual void SAL_CALL setCharCombineIsOn( sal_Bool _charcombineison ) override;\
81 virtual OUString SAL_CALL getCharCombinePrefix() override;\
82 virtual void SAL_CALL setCharCombinePrefix( const OUString& _charcombineprefix ) override;\
83 virtual OUString SAL_CALL getCharCombineSuffix() override;\
84 virtual void SAL_CALL setCharCombineSuffix( const OUString& _charcombinesuffix ) override;\
85 virtual sal_Bool SAL_CALL getCharHidden() override;\
86 virtual void SAL_CALL setCharHidden( sal_Bool _charhidden ) override;\
87 virtual sal_Bool SAL_CALL getCharShadowed() override;\
88 virtual void SAL_CALL setCharShadowed( sal_Bool _charshadowed ) override;\
89 virtual sal_Bool SAL_CALL getCharContoured() override;\
90 virtual void SAL_CALL setCharContoured( sal_Bool _charcontoured ) override;\
91 virtual ::sal_Int16 SAL_CALL getCharCaseMap() override;\
92 virtual void SAL_CALL setCharCaseMap( ::sal_Int16 _charcasemap ) override;\
93 virtual css::lang::Locale SAL_CALL getCharLocale() override;\
94 virtual void SAL_CALL setCharLocale( const css::lang::Locale& _charlocale ) override;\
95 virtual ::sal_Int16 SAL_CALL getCharEscapement() override;\
96 virtual void SAL_CALL setCharEscapement( ::sal_Int16 _charescapement ) override;\
97 virtual ::sal_Int8 SAL_CALL getCharEscapementHeight() override;\
98 virtual void SAL_CALL setCharEscapementHeight( ::sal_Int8 _charescapementheight ) override;\
99 virtual sal_Bool SAL_CALL getCharAutoKerning() override;\
100 virtual void SAL_CALL setCharAutoKerning( sal_Bool _charautokerning ) override;\
101 virtual ::sal_Int16 SAL_CALL getCharKerning() override;\
102 virtual void SAL_CALL setCharKerning( ::sal_Int16 _charkerning ) override;\
103 virtual sal_Bool SAL_CALL getCharFlash() override;\
104 virtual void SAL_CALL setCharFlash( sal_Bool _charflash ) override;\
105 virtual ::sal_Int16 SAL_CALL getCharRelief() override;\
106 virtual void SAL_CALL setCharRelief( ::sal_Int16 _charrelief ) override;\
107 virtual OUString SAL_CALL getCharFontName() override;\
108 virtual void SAL_CALL setCharFontName( const OUString& _charfontname ) override;\
109 virtual OUString SAL_CALL getCharFontStyleName() override;\
110 virtual void SAL_CALL setCharFontStyleName( const OUString& _charfontstylename ) override;\
111 virtual ::sal_Int16 SAL_CALL getCharFontFamily() override;\
112 virtual void SAL_CALL setCharFontFamily( ::sal_Int16 _charfontfamily ) override;\
113 virtual ::sal_Int16 SAL_CALL getCharFontCharSet() override;\
114 virtual void SAL_CALL setCharFontCharSet( ::sal_Int16 _charfontcharset ) override;\
115 virtual ::sal_Int16 SAL_CALL getCharFontPitch() override;\
116 virtual void SAL_CALL setCharFontPitch( ::sal_Int16 _charfontpitch ) override;\
117 virtual ::sal_Int32 SAL_CALL getCharColor() override;\
118 virtual void SAL_CALL setCharColor( ::sal_Int32 _charcolor ) override;\
119 virtual ::sal_Int32 SAL_CALL getCharUnderlineColor() override;\
120 virtual void SAL_CALL setCharUnderlineColor( ::sal_Int32 _charunderlinecolor ) override;\
121 virtual float SAL_CALL getCharHeight() override;\
122 virtual void SAL_CALL setCharHeight( float _charheight ) override;\
123 virtual ::sal_Int16 SAL_CALL getCharUnderline() override;\
124 virtual void SAL_CALL setCharUnderline( ::sal_Int16 _charunderline ) override;\
125 virtual float SAL_CALL getCharWeight() override;\
126 virtual void SAL_CALL setCharWeight( float _charweight ) override;\
127 virtual css::awt::FontSlant SAL_CALL getCharPosture() override;\
128 virtual void SAL_CALL setCharPosture( css::awt::FontSlant _charposture ) override;\
129 virtual ::sal_Int16 SAL_CALL getCharStrikeout() override;\
130 virtual void SAL_CALL setCharStrikeout( ::sal_Int16 _charstrikeout ) override;\
131 virtual sal_Bool SAL_CALL getCharWordMode() override;\
132 virtual void SAL_CALL setCharWordMode( sal_Bool _charwordmode ) override;\
133 virtual ::sal_Int16 SAL_CALL getCharRotation() override;\
134 virtual void SAL_CALL setCharRotation( ::sal_Int16 _charrotation ) override;\
135 virtual ::sal_Int16 SAL_CALL getCharScaleWidth() override;\
136 virtual void SAL_CALL setCharScaleWidth( ::sal_Int16 _charscalewidth ) override;\
137 virtual css::style::VerticalAlignment SAL_CALL getVerticalAlign() override;\
138 virtual void SAL_CALL setVerticalAlign( css::style::VerticalAlignment _paravertalignment ) override;\
139 virtual OUString SAL_CALL getHyperLinkURL() override;\
140 virtual void SAL_CALL setHyperLinkURL( const OUString& _hyperlinkurl ) override;\
141 virtual OUString SAL_CALL getHyperLinkTarget() override;\
142 virtual void SAL_CALL setHyperLinkTarget( const OUString& _hyperlinktarget ) override;\
143 virtual OUString SAL_CALL getHyperLinkName() override;\
144 virtual void SAL_CALL setHyperLinkName( const OUString& _hyperlinkname ) override;\
145 virtual OUString SAL_CALL getVisitedCharStyleName() override;\
146 virtual void SAL_CALL setVisitedCharStyleName( const OUString& _visitedcharstylename ) override;\
147 virtual OUString SAL_CALL getUnvisitedCharStyleName() override;\
148 virtual void SAL_CALL setUnvisitedCharStyleName( const OUString& _unvisitedcharstylename ) override;\
149 virtual float SAL_CALL getCharHeightAsian() override;\
150 virtual void SAL_CALL setCharHeightAsian( float _charheightasian ) override;\
151 virtual float SAL_CALL getCharWeightAsian() override;\
152 virtual void SAL_CALL setCharWeightAsian( float _charweightasian ) override;\
153 virtual OUString SAL_CALL getCharFontNameAsian() override;\
154 virtual void SAL_CALL setCharFontNameAsian( const OUString& _charfontnameasian ) override;\
155 virtual OUString SAL_CALL getCharFontStyleNameAsian() override;\
156 virtual void SAL_CALL setCharFontStyleNameAsian( const OUString& _charfontstylenameasian ) override;\
157 virtual ::sal_Int16 SAL_CALL getCharFontFamilyAsian() override;\
158 virtual void SAL_CALL setCharFontFamilyAsian( ::sal_Int16 _charfontfamilyasian ) override;\
159 virtual ::sal_Int16 SAL_CALL getCharFontCharSetAsian() override;\
160 virtual void SAL_CALL setCharFontCharSetAsian( ::sal_Int16 _charfontcharsetasian ) override;\
161 virtual ::sal_Int16 SAL_CALL getCharFontPitchAsian() override;\
162 virtual void SAL_CALL setCharFontPitchAsian( ::sal_Int16 _charfontpitchasian ) override;\
163 virtual css::awt::FontSlant SAL_CALL getCharPostureAsian() override;\
164 virtual void SAL_CALL setCharPostureAsian( css::awt::FontSlant _charpostureasian ) override;\
165 virtual css::lang::Locale SAL_CALL getCharLocaleAsian() override;\
166 virtual void SAL_CALL setCharLocaleAsian( const css::lang::Locale& _charlocaleasian ) override;\
167 virtual float SAL_CALL getCharHeightComplex() override;\
168 virtual void SAL_CALL setCharHeightComplex( float _charheightcomplex ) override;\
169 virtual float SAL_CALL getCharWeightComplex() override;\
170 virtual void SAL_CALL setCharWeightComplex( float _charweightcomplex ) override;\
171 virtual OUString SAL_CALL getCharFontNameComplex() override;\
172 virtual void SAL_CALL setCharFontNameComplex( const OUString& _charfontnamecomplex ) override;\
173 virtual OUString SAL_CALL getCharFontStyleNameComplex() override;\
174 virtual void SAL_CALL setCharFontStyleNameComplex( const OUString& _charfontstylenamecomplex ) override;\
175 virtual ::sal_Int16 SAL_CALL getCharFontFamilyComplex() override;\
176 virtual void SAL_CALL setCharFontFamilyComplex( ::sal_Int16 _charfontfamilycomplex ) override;\
177 virtual ::sal_Int16 SAL_CALL getCharFontCharSetComplex() override;\
178 virtual void SAL_CALL setCharFontCharSetComplex( ::sal_Int16 _charfontcharsetcomplex ) override;\
179 virtual ::sal_Int16 SAL_CALL getCharFontPitchComplex() override;\
180 virtual void SAL_CALL setCharFontPitchComplex( ::sal_Int16 _charfontpitchcomplex ) override;\
181 virtual css::awt::FontSlant SAL_CALL getCharPostureComplex() override;\
182 virtual void SAL_CALL setCharPostureComplex( css::awt::FontSlant _charposturecomplex ) override;\
183 virtual css::lang::Locale SAL_CALL getCharLocaleComplex() override;\
184 virtual void SAL_CALL setCharLocaleComplex( const css::lang::Locale& _charlocalecomplex ) override;
185
186
187#endif // INCLUDED_REPORTDESIGN_INC_REPORTHELPERDEFINES_HXX
188
189/* vim:set shiftwidth=4 softtabstop=4 expandtab: */