2 # This file is part of the LibreOffice project.
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 # This file incorporates work covered by the following license notice:
10 # Licensed to the Apache Software Foundation (ASF) under one or more
11 # contributor license agreements. See the NOTICE file distributed
12 # with this work for additional information regarding copyright
13 # ownership. The ASF licenses this file to you under the Apache
14 # License, Version 2.0 (the "License"); you may not use this file
15 # except in compliance with the License. You may obtain a copy of
16 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 # dumper settings ============================================================
23 # - Character encoding of dumper ini files is UTF-8.
24 # - Whitespace characters are generally stripped, e.g. at start and end of
25 # lines, before/after equal signs, commas, etc.
26 # - Comments start with the hash (#) or semicolon (;) character. Leading
27 # whitespace characters are ignored.
29 # ----------------------------------------------------------------------------
31 # Enable entire dumper (default=off). This option does not affect the option
36 # Enable import after dumping (default=on). Disabling this option allows
37 # to dump a file without loading it. This option is independent from the
38 # 'enable-dumper' option.
42 # Maximum size of binary stream dumps (default=infinite).
43 max-binary-stream-size=65536
45 # Maximum size of binary data blocks in content dumps (default=infinite).
46 max-binary-data-size=128
48 # Shows unknown trailing data as binary dump (default=on).
50 show-trailing-unknown=1
52 # Shows the absolute stream position of records in the record header field
55 show-record-position=0
57 # name lists =================================================================
61 # - Optional items are enclosed in brackets [].
62 # - Optional items that may be repeated are marked with an ellipsis (...).
63 # - Items in a set to choose from are separated by vertical lines (|).
64 # - <LISTNAME> denotes the name of a list. List names may consist of any non-
65 # whitespace characters.
66 # - <value>, <firstvalue>, <bitfield>, <bitmask> etc. denote integer values.
67 # Decimal and hexadecimal notation is supported, using C/C++ notation.
68 # - <bool> denotes a boolean value. Possible values are 0|1|false|true.
69 # - <constname> denotes a literal name for a constant or bit.
71 # ----------------------------------------------------------------------------
75 # Defines names for a list of specific values.
79 # constlist = <LISTNAME>
80 # default = <constname>
81 # include = <LISTNAME>[,<LISTNAME>...]
82 # exclude = <value>[,<value>...]
83 # quote-names = <bool>
84 # <value> = <constname>
87 # - default (optional): Declares <constname> as a default name for values not
88 # specified in the name list. <constname> may be the empty string. If not
89 # set, the literal string '?err:no-name' (unquoted) is the default name.
90 # - include (optional): Includes the specified name list(s) into the own list.
91 # - exclude (optional): Removes values from the name lists, useful e.g. after
92 # a name list has been included.
93 # - quote-names (optional): Specifies whether to return the contained names
94 # enclosed in single quote (') characters. Default is false.
96 # The order of the declarations is important, later declarations may overwrite
97 # names generated from earlier declarations.
101 # constlist = EXAMPLE-CONSTLIST
103 # include = OTHER-LIST
105 # 0x0004 = other-value
108 # - Defines the name 'my-value' for the constant 1.
109 # - Includes 'OTHER-LIST' which may overwrite the name of the constant 1.
110 # - Excludes the names of constants 2 and 3, which may have been included from
111 # the name list 'OTHER-LIST'.
112 # - Defines the name 'other-value' for the constant 4, which may overwrite the
113 # name of this constant included from the name list 'OTHER-LIST'.
115 # ----------------------------------------------------------------------------
119 # Defines names for contiguous ranges of values.
123 # multilist = <LISTNAME>
124 # default = <constname>
125 # include = <LISTNAME>[,<LISTNAME>...]
126 # exclude = <value>[,<value>...]
127 # ignore-empty = <bool>
128 # <firstvalue> = <constname>[,<constname>...]
131 # - default (optional): See constlist above.
132 # - include (optional): See constlist above.
133 # - exclude (optional): See constlist above.
134 # - ignore-empty (optional): Specifies whether to skip empty names in a list.
135 # - True = skips an empty entry, the default name will be generated.
136 # - False = creates an empty string for the entry.
137 # Default is true (skip empty entries).
141 # multilist = EXAMPLE-MULTILIST
142 # 0 = value0,value1,,value3
146 # - Defines the names 'value0' for the constant 0, 'value1' for the constant
147 # 1, 'value3' for the constant 3, and 'value8' for the constant 8.
149 # multilist = EXAMPLE-MULTILIST-2
150 # include = EXAMPLE-MULTILIST
151 # ignore-empty = false
155 # - Same as example above (includes EXAMPLE-MULTILIST), but defines the empty
156 # string for the constant 2. Other constants (less than 0 or greater than 3
157 # and not equal to 8) get the default name 'other'.
159 # ----------------------------------------------------------------------------
163 # Defines names for a contiguous range of values. The entire list definition
164 # is given in a single text line.
168 # shortlist = <LISTNAME>,<firstvalue>,<constname>[,<constname>...]
170 # Uses default settings of the multi-list (i.e. skips empty entries).
172 # ----------------------------------------------------------------------------
176 # Defines names for single bits in a bit field.
180 # flagslist = <LISTNAME>
181 # include = <LISTNAME>[,<LISTNAME>...]
182 # exclude = <bitfield>[,<bitfield>...]
183 # ignore = <bitfield>
184 # <bitmask> = <cname> | !<cname> | :<cname> | !<cname0>!<cname1>
187 # - include (optional): See constlist above.
188 # - exclude (optional): See constlist above.
189 # - ignore (optional): Specifies bits to be ignored. Bits without an explicit
190 # name and not set in this declaration will be shown as unknown. Default is
191 # to not ignore a bit.
192 # - <bitmask>: The bit to be named. Must be a value with a single bit set.
193 # - <cname> - Sets a name for the bit that will be shown if the bit is set.
194 # Does not show anything if the bit is cleared.
195 # - !<cname> - Sets a name for the bit that will be shown if the bit is
196 # cleared. Does not show anything if the bit is set.
197 # - :<cname> - Sets a name for the bit that will always be shown together
198 # with the actual state of the bit, appended as ':on' or ':off'.
199 # - !<cname0>!<cname1> - Sets a name for both the cleared bit (cname0), and
200 # for the set bit (cname1).
202 # ----------------------------------------------------------------------------
206 # Defines names for single bits and for embedded values in a bit field. This
207 # is an extension of the flagslist described above.
211 # combilist = <LISTNAME>
212 # include = <LISTNAME>[,<LISTNAME>...]
213 # exclude = <bitmask>[,<bitmask>...]
214 # ignore = <bitfield>
215 # <bitmask> = <cname> | !<cname> | :<cname> | !<cname0>!<cname1>
216 # <bitfield> = <datatype>,<dataformat>,<bitfieldname>[,<LISTNAME>[,options...]]
219 # - include (optional): See constlist above.
220 # - exclude (optional): See constlist above.
221 # - ignore (optional): See flagslist above.
222 # - <bitmask>: See flagslist above.
223 # - <bitfield>: The mask of the embedded bitfield. Must be a value with
224 # exactly one sequence of at least 2 consecutive bits.
225 # - <datatype>: [u]int8 | [u]int16 | [u]int32 | [u]int64 | float | double
226 # - <dataformat>: dec | hex | shorthex | bin | fix | bool
227 # - <bitfieldname>: The name of the embedded bitfield.
228 # - <LISTAME>: Optional name list with names for the values of the embedded
230 # - options: Additional options for this bitfield:
231 # - filter = <filterbitfield>~<filtervalue>: If set, the entire bitfield
232 # will only be written, if the complete data item currently dumped
233 # contains exactly the value specified in <filtervalue> in the bitfield
234 # specified in <filterbitfield>. Otherwise, nothing is written. It is
235 # possible to specify multiple filter rules for this bitfield. In that
236 # case, the bitfield will be written, if at least one filter rule
237 # applies for the current data item.
238 # - noshift = <bool>: If set to 'true', the extracted value will be
239 # shifted to the right (normalized). If set to 'false', the value will
240 # be written unshifted. Default is 'true'.
242 # ----------------------------------------------------------------------------
246 # Converts values and appends a unit name.
250 # unitconverter = <LISTNAME>,[/]<factor>[,<unitname>]
252 # ----------------------------------------------------------------------------
254 unitconverter=CONV-DEC,1
255 unitconverter=CONV-PERCENT,1,%
256 unitconverter=CONV-FLOAT-TO-PERC,100,%
257 unitconverter=CONV-DEG,1,°
258 unitconverter=CONV-HMM-TO-CM,/1000,cm
259 unitconverter=CONV-INCH-TO-CM,2.54,cm
260 unitconverter=CONV-PT-TO-CM,/28.346457,cm
261 unitconverter=CONV-PT1616-TO-CM,/1857713.4,cm
262 unitconverter=CONV-TWIP-TO-CM,/566.92913,cm
263 unitconverter=CONV-TWIP-TO-PT,/20,pt
264 unitconverter=CONV-EMU-TO-CM,/36000,cm
274 0xFFFFFFFC=int32,hex,value
282 128=win-932-japanese-shift-jis
283 129=win-949-korean-hangul
284 130=win-1361-korean-johab
285 134=win-936-chinese-simplified-gbk
286 136=win-950-chinese-traditional-big5
289 163=win-1258-vietnamese
293 204=win-1251-cyrillic
295 238=win-1250-latin-2-central-european
299 combilist=FONT-PITCHFAMILY
300 0x0F=uint8,dec,pitch,FONT-PITCH
301 0xF0=uint8,dec,family,FONT-FAMILY
304 constlist=FONT-WEIGHT
309 shortlist=FONT-PITCH,0,unknown,fixed,variable
310 shortlist=FONT-FAMILY,0,unknown,roman,swiss,modern,script,decorative
320 852=ibm-852-latin-2-central-european
323 858=ibm-858-multilingual-latin-1-with-euro
324 860=ibm-860-portuguese
325 861=ibm-861-icelandic
327 863=ibm-863-canadian-french
330 866=ibm-866-cyrillic-russian
331 869=ibm-869-greek-modern
333 932=win-932-japanese-shift-jis
334 936=win-936-chinese-simplified-gbk
335 949=win-949-korean-wansung
336 950=win-950-chinese-traditional-big5
338 1250=win-1250-latin-2-central-european
339 1251=win-1251-cyrillic
340 1252=win-1252-latin-1
342 1254=win-1254-turkish
346 1258=win-1258-vietnamese
347 1361=win-1361-korean-johab
350 10002=apple-chinese-traditional
356 10008=apple-chinese-simplified
358 10017=apple-ukrainian
359 10029=apple-central-european-with-euro
360 10079=apple-icelandic
377 32769=win-1252-latin-1
388 1=usa,canada,latin-america,,,,russia
390 30=greece,netherlands,belgium,france,spain,,hungary,,,italy
391 40=,switzerland,,austria,uk,denmark,sweden,norway,poland,germany
393 60=,australia,,,new-zealand,,thailand
394 80=,japan,korea,,vietnam,,china
396 210=,,,algeria,,,morocco,,libya
397 350=,portugal,,,iceland,,,,finland
400 960=,lebanon,jordan,syria,iraq,kuwait,saudi-arabia
401 970=,uae,israel,,qatar
405 multilist=SYSTEMCOLOR
406 0x00=scrollbar,desktop,active-title,inactive-title,menu,window-back,window-frame,menu-text
407 0x08=window-text,active-title-text,active-border,inactive-border,app-workspace,highlight,highlight-text,button-face
408 0x10=button-shadow,disabled-text,button-text,inactive-title-text,button-highlight,button-dark-shadow,button-light-shadow,tooltip-text
409 0x18=tooltip-back,,hot-light,active-title-2,inactive-title-2,menu-highlight,menubar
412 # ============================================================================