LibreOffice Module reportdesign (master)  1
strings.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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 #pragma once
10 
11 #include <rtl/ustring.hxx>
12 
13 // Dialog Controls
14 
15 inline constexpr OUStringLiteral RID_STR_CLASS_FIXEDTEXT = u"Label";
16 inline constexpr OUStringLiteral RID_STR_CLASS_FIXEDLINE = u"Line";
17 inline constexpr OUStringLiteral RID_STR_CLASS_IMAGECONTROL = u"Graphic";
18 inline constexpr OUStringLiteral RID_STR_CLASS_FORMATTEDFIELD = u"FormattedField";
19 
20 //= service names
21 
22 inline constexpr OUStringLiteral SERVICE_FIXEDTEXT = u"com.sun.star.report.FixedText";
23 inline constexpr OUStringLiteral SERVICE_FORMATTEDFIELD = u"com.sun.star.report.FormattedField";
24 inline constexpr OUStringLiteral SERVICE_IMAGECONTROL = u"com.sun.star.report.ImageControl";
25 inline constexpr OUStringLiteral SERVICE_FORMATCONDITION = u"com.sun.star.report.FormatCondition";
26 inline constexpr OUStringLiteral SERVICE_FUNCTION = u"com.sun.star.report.Function";
27 inline constexpr OUStringLiteral SERVICE_REPORTDEFINITION = u"com.sun.star.report.ReportDefinition";
28 inline constexpr OUStringLiteral SERVICE_SHAPE = u"com.sun.star.report.Shape";
29 inline constexpr OUStringLiteral SERVICE_FIXEDLINE = u"com.sun.star.report.FixedLine";
30 inline constexpr OUStringLiteral SERVICE_SECTION = u"com.sun.star.report.Section";
31 inline constexpr OUStringLiteral SERVICE_GROUP = u"com.sun.star.report.Group";
32 
33 //= property names
34 
35 #define PROPERTY_VISIBLE "Visible"
36 #define PROPERTY_NAME "Name"
37 #define PROPERTY_HEIGHT "Height"
38 #define PROPERTY_BACKCOLOR "BackColor"
39 #define PROPERTY_BACKTRANSPARENT "BackTransparent"
40 #define PROPERTY_CONTROLBACKGROUND "ControlBackground"
41 #define PROPERTY_CONTROLBACKGROUNDTRANSPARENT "ControlBackgroundTransparent"
42 #define PROPERTY_FORCENEWPAGE "ForceNewPage"
43 #define PROPERTY_NEWROWORCOL "NewRowOrCol"
44 #define PROPERTY_KEEPTOGETHER "KeepTogether"
45 #define PROPERTY_CANGROW "CanGrow"
46 #define PROPERTY_CANSHRINK "CanShrink"
47 #define PROPERTY_REPEATSECTION "RepeatSection"
48 #define PROPERTY_GROUP "Group"
49 #define PROPERTY_REPORTDEFINITION "ReportDefinition"
50 
51 #define PROPERTY_GROUPINTERVAL "GroupInterval"
52 #define PROPERTY_EXPRESSION "Expression"
53 #define PROPERTY_GROUPON "GroupOn"
54 #define PROPERTY_SORTASCENDING "SortAscending"
55 
56 #define PROPERTY_MASTERFIELDS "MasterFields"
57 #define PROPERTY_DETAILFIELDS "DetailFields"
58 #define PROPERTY_CAPTION "Caption"
59 #define PROPERTY_COMMAND "Command"
60 #define PROPERTY_BACKGRAPHICLOCATION "BackGraphicLocation"
61 #define PROPERTY_ORIENTATION "Orientation"
62 #define PROPERTY_PAPERSIZE "Size"
63 #define PROPERTY_GROUPKEEPTOGETHER "GroupKeepTogether"
64 #define PROPERTY_PAGEHEADEROPTION "PageHeaderOption"
65 #define PROPERTY_PAGEFOOTEROPTION "PageFooterOption"
66 #define PROPERTY_COMMANDTYPE "CommandType"
67 #define PROPERTY_REPORTHEADERON "ReportHeaderOn"
68 #define PROPERTY_REPORTFOOTERON "ReportFooterOn"
69 #define PROPERTY_PAGEHEADERON "PageHeaderOn"
70 #define PROPERTY_PAGEFOOTERON "PageFooterOn"
71 #define PROPERTY_HEADERON u"HeaderOn"
72 #define PROPERTY_FOOTERON u"FooterOn"
73 #define PROPERTY_WIDTH "Width"
74 #define PROPERTY_POSITIONX "PositionX"
75 #define PROPERTY_POSITIONY "PositionY"
76 #define PROPERTY_AUTOGROW "AutoGrow"
77 #define PROPERTY_MINHEIGHT "MinHeight"
78 #define PROPERTY_DATAFIELD "DataField"
79 #define PROPERTY_PARAADJUST "ParaAdjust"
80 #define PROPERTY_FONTDESCRIPTOR "FontDescriptor"
81 #define PROPERTY_FONTDESCRIPTORASIAN "FontDescriptorAsian"
82 #define PROPERTY_FONTDESCRIPTORCOMPLEX "FontDescriptorComplex"
83 #define PROPERTY_CONTROLTEXTEMPHASISMARK "ControlTextEmphasis"
84 #define PROPERTY_CHARRELIEF "CharRelief"
85 #define PROPERTY_CHARCOLOR "CharColor"
86 #define PROPERTY_VERTICALALIGN "VerticalAlign"
87 #define PROPERTY_IMAGEURL "ImageURL"
88 #define PROPERTY_CHARUNDERLINECOLOR "CharUnderlineColor"
89 #define PROPERTY_LABEL "Label"
90 #define PROPERTY_EFFECTIVEDEFAULT "EffectiveDefault"
91 #define PROPERTY_EFFECTIVEMAX "EffectiveMax"
92 #define PROPERTY_EFFECTIVEMIN "EffectiveMin"
93 #define PROPERTY_FORMATKEY "FormatKey"
94 #define PROPERTY_MAXTEXTLEN "MaxTextLen"
95 #define PROPERTY_FORMATSSUPPLIER "FormatsSupplier"
96 #define PROPERTY_CONTROLBORDER "ControlBorder"
97 #define PROPERTY_CONTROLBORDERCOLOR "ControlBorderColor"
98 #define PROPERTY_BORDER "Border"
99 #define PROPERTY_BORDERCOLOR "BorderColor"
100 #define PROPERTY_DEFAULTCONTROL "DefaultControl"
101 
102 #define PROPERTY_LEFTMARGIN "LeftMargin"
103 #define PROPERTY_RIGHTMARGIN "RightMargin"
104 #define PROPERTY_TOPMARGIN "TopMargin"
105 #define PROPERTY_BOTTOMMARGIN "BottomMargin"
106 
107 #define PROPERTY_PRINTREPEATEDVALUES "PrintRepeatedValues"
108 #define PROPERTY_CONDITIONALPRINTEXPRESSION "ConditionalPrintExpression"
109 #define PROPERTY_STARTNEWCOLUMN "StartNewColumn"
110 #define PROPERTY_RESETPAGENUMBER "ResetPageNumber"
111 #define PROPERTY_PRINTWHENGROUPCHANGE "PrintWhenGroupChange"
112 #define PROPERTY_STATE "State"
113 #define PROPERTY_TIME_STATE "TimeState"
114 #define PROPERTY_DATE_STATE "DateState"
115 #define PROPERTY_FONTCHARWIDTH "FontCharWidth"
116 #define PROPERTY_FONTCHARSET "CharFontCharSet"
117 #define PROPERTY_FONTFAMILY "CharFontFamily"
118 #define PROPERTY_CHARFONTHEIGHT "CharHeight"
119 #define PROPERTY_FONTHEIGHT "FontHeight"
120 #define PROPERTY_FONTKERNING "FontKerning"
121 #define PROPERTY_FONT "FontDescriptor"
122 #define PROPERTY_FONTNAME "FontName"
123 #define PROPERTY_FONTORIENTATION "CharRotation"
124 #define PROPERTY_FONTPITCH "CharFontPitch"
125 #define PROPERTY_CHARSTRIKEOUT "CharStrikeout"
126 #define PROPERTY_FONTSTRIKEOUT "FontStrikeout"
127 #define PROPERTY_FONTSTYLENAME "CharFontStyleName"
128 #define PROPERTY_FONTUNDERLINE "CharUnderline"
129 #define PROPERTY_FONTWEIGHT "CharWeight"
130 #define PROPERTY_FONTWIDTH "FontWidth"
131 #define PROPERTY_FONTTYPE "FontType"
132 
133 #define PROPERTY_ENABLED "Enabled"
134 
135 #define PROPERTY_CHAREMPHASIS "CharEmphasis"
136 #define PROPERTY_CHARFONTNAME "CharFontName"
137 #define PROPERTY_CHARFONTSTYLENAME "CharFontStyleName"
138 #define PROPERTY_CHARFONTFAMILY "CharFontFamily"
139 #define PROPERTY_CHARFONTCHARSET "CharFontCharSet"
140 #define PROPERTY_CHARFONTPITCH "CharFontPitch"
141 #define PROPERTY_CHARHEIGHT "CharHeight"
142 #define PROPERTY_CHARUNDERLINE "CharUnderline"
143 #define PROPERTY_CHARWEIGHT "CharWeight"
144 #define PROPERTY_CHARPOSTURE "CharPosture"
145 #define PROPERTY_CHARWORDMODE "CharWordMode"
146 #define PROPERTY_CHARROTATION "CharRotation"
147 #define PROPERTY_CHARSCALEWIDTH "CharScaleWidth"
148 
149 // Asian
150 #define PROPERTY_CHAREMPHASISASIAN "CharEmphasisAsian"
151 #define PROPERTY_CHARFONTNAMEASIAN "CharFontNameAsian"
152 #define PROPERTY_CHARFONTSTYLENAMEASIAN "CharFontStyleNameAsian"
153 #define PROPERTY_CHARFONTFAMILYASIAN "CharFontFamilyAsian"
154 #define PROPERTY_CHARFONTCHARSETASIAN "CharFontCharSetAsian"
155 #define PROPERTY_CHARFONTPITCHASIAN "CharFontPitchAsian"
156 #define PROPERTY_CHARHEIGHTASIAN "CharHeightAsian"
157 #define PROPERTY_CHARUNDERLINEASIAN "CharUnderlineAsian"
158 #define PROPERTY_CHARWEIGHTASIAN "CharWeightAsian"
159 #define PROPERTY_CHARPOSTUREASIAN "CharPostureAsian"
160 #define PROPERTY_CHARWORDMODEASIAN "CharWordModeAsian"
161 #define PROPERTY_CHARROTATIONASIAN "CharRotationAsian"
162 #define PROPERTY_CHARSCALEWIDTHASIAN "CharScaleWidthAsian"
163 #define PROPERTY_CHARLOCALEASIAN "CharLocaleAsian"
164 
165 // Complex
166 #define PROPERTY_CHAREMPHASISCOMPLEX "CharEmphasisComplex"
167 #define PROPERTY_CHARFONTNAMECOMPLEX "CharFontNameComplex"
168 #define PROPERTY_CHARFONTSTYLENAMECOMPLEX "CharFontStyleNameComplex"
169 #define PROPERTY_CHARFONTFAMILYCOMPLEX "CharFontFamilyComplex"
170 #define PROPERTY_CHARFONTCHARSETCOMPLEX "CharFontCharSetComplex"
171 #define PROPERTY_CHARFONTPITCHCOMPLEX "CharFontPitchComplex"
172 #define PROPERTY_CHARHEIGHTCOMPLEX "CharHeightComplex"
173 #define PROPERTY_CHARUNDERLINECOMPLEX "CharUnderlineComplex"
174 #define PROPERTY_CHARWEIGHTCOMPLEX "CharWeightComplex"
175 #define PROPERTY_CHARPOSTURECOMPLEX "CharPostureComplex"
176 #define PROPERTY_CHARWORDMODECOMPLEX "CharWordModeComplex"
177 #define PROPERTY_CHARROTATIONCOMPLEX "CharRotationComplex"
178 #define PROPERTY_CHARSCALEWIDTHCOMPLEX "CharScaleWidthComplex"
179 #define PROPERTY_CHARLOCALECOMPLEX "CharLocaleComplex"
180 
181 #define PROPERTY_STATUSINDICATOR "StatusIndicator"
182 #define PROPERTY_SECTION "Section"
183 #define PROPERTY_FILTER "Filter"
184 #define PROPERTY_ESCAPEPROCESSING "EscapeProcessing"
185 
186 #define PROPERTY_MULTILINE "MultiLine"
187 #define PROPERTY_ACTIVECONNECTION "ActiveConnection"
188 #define PROPERTY_DATASOURCENAME "DataSourceName"
189 #define PROPERTY_FORMULA "Formula"
190 #define PROPERTY_INITIALFORMULA "InitialFormula"
191 #define PROPERTY_PREEVALUATED "PreEvaluated"
192 #define PROPERTY_DEEPTRAVERSING "DeepTraversing"
193 #define PROPERTY_MIMETYPE "MimeType"
194 #define PROPERTY_BACKGROUNDCOLOR "BackgroundColor"
195 #define PROPERTY_TEXT "Text"
196 #define PROPERTY_TEXTCOLOR "TextColor"
197 #define PROPERTY_TEXTLINECOLOR "TextLineColor"
198 #define PROPERTY_FONTRELIEF "FontRelief"
199 #define PROPERTY_FONTEMPHASISMARK "FontEmphasisMark"
200 #define PROPERTY_ZORDER "ZOrder"
201 #define PROPERTY_OPAQUE "Opaque"
202 #define PROPERTY_TRANSFORMATION "Transformation"
203 #define PROPERTY_CUSTOMSHAPEENGINE "CustomShapeEngine"
204 #define PROPERTY_CUSTOMSHAPEDATA "CustomShapeData"
205 #define PROPERTY_CUSTOMSHAPEGEOMETRY "CustomShapeGeometry"
206 
207 #define PROPERTY_NUMBERINGTYPE "NumberingType"
208 #define PROPERTY_PAGESTYLELAYOUT "PageStyleLayout"
209 #define PROPERTY_ISLANDSCAPE "IsLandscape"
210 #define PROPERTY_ALIGN "Align"
211 #define PROPERTY_TYPE "Type"
212 
213 #define PROPERTY_PRESERVEIRI "PreserveIRI"
214 #define PROPERTY_SCALEMODE "ScaleMode"
215 
216 #define PROPERTY_LINESTYLE "LineStyle"
217 #define PROPERTY_LINEDASH "LineDash"
218 #define PROPERTY_LINECOLOR "LineColor"
219 #define PROPERTY_LINETRANSPARENCE "LineTransparence"
220 #define PROPERTY_LINEWIDTH "LineWidth"
221 
222 #define PROPERTY_CHARFLASH "CharFlash"
223 #define PROPERTY_CHARESCAPEMENTHEIGHT "CharEscapementHeight"
224 #define PROPERTY_CHARLOCALE "CharLocale"
225 #define PROPERTY_CHARESCAPEMENT "CharEscapement"
226 #define PROPERTY_CHARCASEMAP "CharCaseMap"
227 #define PROPERTY_CHARCOMBINEISON "CharCombineIsOn"
228 #define PROPERTY_CHARCOMBINEPREFIX "CharCombinePrefix"
229 #define PROPERTY_CHARCOMBINESUFFIX "CharCombineSuffix"
230 #define PROPERTY_CHARHIDDEN "CharHidden"
231 #define PROPERTY_CHARSHADOWED "CharShadowed"
232 #define PROPERTY_CHARCONTOURED "CharContoured"
233 #define PROPERTY_CHARAUTOKERNING "CharAutoKerning"
234 #define PROPERTY_CHARKERNING "CharKerning"
235 #define PROPERTY_HYPERLINKURL "HyperLinkURL"
236 #define PROPERTY_HYPERLINKTARGET "HyperLinkTarget"
237 #define PROPERTY_HYPERLINKNAME "HyperLinkName"
238 #define PROPERTY_VISITEDCHARSTYLENAME "VisitedCharStyleName"
239 #define PROPERTY_UNVISITEDCHARSTYLENAME "UnvisitedCharStyleName"
240 #define PROPERTY_APPLYFILTER "ApplyFilter"
241 #define PROPERTY_MAXROWS "MaxRows"
242 
243 #define PROPERTY_REPORTNAME "ReportName"
244 inline constexpr OUStringLiteral CFG_REPORTDESIGNER = u"SunReportBuilder";
245 inline constexpr OUStringLiteral DBREPORTHEADER = u"ReportHeader";
246 inline constexpr OUStringLiteral DBREPORTFOOTER = u"ReportFooter";
247 inline constexpr OUStringLiteral DBPAGEHEADER = u"PageHeader";
248 inline constexpr OUStringLiteral DBPAGEFOOTER = u"PageFooter";
249 inline constexpr OUStringLiteral DBGROUPHEADER = u"GroupHeader";
250 inline constexpr OUStringLiteral DBGROUPFOOTER = u"GroupFooter";
251 inline constexpr OUStringLiteral DBDETAIL = u"Detail";
252 inline constexpr OUStringLiteral REPORTCONTROLFORMAT = u"ReportControlFormat";
253 inline constexpr OUStringLiteral CURRENT_WINDOW = u"CurrentWindow";
254 #define PROPERTY_FONTCOLOR "FontColor"
255 #define PROPERTY_EMPTY_IS_NULL "ConvertEmptyToNull"
256 #define PROPERTY_FILTERPROPOSAL "UseFilterValueProposal"
257 #define PROPERTY_POSITION "Position"
258 #define PROPERTY_FORMATKEYDATE "FormatKeyDate"
259 #define PROPERTY_FORMATKEYTIME "FormatKeyTime"
260 inline constexpr OUStringLiteral DBOVERLAPPEDCONTROL = u"OverlappedControl";
261 #define PROPERTY_FORMULALIST "FormulaList"
262 #define PROPERTY_SCOPE "Scope"
263 #define PROPERTY_CHARTTYPE "ChartType"
264 #define PROPERTY_PREVIEW_COUNT "RowLimit"
265 #define PROPERTY_TITLE "Title"
266 #define PROPERTY_AREA "Area"
267 #define PROPERTY_FILLCOLOR "FillColor"
268 inline constexpr OUStringLiteral DBTEXTBOXBOUNDCONTENT = u"TextBoxBoundContent";
269 
270 inline constexpr OUStringLiteral SERVICE_SETTINGSIMPORTER = u"com.sun.star.comp.Report.XMLOasisSettingsImporter";
271 inline constexpr OUStringLiteral SERVICE_STYLESIMPORTER = u"com.sun.star.comp.Report.XMLOasisStylesImporter";
272 inline constexpr OUStringLiteral SERVICE_CONTENTIMPORTER = u"com.sun.star.comp.Report.XMLOasisContentImporter";
273 inline constexpr OUStringLiteral SERVICE_METAIMPORTER = u"com.sun.star.comp.Report.XMLOasisMetaImporter";
274 #define PROPERTY_BORDERLEFT "BorderLeft"
275 #define PROPERTY_BORDERRIGHT "BorderRight"
276 #define PROPERTY_BORDERTOP "BorderTop"
277 #define PROPERTY_BORDERBOTTOM "BorderBottom"
278 
279 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
constexpr OUStringLiteral RID_STR_CLASS_FIXEDLINE
Definition: strings.hxx:16
constexpr OUStringLiteral DBGROUPHEADER
Definition: strings.hxx:249
constexpr OUStringLiteral RID_STR_CLASS_FORMATTEDFIELD
Definition: strings.hxx:18
constexpr OUStringLiteral SERVICE_STYLESIMPORTER
Definition: strings.hxx:271
constexpr OUStringLiteral SERVICE_FORMATTEDFIELD
Definition: strings.hxx:23
constexpr OUStringLiteral DBREPORTFOOTER
Definition: strings.hxx:246
constexpr OUStringLiteral DBREPORTHEADER
Definition: strings.hxx:245
constexpr OUStringLiteral DBPAGEHEADER
Definition: strings.hxx:247
constexpr OUStringLiteral RID_STR_CLASS_FIXEDTEXT
Definition: strings.hxx:15
constexpr OUStringLiteral SERVICE_REPORTDEFINITION
Definition: strings.hxx:27
constexpr OUStringLiteral SERVICE_FIXEDTEXT
Definition: strings.hxx:22
constexpr OUStringLiteral CFG_REPORTDESIGNER
Definition: strings.hxx:244
constexpr OUStringLiteral DBTEXTBOXBOUNDCONTENT
Definition: strings.hxx:268
constexpr OUStringLiteral SERVICE_FIXEDLINE
Definition: strings.hxx:29
float u
constexpr OUStringLiteral DBOVERLAPPEDCONTROL
Definition: strings.hxx:260
constexpr OUStringLiteral SERVICE_SHAPE
Definition: strings.hxx:28
constexpr OUStringLiteral SERVICE_SECTION
Definition: strings.hxx:30
constexpr OUStringLiteral REPORTCONTROLFORMAT
Definition: strings.hxx:252
constexpr OUStringLiteral DBPAGEFOOTER
Definition: strings.hxx:248
constexpr OUStringLiteral DBGROUPFOOTER
Definition: strings.hxx:250
constexpr OUStringLiteral SERVICE_CONTENTIMPORTER
Definition: strings.hxx:272
constexpr OUStringLiteral SERVICE_FORMATCONDITION
Definition: strings.hxx:25
constexpr OUStringLiteral SERVICE_IMAGECONTROL
Definition: strings.hxx:24
constexpr OUStringLiteral DBDETAIL
Definition: strings.hxx:251
constexpr OUStringLiteral SERVICE_SETTINGSIMPORTER
Definition: strings.hxx:270
constexpr OUStringLiteral CURRENT_WINDOW
Definition: strings.hxx:253
constexpr OUStringLiteral SERVICE_FUNCTION
Definition: strings.hxx:26
constexpr OUStringLiteral RID_STR_CLASS_IMAGECONTROL
Definition: strings.hxx:17
constexpr OUStringLiteral SERVICE_GROUP
Definition: strings.hxx:31
constexpr OUStringLiteral SERVICE_METAIMPORTER
Definition: strings.hxx:273