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 
20 #pragma once
21 
22 // service names
23 #define SC_SERVICENAME_VALBIND          "com.sun.star.table.CellValueBinding"
24 #define SC_SERVICENAME_LISTCELLBIND     "com.sun.star.table.ListPositionCellBinding"
25 #define SC_SERVICENAME_LISTSOURCE       "com.sun.star.table.CellRangeListSource"
26 #define SC_SERVICENAME_CELLADDRESS      "com.sun.star.table.CellAddressConversion"
27 #define SC_SERVICENAME_RANGEADDRESS     "com.sun.star.table.CellRangeAddressConversion"
28 
29 #define SC_SERVICENAME_FORMULAPARS      "com.sun.star.sheet.FormulaParser"
30 #define SC_SERVICENAME_OPCODEMAPPER     "com.sun.star.sheet.FormulaOpCodeMapper"
31 
32 #define SC_SERVICENAME_CHDATAPROV       "com.sun.star.chart2.data.DataProvider"
33 #define SC_SERVICENAME_CHRANGEHILIGHT   "com.sun.star.chart2.data.RangeHighlightListener"
34 #define SC_SERVICENAME_CHART_PIVOTTABLE_DATAPROVIDER "com.sun.star.chart2.data.PivotTableDataProvider"
35 
36 //  document
37 #define SC_UNO_AREALINKS            "AreaLinks"
38 #define SC_UNO_DDELINKS             "DDELinks"
39 #define SC_UNO_EXTERNALDOCLINKS     "ExternalDocLinks"
40 #define SC_UNO_COLLABELRNG          "ColumnLabelRanges"
41 #define SC_UNO_DATABASERNG          "DatabaseRanges"
42 #define SC_UNO_UNNAMEDDBRNG         "UnnamedDatabaseRanges"
43 #define SC_UNO_NAMEDRANGES          "NamedRanges"
44 #define SC_UNO_ROWLABELRNG          "RowLabelRanges"
45 #define SC_UNO_SHEETLINKS           "SheetLinks"
46 #define SC_UNO_FORBIDDEN            "ForbiddenCharacters"
47 #define SC_UNO_HASDRAWPAGES         "HasDrawPages"
48 
49 //  CharacterProperties
50 #define SC_UNONAME_CCOLOR           "CharColor"
51 #define SC_UNONAME_CHEIGHT          "CharHeight"
52 #define SC_UNONAME_CUNDER           "CharUnderline"
53 #define SC_UNONAME_CUNDLCOL         "CharUnderlineColor"
54 #define SC_UNONAME_CUNDLHAS         "CharUnderlineHasColor"
55 #define SC_UNONAME_COVER            "CharOverline"
56 #define SC_UNONAME_COVRLCOL         "CharOverlineColor"
57 #define SC_UNONAME_COVRLHAS         "CharOverlineHasColor"
58 #define SC_UNONAME_CWEIGHT          "CharWeight"
59 #define SC_UNONAME_CPOST            "CharPosture"
60 #define SC_UNONAME_CCROSS           "CharCrossedOut"
61 #define SC_UNONAME_CSTRIKE          "CharStrikeout"
62 #define SC_UNONAME_CLOCAL           "CharLocale"
63 #define SC_UNONAME_CSHADD           "CharShadowed"
64 #define SC_UNONAME_CFONT            "CharFont"
65 #define SC_UNONAME_COUTL            "CharContoured"
66 #define SC_UNONAME_CEMPHAS          "CharEmphasis"
67 #define SC_UNONAME_CFNAME           "CharFontName"
68 #define SC_UNONAME_CFSTYLE          "CharFontStyleName"
69 #define SC_UNONAME_CFFAMIL          "CharFontFamily"
70 #define SC_UNONAME_CFCHARS          "CharFontCharSet"
71 #define SC_UNONAME_CFPITCH          "CharFontPitch"
72 #define SC_UNONAME_CRELIEF          "CharRelief"
73 #define SC_UNONAME_CWORDMOD         "CharWordMode"
74 
75 #define SC_UNO_CJK_CFNAME           "CharFontNameAsian"
76 #define SC_UNO_CJK_CFSTYLE          "CharFontStyleNameAsian"
77 #define SC_UNO_CJK_CFFAMIL          "CharFontFamilyAsian"
78 #define SC_UNO_CJK_CFCHARS          "CharFontCharSetAsian"
79 #define SC_UNO_CJK_CFPITCH          "CharFontPitchAsian"
80 #define SC_UNO_CJK_CHEIGHT          "CharHeightAsian"
81 #define SC_UNO_CJK_CWEIGHT          "CharWeightAsian"
82 #define SC_UNO_CJK_CPOST            "CharPostureAsian"
83 #define SC_UNO_CJK_CLOCAL           "CharLocaleAsian"
84 
85 #define SC_UNO_CTL_CFNAME           "CharFontNameComplex"
86 #define SC_UNO_CTL_CFSTYLE          "CharFontStyleNameComplex"
87 #define SC_UNO_CTL_CFFAMIL          "CharFontFamilyComplex"
88 #define SC_UNO_CTL_CFCHARS          "CharFontCharSetComplex"
89 #define SC_UNO_CTL_CFPITCH          "CharFontPitchComplex"
90 #define SC_UNO_CTL_CHEIGHT          "CharHeightComplex"
91 #define SC_UNO_CTL_CWEIGHT          "CharWeightComplex"
92 #define SC_UNO_CTL_CPOST            "CharPostureComplex"
93 #define SC_UNO_CTL_CLOCAL           "CharLocaleComplex"
94 
95 //  CellProperties
96 #define SC_UNONAME_CELLSTYL         "CellStyle"
97 #define SC_UNONAME_CELLBACK         "CellBackColor"
98 #define SC_UNONAME_CELLTRAN         "IsCellBackgroundTransparent"
99 #define SC_UNONAME_CELLPRO          "CellProtection"
100 #define SC_UNONAME_CELLHJUS         "HoriJustify"
101 #define SC_UNONAME_CELLVJUS         "VertJustify"
102 #define SC_UNONAME_CELLHJUS_METHOD  "HoriJustifyMethod"
103 #define SC_UNONAME_CELLVJUS_METHOD  "VertJustifyMethod"
104 #define SC_UNONAME_CELLORI          "Orientation"
105 #define SC_UNONAME_NUMFMT           "NumberFormat"
106 #define SC_UNONAME_FORMATID         "FormatID"
107 #define SC_UNONAME_SHADOW           "ShadowFormat"
108 #define SC_UNONAME_TBLBORD          "TableBorder"
109 #define SC_UNONAME_TBLBORD2         "TableBorder2"
110 #define SC_UNONAME_WRAP             "IsTextWrapped"
111 #define SC_UNONAME_PINDENT          "ParaIndent"
112 #define SC_UNONAME_PTMARGIN         "ParaTopMargin"
113 #define SC_UNONAME_PBMARGIN         "ParaBottomMargin"
114 #define SC_UNONAME_PLMARGIN         "ParaLeftMargin"
115 #define SC_UNONAME_PRMARGIN         "ParaRightMargin"
116 #define SC_UNONAME_ROTANG           "RotateAngle"
117 #define SC_UNONAME_ROTREF           "RotateReference"
118 #define SC_UNONAME_ASIANVERT        "AsianVerticalMode"
119 #define SC_UNONAME_WRITING          "WritingMode"
120 #define SC_UNONAME_HIDDEN           "Hidden"
121 
122 #define SC_UNONAME_BOTTBORDER       "BottomBorder"
123 #define SC_UNONAME_LEFTBORDER       "LeftBorder"
124 #define SC_UNONAME_RIGHTBORDER      "RightBorder"
125 #define SC_UNONAME_TOPBORDER        "TopBorder"
126 
127 #define SC_UNONAME_BOTTBORDER2      "BottomBorder2"
128 #define SC_UNONAME_LEFTBORDER2      "LeftBorder2"
129 #define SC_UNONAME_RIGHTBORDER2     "RightBorder2"
130 #define SC_UNONAME_TOPBORDER2       "TopBorder2"
131 
132 #define SC_UNONAME_DIAGONAL_TLBR    "DiagonalTLBR"
133 #define SC_UNONAME_DIAGONAL_BLTR    "DiagonalBLTR"
134 
135 #define SC_UNONAME_DIAGONAL_TLBR2   "DiagonalTLBR2"
136 #define SC_UNONAME_DIAGONAL_BLTR2   "DiagonalBLTR2"
137 
138 #define SC_UNONAME_SHRINK_TO_FIT    "ShrinkToFit"
139 
140 #define SC_UNONAME_PISHANG          "ParaIsHangingPunctuation"
141 #define SC_UNONAME_PISCHDIST        "ParaIsCharacterDistance"
142 #define SC_UNONAME_PISFORBID        "ParaIsForbiddenRules"
143 #define SC_UNONAME_PISHYPHEN        "ParaIsHyphenation"
144 #define SC_UNONAME_PADJUST          "ParaAdjust"
145 #define SC_UNONAME_PLASTADJ         "ParaLastLineAdjust"
146 
147 #define SC_UNONAME_NUMRULES         "NumberingRules"
148 
149 //  Styles
150 #define SC_UNONAME_DISPNAME         "DisplayName"
151 
152 //  XStyleLoader
153 #define SC_UNONAME_OVERWSTL         "OverwriteStyles"
154 #define SC_UNONAME_LOADCELL         "LoadCellStyles"
155 #define SC_UNONAME_LOADPAGE         "LoadPageStyles"
156 
157 //  SheetCellRange
158 #define SC_UNONAME_POS              "Position"
159 #define SC_UNONAME_SIZE             "Size"
160 #define SC_UNONAME_ABSNAME          "AbsoluteName"
161 
162 //  column/row/sheet
163 #define SC_UNONAME_CELLHGT          "Height"
164 #define SC_UNONAME_CELLWID          "Width"
165 #define SC_UNONAME_CELLVIS          "IsVisible"
166 #define SC_UNONAME_CELLFILT         "IsFiltered"
167 #define SC_UNONAME_MANPAGE          "IsManualPageBreak"
168 #define SC_UNONAME_NEWPAGE          "IsStartOfNewPage"
169 #define SC_UNONAME_OHEIGHT          "OptimalHeight"
170 #define SC_UNONAME_OWIDTH           "OptimalWidth"
171 #define SC_UNONAME_PAGESTL          "PageStyle"
172 #define SC_UNONAME_ISACTIVE         "IsActive"
173 #define SC_UNONAME_BORDCOL          "BorderColor"
174 #define SC_UNONAME_PROTECT          "Protected"
175 #define SC_UNONAME_SHOWBORD         "ShowBorder"
176 #define SC_UNONAME_PRINTBORD        "PrintBorder"
177 #define SC_UNONAME_COPYBACK         "CopyBack"
178 #define SC_UNONAME_COPYSTYL         "CopyStyles"
179 #define SC_UNONAME_COPYFORM         "CopyFormulas"
180 #define SC_UNONAME_TABLAYOUT        "TableLayout"
181 #define SC_UNONAME_AUTOPRINT        "AutomaticPrintArea"
182 #define SC_UNONAME_TABCOLOR         "TabColor"
183 #define SC_UNONAME_CONDFORMAT       "ConditionalFormats"
184 
185 #define SC_UNONAME_VISFLAG          "VisibleFlag"
186 
187 //  LinkTarget
188 #define SC_UNO_LINKDISPBIT          "LinkDisplayBitmap"
189 #define SC_UNO_LINKDISPNAME         "LinkDisplayName"
190 
191 //  drawing objects
192 #define SC_UNONAME_IMAGEMAP         "ImageMap"
193 #define SC_UNONAME_ANCHOR           "Anchor"
194 #define SC_UNONAME_RESIZE_WITH_CELL "ResizeWithCell"
195 #define SC_UNONAME_HORIPOS          "HoriOrientPosition"
196 #define SC_UNONAME_VERTPOS          "VertOrientPosition"
197 #define SC_UNONAME_HYPERLINK        "Hyperlink"
198 #define SC_UNONAME_MOVEPROTECT      "MoveProtect"
199 
200 //  other cell properties
201 #define SC_UNONAME_CHCOLHDR         "ChartColumnAsLabel"
202 #define SC_UNONAME_CHROWHDR         "ChartRowAsLabel"
203 #define SC_UNONAME_CONDFMT          "ConditionalFormat"
204 #define SC_UNONAME_CONDLOC          "ConditionalFormatLocal"
205 #define SC_UNONAME_CONDXML          "ConditionalFormatXML"
206 #define SC_UNONAME_VALIDAT          "Validation"
207 #define SC_UNONAME_VALILOC          "ValidationLocal"
208 #define SC_UNONAME_VALIXML          "ValidationXML"
209 #define SC_UNONAME_FORMLOC          "FormulaLocal"
210 #define SC_UNONAME_FORMRT           "FormulaResultType"
211 #define SC_UNONAME_FORMRT2          "FormulaResultType2"
212 #define SC_UNONAME_CELLCONTENTTYPE  "CellContentType"
213 
214 #define SC_UNONAME_USERDEF          "UserDefinedAttributes"
215 #define SC_UNONAME_TEXTUSER         "TextUserDefinedAttributes"
216 
217 //  auto format
218 #define SC_UNONAME_INCBACK          "IncludeBackground"
219 #define SC_UNONAME_INCBORD          "IncludeBorder"
220 #define SC_UNONAME_INCFONT          "IncludeFont"
221 #define SC_UNONAME_INCJUST          "IncludeJustify"
222 #define SC_UNONAME_INCNUM           "IncludeNumberFormat"
223 #define SC_UNONAME_INCWIDTH         "IncludeWidthAndHeight"
224 
225 //  function description
226 #define SC_UNONAME_ARGUMENTS        "Arguments"
227 #define SC_UNONAME_CATEGORY         "Category"
228 #define SC_UNONAME_DESCRIPTION      "Description"
229 #define SC_UNONAME_ID               "Id"
230 #define SC_UNONAME_NAME             "Name"
231 
232 //  application settings
233 #define SC_UNONAME_DOAUTOCP         "DoAutoComplete"
234 #define SC_UNONAME_ENTERED          "EnterEdit"
235 #define SC_UNONAME_EXPREF           "ExpandReferences"
236 #define SC_UNONAME_EXTFMT           "ExtendFormat"
237 #define SC_UNONAME_LINKUPD          "LinkUpdateMode"
238 #define SC_UNONAME_MARKHDR          "MarkHeader"
239 #define SC_UNONAME_METRIC           "Metric"
240 #define SC_UNONAME_MOVEDIR          "MoveDirection"
241 #define SC_UNONAME_MOVESEL          "MoveSelection"
242 #define SC_UNONAME_RANGEFIN         "RangeFinder"
243 #define SC_UNONAME_SCALE            "Scale"
244 #define SC_UNONAME_STBFUNC          "StatusBarFunction"
245 #define SC_UNONAME_ULISTS           "UserLists"
246 #define SC_UNONAME_USETABCOL        "UseTabCol"
247 #define SC_UNONAME_PRMETRICS        "UsePrinterMetrics"
248 #define SC_UNONAME_PRALLSH          "PrintAllSheets"
249 #define SC_UNONAME_PREMPTY          "PrintEmptyPages"
250 #define SC_UNONAME_REPLWARN         "ReplaceCellsWarning"
251 
252 //  data pilot field
253 #define SC_UNONAME_FUNCTION         "Function"
254 #define SC_UNONAME_FUNCTION2        "Function2"
255 #define SC_UNONAME_SUBTOTALS        "Subtotals"
256 #define SC_UNONAME_SUBTOTALS2       "Subtotals2"
257 #define SC_UNONAME_SELPAGE          "SelectedPage"
258 #define SC_UNONAME_USESELPAGE       "UseSelectedPage"
259 #define SC_UNONAME_HASREFERENCE     "HasReference"
260 #define SC_UNONAME_REFERENCE        "Reference"
261 #define SC_UNONAME_HASAUTOSHOW      "HasAutoShowInfo"
262 #define SC_UNONAME_AUTOSHOW         "AutoShowInfo"
263 #define SC_UNONAME_HASSORTINFO      "HasSortInfo"
264 #define SC_UNONAME_SORTINFO         "SortInfo"
265 #define SC_UNONAME_HASLAYOUTINFO    "HasLayoutInfo"
266 #define SC_UNONAME_LAYOUTINFO       "LayoutInfo"
267 #define SC_UNONAME_ISGROUP          "IsGroupField"
268 #define SC_UNONAME_GROUPINFO        "GroupInfo"
269 #define SC_UNONAME_SHOWEMPTY        "ShowEmpty"
270 #define SC_UNONAME_REPEATITEMLABELS "RepeatItemLabels"
271 
272 //  data pilot item
273 #define SC_UNONAME_SHOWDETAIL       "ShowDetail"
274 #define SC_UNONAME_ISHIDDEN         "IsHidden"
275 
276 //  database options
277 #define SC_UNONAME_CASE             "CaseSensitive"
278 #define SC_UNONAME_DBNAME           "DatabaseName"
279 #define SC_UNONAME_FORMATS          "IncludeFormats"
280 #define SC_UNONAME_INSBRK           "InsertPageBreaks"
281 #define SC_UNONAME_KEEPFORM         "KeepFormats"
282 #define SC_UNONAME_MOVCELLS         "MoveCells"
283 #define SC_UNONAME_ISUSER           "IsUserDefined"
284 #define SC_UNONAME_ISNATIVE         "IsNative"
285 #define SC_UNONAME_REGEXP           "RegularExpressions"
286 #define SC_UNONAME_WILDCARDS        "Wildcards"
287 #define SC_UNONAME_SAVEOUT          "SaveOutputPosition"
288 #define SC_UNONAME_SKIPDUP          "SkipDuplicates"
289 #define SC_UNONAME_SRCOBJ           "SourceObject"
290 #define SC_UNONAME_SRCTYPE          "SourceType"
291 #define SC_UNONAME_STRIPDAT         "StripData"
292 #define SC_UNONAME_USEREGEX         "UseRegularExpressions"
293 #define SC_UNONAME_ULIST            "UserListEnabled"
294 #define SC_UNONAME_UINDEX           "UserListIndex"
295 #define SC_UNONAME_BINDFMT          "BindFormatsToContent"
296 #define SC_UNONAME_COPYOUT          "CopyOutputData"
297 #define SC_UNONAME_ISCASE           "IsCaseSensitive"
298 #define SC_UNONAME_ISULIST          "IsUserListEnabled"
299 #define SC_UNONAME_OUTPOS           "OutputPosition"
300 #define SC_UNONAME_CONTHDR          "ContainsHeader"
301 #define SC_UNONAME_MAXFLD           "MaxFieldCount"
302 #define SC_UNONAME_ORIENT           "Orientation"
303 #define SC_UNONAME_ISSORTCOLUMNS    "IsSortColumns"
304 #define SC_UNONAME_SORTFLD          "SortFields"
305 #define SC_UNONAME_SORTASC          "SortAscending"
306 #define SC_UNONAME_ENUSLIST         "EnableUserSortList"
307 #define SC_UNONAME_USINDEX          "UserSortListIndex"
308 #define SC_UNONAME_COLLLOC          "CollatorLocale"
309 #define SC_UNONAME_COLLALG          "CollatorAlgorithm"
310 #define SC_UNONAME_AUTOFLT          "AutoFilter"
311 #define SC_UNONAME_FLTCRT           "FilterCriteriaSource"
312 #define SC_UNONAME_USEFLTCRT        "UseFilterCriteriaSource"
313 #define SC_UNONAME_ENABSORT         "EnableSort"
314 #define SC_UNONAME_FROMSELECT       "FromSelection"
315 #define SC_UNONAME_CONRES           "ConnectionResource"
316 #define SC_UNONAME_TOKENINDEX       "TokenIndex"
317 #define SC_UNONAME_ISSHAREDFMLA     "IsSharedFormula"
318 #define SC_UNONAME_TOTALSROW        "TotalsRow"
319 
320 //  text fields
321 #define SC_UNONAME_ANCTYPE          "AnchorType"
322 #define SC_UNONAME_ANCTYPES         "AnchorTypes"
323 #define SC_UNONAME_TEXTWRAP         "TextWrap"
324 #define SC_UNONAME_FILEFORM         "FileFormat"
325 #define SC_UNONAME_TEXTFIELD_TYPE   "TextFieldType"
326 
327 //  url field
328 #define SC_UNONAME_REPR             "Representation"
329 #define SC_UNONAME_TARGET           "TargetFrame"
330 #define SC_UNONAME_URL              "URL"
331 
332 // date time field
333 #define SC_UNONAME_ISDATE           "IsDate"
334 #define SC_UNONAME_ISFIXED          "IsFixed"
335 #define SC_UNONAME_DATETIME         "DateTime"
336 
337 // table field
338 #define SC_UNONAME_TABLEPOS         "TablePosition"
339 
340 //  conditional format
341 #define SC_UNONAME_OPERATOR         "Operator"
342 #define SC_UNONAME_FORMULA1         "Formula1"
343 #define SC_UNONAME_FORMULA2         "Formula2"
344 #define SC_UNONAME_SOURCEPOS        "SourcePosition"
345 #define SC_UNONAME_SOURCESTR        "SourcePositionAsString" // only for use in XML filter
346 #define SC_UNONAME_FORMULANMSP1     "FormulaNamespace1" // only for use in XML filter
347 #define SC_UNONAME_FORMULANMSP2     "FormulaNamespace2" // only for use in XML filter
348 #define SC_UNONAME_GRAMMAR1         "Grammar1" // only for use in XML filter
349 #define SC_UNONAME_GRAMMAR2         "Grammar2" // only for use in XML filter
350 #define SC_UNONAME_STYLENAME        "StyleName"
351 
352 //  validation
353 #define SC_UNONAME_ERRALSTY         "ErrorAlertStyle"
354 #define SC_UNONAME_ERRMESS          "ErrorMessage"
355 #define SC_UNONAME_ERRTITLE         "ErrorTitle"
356 #define SC_UNONAME_IGNOREBL         "IgnoreBlankCells"
357 #define SC_UNONAME_INPMESS          "InputMessage"
358 #define SC_UNONAME_INPTITLE         "InputTitle"
359 #define SC_UNONAME_SHOWERR          "ShowErrorMessage"
360 #define SC_UNONAME_SHOWINP          "ShowInputMessage"
361 #define SC_UNONAME_SHOWLIST         "ShowList"
362 #define SC_UNONAME_TYPE             "Type"
363 
364 //  links
365 #define SC_UNONAME_FILTER           "Filter"
366 #define SC_UNONAME_FILTOPT          "FilterOptions"
367 #define SC_UNONAME_LINKURL          "Url"
368 #define SC_UNONAME_REFPERIOD        "RefreshPeriod"
369 #define SC_UNONAME_REFDELAY         "RefreshDelay" // deprecated, don't use anymore
370 
371 //  search descriptor
372 #define SC_UNO_SRCHBACK             "SearchBackwards"
373 #define SC_UNO_SRCHBYROW            "SearchByRow"
374 #define SC_UNO_SRCHCASE             "SearchCaseSensitive"
375 #define SC_UNO_SRCHREGEXP           "SearchRegularExpression"
376 #define SC_UNO_SRCHWILDCARD         "SearchWildcard"
377 #define SC_UNO_SRCHSIM              "SearchSimilarity"
378 #define SC_UNO_SRCHSIMADD           "SearchSimilarityAdd"
379 #define SC_UNO_SRCHSIMEX            "SearchSimilarityExchange"
380 #define SC_UNO_SRCHSIMREL           "SearchSimilarityRelax"
381 #define SC_UNO_SRCHSIMREM           "SearchSimilarityRemove"
382 #define SC_UNO_SRCHSTYLES           "SearchStyles"
383 #define SC_UNO_SRCHTYPE             "SearchType"
384 #define SC_UNO_SRCHWORDS            "SearchWords"
385 #define SC_UNO_SRCHFILTERED         "SearchFiltered"
386 #define SC_UNO_SRCHFORMATTED        "SearchFormatted"
387 
388 //  old (5.2) property names for page styles - for compatibility only!
389 #define OLD_UNO_PAGE_BACKCOLOR      "BackgroundColor"
390 #define OLD_UNO_PAGE_BACKTRANS      "IsBackgroundTransparent"
391 #define OLD_UNO_PAGE_HDRBACKCOL     "HeaderBackgroundColor"
392 #define OLD_UNO_PAGE_HDRBACKTRAN    "TransparentHeaderBackground"
393 #define OLD_UNO_PAGE_HDRSHARED      "HeaderShared"
394 #define OLD_UNO_PAGE_HDRDYNAMIC     "HeaderDynamic"
395 #define OLD_UNO_PAGE_HDRON          "HeaderOn"
396 #define OLD_UNO_PAGE_FTRBACKCOL     "FooterBackgroundColor"
397 #define OLD_UNO_PAGE_FTRBACKTRAN    "TransparentFooterBackground"
398 #define OLD_UNO_PAGE_FTRSHARED      "FooterShared"
399 #define OLD_UNO_PAGE_FTRDYNAMIC     "FooterDynamic"
400 #define OLD_UNO_PAGE_FTRON          "FooterOn"
401 
402 //  page styles
403 #define SC_UNO_PAGE_BACKCOLOR       "BackColor"
404 #define SC_UNO_PAGE_BACKTRANS       "BackTransparent"
405 #define SC_UNO_PAGE_GRAPHICFILT     "BackGraphicFilter"
406 #define SC_UNO_PAGE_GRAPHICLOC      "BackGraphicLocation"
407 #define SC_UNO_PAGE_GRAPHICURL      "BackGraphicURL"
408 #define SC_UNO_PAGE_GRAPHIC         "BackGraphic"
409 #define SC_UNO_PAGE_LEFTBORDER      SC_UNONAME_LEFTBORDER
410 #define SC_UNO_PAGE_RIGHTBORDER     SC_UNONAME_RIGHTBORDER
411 #define SC_UNO_PAGE_BOTTBORDER      SC_UNONAME_BOTTBORDER
412 #define SC_UNO_PAGE_TOPBORDER       SC_UNONAME_TOPBORDER
413 #define SC_UNO_PAGE_LEFTBRDDIST     "LeftBorderDistance"
414 #define SC_UNO_PAGE_RIGHTBRDDIST    "RightBorderDistance"
415 #define SC_UNO_PAGE_BOTTBRDDIST     "BottomBorderDistance"
416 #define SC_UNO_PAGE_TOPBRDDIST      "TopBorderDistance"
417 #define SC_UNO_PAGE_BORDERDIST      "BorderDistance"
418 #define SC_UNO_PAGE_SHADOWFORM      "ShadowFormat"
419 #define SC_UNO_PAGE_LEFTMARGIN      "LeftMargin"
420 #define SC_UNO_PAGE_RIGHTMARGIN     "RightMargin"
421 #define SC_UNO_PAGE_TOPMARGIN       "TopMargin"
422 #define SC_UNO_PAGE_BOTTMARGIN      "BottomMargin"
423 #define SC_UNO_PAGE_LANDSCAPE       "IsLandscape"
424 #define SC_UNO_PAGE_NUMBERTYPE      "NumberingType"
425 #define SC_UNO_PAGE_SYTLELAYOUT     "PageStyleLayout"
426 #define SC_UNO_PAGE_PAPERTRAY       "PrinterPaperTray"
427 #define SC_UNO_PAGE_SIZE            "Size"
428 #define SC_UNO_PAGE_WIDTH           "Width"
429 #define SC_UNO_PAGE_HEIGHT          "Height"
430 #define SC_UNO_PAGE_CENTERHOR       "CenterHorizontally"
431 #define SC_UNO_PAGE_CENTERVER       "CenterVertically"
432 #define SC_UNO_PAGE_PRINTANNOT      "PrintAnnotations"
433 #define SC_UNO_PAGE_PRINTGRID       "PrintGrid"
434 #define SC_UNO_PAGE_PRINTHEADER     "PrintHeaders"
435 #define SC_UNO_PAGE_PRINTCHARTS     "PrintCharts"
436 #define SC_UNO_PAGE_PRINTOBJS       "PrintObjects"
437 #define SC_UNO_PAGE_PRINTDRAW       "PrintDrawing"
438 #define SC_UNO_PAGE_PRINTDOWN       "PrintDownFirst"
439 #define SC_UNO_PAGE_SCALEVAL        "PageScale"
440 #define SC_UNO_PAGE_SCALETOPAG      "ScaleToPages"
441 #define SC_UNO_PAGE_SCALETOX        "ScaleToPagesX"
442 #define SC_UNO_PAGE_SCALETOY        "ScaleToPagesY"
443 #define SC_UNO_PAGE_FIRSTPAGE       "FirstPageNumber"
444 #define SC_UNO_PAGE_FIRSTHDRSHARED  "FirstPageHeaderIsShared"
445 #define SC_UNO_PAGE_FIRSTFTRSHARED  "FirstPageFooterIsShared"
446 #define SC_UNO_PAGE_LEFTHDRCONT     "LeftPageHeaderContent"
447 #define SC_UNO_PAGE_LEFTFTRCONT     "LeftPageFooterContent"
448 #define SC_UNO_PAGE_RIGHTHDRCON     "RightPageHeaderContent"
449 #define SC_UNO_PAGE_RIGHTFTRCON     "RightPageFooterContent"
450 #define SC_UNO_PAGE_FIRSTHDRCONT    "FirstPageHeaderContent"
451 #define SC_UNO_PAGE_FIRSTFTRCONT    "FirstPageFooterContent"
452 #define SC_UNO_PAGE_PRINTFORMUL     "PrintFormulas"
453 #define SC_UNO_PAGE_PRINTZERO       "PrintZeroValues"
454 #define SC_UNO_PAGE_HDRBACKCOL      "HeaderBackColor"
455 #define SC_UNO_PAGE_HDRBACKTRAN     "HeaderBackTransparent"
456 #define SC_UNO_PAGE_HDRGRFFILT      "HeaderBackGraphicFilter"
457 #define SC_UNO_PAGE_HDRGRFLOC       "HeaderBackGraphicLocation"
458 #define SC_UNO_PAGE_HDRGRF          "HeaderBackGraphic"
459 #define SC_UNO_PAGE_HDRGRFURL       "HeaderBackGraphicURL"
460 #define SC_UNO_PAGE_HDRLEFTBOR      "HeaderLeftBorder"
461 #define SC_UNO_PAGE_HDRRIGHTBOR     "HeaderRightBorder"
462 #define SC_UNO_PAGE_HDRBOTTBOR      "HeaderBottomBorder"
463 #define SC_UNO_PAGE_HDRTOPBOR       "HeaderTopBorder"
464 #define SC_UNO_PAGE_HDRLEFTBDIS     "HeaderLeftBorderDistance"
465 #define SC_UNO_PAGE_HDRRIGHTBDIS    "HeaderRightBorderDistance"
466 #define SC_UNO_PAGE_HDRBOTTBDIS     "HeaderBottomBorderDistance"
467 #define SC_UNO_PAGE_HDRTOPBDIS      "HeaderTopBorderDistance"
468 #define SC_UNO_PAGE_HDRBRDDIST      "HeaderBorderDistance"
469 #define SC_UNO_PAGE_HDRSHADOW       "HeaderShadowFormat"
470 #define SC_UNO_PAGE_HDRLEFTMAR      "HeaderLeftMargin"
471 #define SC_UNO_PAGE_HDRRIGHTMAR     "HeaderRightMargin"
472 #define SC_UNO_PAGE_HDRBODYDIST     "HeaderBodyDistance"
473 #define SC_UNO_PAGE_HDRHEIGHT       "HeaderHeight"
474 #define SC_UNO_PAGE_HDRON           "HeaderIsOn"
475 #define SC_UNO_PAGE_HDRDYNAMIC      "HeaderIsDynamicHeight"
476 #define SC_UNO_PAGE_HDRSHARED       "HeaderIsShared"
477 #define SC_UNO_PAGE_FTRBACKCOL      "FooterBackColor"
478 #define SC_UNO_PAGE_FTRBACKTRAN     "FooterBackTransparent"
479 #define SC_UNO_PAGE_FTRGRFFILT      "FooterBackGraphicFilter"
480 #define SC_UNO_PAGE_FTRGRFLOC       "FooterBackGraphicLocation"
481 #define SC_UNO_PAGE_FTRGRF          "FooterBackGraphic"
482 #define SC_UNO_PAGE_FTRGRFURL       "FooterBackGraphicURL"
483 #define SC_UNO_PAGE_FTRLEFTBOR      "FooterLeftBorder"
484 #define SC_UNO_PAGE_FTRRIGHTBOR     "FooterRightBorder"
485 #define SC_UNO_PAGE_FTRBOTTBOR      "FooterBottomBorder"
486 #define SC_UNO_PAGE_FTRTOPBOR       "FooterTopBorder"
487 #define SC_UNO_PAGE_FTRLEFTBDIS     "FooterLeftBorderDistance"
488 #define SC_UNO_PAGE_FTRRIGHTBDIS    "FooterRightBorderDistance"
489 #define SC_UNO_PAGE_FTRBOTTBDIS     "FooterBottomBorderDistance"
490 #define SC_UNO_PAGE_FTRTOPBDIS      "FooterTopBorderDistance"
491 #define SC_UNO_PAGE_FTRBRDDIST      "FooterBorderDistance"
492 #define SC_UNO_PAGE_FTRSHADOW       "FooterShadowFormat"
493 #define SC_UNO_PAGE_FTRLEFTMAR      "FooterLeftMargin"
494 #define SC_UNO_PAGE_FTRRIGHTMAR     "FooterRightMargin"
495 #define SC_UNO_PAGE_FTRBODYDIST     "FooterBodyDistance"
496 #define SC_UNO_PAGE_FTRHEIGHT       "FooterHeight"
497 #define SC_UNO_PAGE_FTRON           "FooterIsOn"
498 #define SC_UNO_PAGE_FTRDYNAMIC      "FooterIsDynamicHeight"
499 #define SC_UNO_PAGE_FTRSHARED       "FooterIsShared"
500 
501 //  document settings
502 #define SC_UNO_CALCASSHOWN              "CalcAsShown"
503 #define SC_UNO_DEFTABSTOP               "DefaultTabStop"
504 #define SC_UNO_TABSTOPDIS               "TabStopDistance" // is the same like the before, but only the writer name
505 #define SC_UNO_IGNORECASE               "IgnoreCase"
506 #define SC_UNO_ITERCOUNT                "IterationCount"
507 #define SC_UNO_ITERENABLED              "IsIterationEnabled"
508 #define SC_UNO_ITEREPSILON              "IterationEpsilon"
509 #define SC_UNO_LOOKUPLABELS             "LookUpLabels"
510 #define SC_UNO_MATCHWHOLE               "MatchWholeCell"
511 #define SC_UNO_NULLDATE                 "NullDate"
512 #define SC_UNO_SPELLONLINE              "SpellOnline"
513 #define SC_UNO_STANDARDDEC              "StandardDecimals"
514 #define SC_UNO_REGEXENABLED             "RegularExpressions"
515 #define SC_UNO_WILDCARDSENABLED         "Wildcards"
516 #define SC_UNO_BASICLIBRARIES           "BasicLibraries"
517 #define SC_UNO_DIALOGLIBRARIES          "DialogLibraries"
518 #define SC_UNO_RUNTIMEUID               "RuntimeUID"
519 #define SC_UNO_HASVALIDSIGNATURES       "HasValidSignatures"
520 #define SC_UNO_ISLOADED                 "IsLoaded"
521 #define SC_UNO_ISUNDOENABLED            "IsUndoEnabled"
522 #define SC_UNO_ISADJUSTHEIGHTENABLED    "IsAdjustHeightEnabled"
523 #define SC_UNO_ISEXECUTELINKENABLED     "IsExecuteLinkEnabled"
524 #define SC_UNO_ISCHANGEREADONLYENABLED  "IsChangeReadOnlyEnabled"
525 #define SC_UNO_REFERENCEDEVICE          "ReferenceDevice"
526 #define SC_UNO_CODENAME                 "CodeName"
527 #define SC_UNO_INTEROPGRABBAG           "InteropGrabBag"
528 #define SC_UNO_RECORDCHANGES            "RecordChanges"
529 #define SC_UNO_ISRECORDCHANGESPROTECTED "IsRecordChangesProtected"
530 #define SC_UNO_SYNTAXSTRINGREF          "SyntaxStringRef"
531 
532 
533 //  document properties from FormModel
534 #define SC_UNO_APPLYFMDES           "ApplyFormDesignMode"
535 #define SC_UNO_AUTOCONTFOC          "AutomaticControlFocus"
536 
537 //  view options
538 #define SC_UNO_COLROWHDR            "HasColumnRowHeaders"
539 #define SC_UNO_GRIDCOLOR            "GridColor"
540 #define SC_UNO_HIDESPELL            "HideSpellMarks"                /* deprecated #i91949 */
541 #define SC_UNO_HORSCROLL            "HasHorizontalScrollBar"
542 #define SC_UNO_OUTLSYMB             "IsOutlineSymbolsSet"
543 #define SC_UNO_SHEETTABS            "HasSheetTabs"
544 #define SC_UNO_SHOWANCHOR           "ShowAnchor"
545 #define SC_UNO_SHOWCHARTS           "ShowCharts"
546 #define SC_UNO_SHOWDRAW             "ShowDrawing"
547 #define SC_UNO_SHOWFORM             "ShowFormulas"
548 #define SC_UNO_SHOWGRID             "ShowGrid"
549 #define SC_UNO_SHOWHELP             "ShowHelpLines"
550 #define SC_UNO_SHOWNOTES            "ShowNotes"
551 #define SC_UNO_SHOWOBJ              "ShowObjects"
552 #define SC_UNO_SHOWPAGEBR           "ShowPageBreaks"
553 #define SC_UNO_SHOWZERO             "ShowZeroValues"
554 #define SC_UNO_VALUEHIGH            "IsValueHighlightingEnabled"
555 #define SC_UNO_VERTSCROLL           "HasVerticalScrollBar"
556 #define SC_UNO_SNAPTORASTER         "IsSnapToRaster"
557 #define SC_UNO_RASTERVIS            "RasterIsVisible"
558 #define SC_UNO_RASTERRESX           "RasterResolutionX"
559 #define SC_UNO_RASTERRESY           "RasterResolutionY"
560 #define SC_UNO_RASTERSUBX           "RasterSubdivisionX"
561 #define SC_UNO_RASTERSUBY           "RasterSubdivisionY"
562 #define SC_UNO_RASTERSYNC           "IsRasterAxisSynchronized"
563 #define SC_UNO_AUTOCALC             "AutoCalculate"
564 #define SC_UNO_PRINTERNAME          "PrinterName"
565 #define SC_UNO_PRINTERSETUP         "PrinterSetup"
566 #define SC_UNO_PRINTERPAPER         "PrinterPaperFromSetup"
567 #define SC_UNO_APPLYDOCINF          "ApplyUserData"
568 #define SC_UNO_SAVE_THUMBNAIL       "SaveThumbnail"
569 #define SC_UNO_CHARCOMP             "CharacterCompressionType"
570 #define SC_UNO_ASIANKERN            "IsKernAsianPunctuation"
571 #define SC_UNO_VISAREA              "VisibleArea"
572 #define SC_UNO_ZOOMTYPE             "ZoomType"
573 #define SC_UNO_ZOOMVALUE            "ZoomValue"
574 #define SC_UNO_UPDTEMPL             "UpdateFromTemplate"
575 #define SC_UNO_FILTERED_RANGE_SELECTION       "FilteredRangeSelection"
576 #define SC_UNO_VISAREASCREEN        "VisibleAreaOnScreen"
577 
578 /*Stampit enable/disable print cancel */
579 #define SC_UNO_ALLOWPRINTJOBCANCEL  "AllowPrintJobCancel"
580 
581 //  old (5.2) property names for view options - for compatibility only!
582 #define OLD_UNO_COLROWHDR           "ColumnRowHeaders"
583 #define OLD_UNO_HORSCROLL           "HorizontalScrollBar"
584 #define OLD_UNO_OUTLSYMB            "OutlineSymbols"
585 #define OLD_UNO_SHEETTABS           "SheetTabs"
586 #define OLD_UNO_VALUEHIGH           "ValueHighlighting"
587 #define OLD_UNO_VERTSCROLL          "VerticalScrollBar"
588 
589 //  data pilot source
590 #define SC_UNO_DP_COLGRAND             "ColumnGrand"
591 #define SC_UNO_DP_ROWGRAND             "RowGrand"
592 #define SC_UNO_DP_ORIGINAL             "Original"
593 #define SC_UNO_DP_ORIGINAL_POS         "OriginalPosition"
594 #define SC_UNO_DP_ISDATALAYOUT         "IsDataLayoutDimension"
595 #define SC_UNO_DP_ORIENTATION          "Orientation"
596 #define SC_UNO_DP_POSITION             "Position"
597 #define SC_UNO_DP_FUNCTION             "Function"
598 #define SC_UNO_DP_FUNCTION2            "Function2"
599 #define SC_UNO_DP_USEDHIERARCHY        "UsedHierarchy"
600 #define SC_UNO_DP_FILTER               "Filter"
601 #define SC_UNO_DP_SUBTOTAL             "SubTotals"
602 #define SC_UNO_DP_SUBTOTAL2            "SubTotals2"
603 #define SC_UNO_DP_SHOWEMPTY            "ShowEmpty"
604 #define SC_UNO_DP_REPEATITEMLABELS     "RepeatItemLabels"
605 #define SC_UNO_DP_ISVISIBLE            "IsVisible"
606 #define SC_UNO_DP_SHOWDETAILS          "ShowDetails"
607 #define SC_UNO_DP_IGNOREEMPTY          "IgnoreEmptyRows"
608 #define SC_UNO_DP_REPEATEMPTY          "RepeatIfEmpty"
609 #define SC_UNO_DP_DATADESC             "DataDescription"
610 #define SC_UNO_DP_NUMBERFO             SC_UNONAME_NUMFMT
611 #define SC_UNO_DP_ROWFIELDCOUNT        "RowFieldCount"
612 #define SC_UNO_DP_COLUMNFIELDCOUNT     "ColumnFieldCount"
613 #define SC_UNO_DP_DATAFIELDCOUNT       "DataFieldCount"
614 #define SC_UNO_DP_LAYOUTNAME           "LayoutName"
615 #define SC_UNO_DP_FIELD_SUBTOTALNAME   "FieldSubtotalName"
616 #define SC_UNO_DP_GRANDTOTAL_NAME      "GrandTotalName"
617 #define SC_UNO_DP_HAS_HIDDEN_MEMBER    "HasHiddenMember"
618 #define SC_UNO_DP_FLAGS                "Flags"
619 
620 #define SC_UNO_DP_REFVALUE             "ReferenceValue"
621 #define SC_UNO_DP_SORTING              "Sorting"
622 #define SC_UNO_DP_AUTOSHOW             "AutoShow"
623 #define SC_UNO_DP_LAYOUT               "Layout"
624 
625 // data pilot descriptor
626 #define SC_UNO_DP_IGNORE_EMPTYROWS     "IgnoreEmptyRows"
627 #define SC_UNO_DP_DRILLDOWN            "DrillDownOnDoubleClick"
628 #define SC_UNO_DP_SHOWFILTER           "ShowFilterButton"
629 #define SC_UNO_DP_IMPORTDESC           "ImportDescriptor"
630 #define SC_UNO_DP_SOURCESERVICE        "SourceServiceName"
631 #define SC_UNO_DP_SERVICEARG           "ServiceArguments"
632 
633 // properties in data pilot descriptor ServiceArguments
634 #define SC_UNO_DP_SOURCENAME           "SourceName"
635 #define SC_UNO_DP_OBJECTNAME           "ObjectName"
636 #define SC_UNO_DP_USERNAME             "UserName"
637 #define SC_UNO_DP_PASSWORD             "Password"
638 
639 //  range selection
640 #define SC_UNONAME_INITVAL          "InitialValue"
641 #define SC_UNONAME_TITLE            "Title"
642 #define SC_UNONAME_CLOSEONUP        "CloseOnMouseRelease"
643 #define SC_UNONAME_SINGLECELL       "SingleCellMode"
644 #define SC_UNONAME_MULTISEL         "MultiSelectionMode"
645 
646 //  XRenderable
647 #define SC_UNONAME_PAGESIZE         "PageSize"
648 #define SC_UNONAME_RENDERDEV        "RenderDevice"
649 #define SC_UNONAME_SOURCERANGE      "SourceRange"
650 #define SC_UNONAME_INC_NP_AREA      "PageIncludesNonprintableArea"
651 #define SC_UNONAME_CALCPAGESIZE     "CalcPageContentSize"
652 #define SC_UNONAME_CALCPAGEPOS      "CalcPagePos"
653 
654 // CellValueBinding
655 #define SC_UNONAME_BOUNDCELL        "BoundCell"
656 // CellRangeListSource
657 #define SC_UNONAME_CELLRANGE        "CellRange"
658 
659 // CellAddressConversion / CellRangeAddressConversion
660 #define SC_UNONAME_ADDRESS          "Address"
661 #define SC_UNONAME_UIREPR           "UserInterfaceRepresentation"
662 #define SC_UNONAME_PERSREPR         "PersistentRepresentation"
663 #define SC_UNONAME_XLA1REPR         "XLA1Representation"
664 #define SC_UNONAME_REFSHEET         "ReferenceSheet"
665 
666 // Security options
667 #define SC_UNO_LOADREADONLY         "LoadReadonly"
668 #define SC_UNO_MODIFYPASSWORDINFO   "ModifyPasswordInfo"
669 
670 // FormulaParser
671 #define SC_UNO_COMPILEENGLISH       "CompileEnglish"
672 #define SC_UNO_FORMULACONVENTION    "FormulaConvention"
673 #define SC_UNO_IGNORELEADING        "IgnoreLeadingSpaces"
674 #define SC_UNO_OPCODEMAP            "OpCodeMap"
675 #define SC_UNO_EXTERNALLINKS        "ExternalLinks"
676 #define SC_UNO_COMPILEFAP           "CompileFAP"
677 
678 // Chart2
679 #define SC_UNONAME_ROLE                 "Role"
680 #define SC_UNONAME_HIDDENVALUES         "HiddenValues"
681 #define SC_UNONAME_INCLUDEHIDDENCELLS   "IncludeHiddenCells"
682 #define SC_UNONAME_USE_INTERNAL_DATA_PROVIDER "UseInternalDataProvider"
683 #define SC_UNONAME_HAS_STRING_LABEL "HasStringLabel"
684 #define SC_UNONAME_TIME_BASED       "TimeBased"
685 
686 // Solver
687 #define SC_UNONAME_TIMEOUT          "Timeout"
688 #define SC_UNO_SHAREDOC             "IsDocumentShared"
689 
690 // EventDescriptor
691 #define SC_UNO_EVENTTYPE            "EventType"
692 #define SC_UNO_SCRIPT               "Script"
693 
694 // Named ranges
695 #define SC_UNO_MODIFY_BROADCAST     "ModifyAndBroadcast"
696 
697 #define SC_UNO_EMBED_FONTS               "EmbedFonts"
698 #define SC_UNO_EMBED_ONLY_USED_FONTS     "EmbedOnlyUsedFonts"
699 #define SC_UNO_EMBED_FONT_SCRIPT_LATIN   "EmbedLatinScriptFonts"
700 #define SC_UNO_EMBED_FONT_SCRIPT_ASIAN   "EmbedAsianScriptFonts"
701 #define SC_UNO_EMBED_FONT_SCRIPT_COMPLEX "EmbedComplexScriptFonts"
702 
703 #define SC_UNO_ODS_LOCK_SOLAR_MUTEX "ODSLockSolarMutex"
704 #define SC_UNO_ODS_IMPORT_STYLES    "ODSImportStyles"
705 
706 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
707