LibreOffice Module xmerge (master) 1
OfficeConstants.java
Go to the documentation of this file.
1/*
2 * This file is part of the LibreOffice project.
3 *
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/.
7 *
8 * This file incorporates work covered by the following license notice:
9 *
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 .
17 */
18
19package org.openoffice.xmerge.converter.xml;
20
25public interface OfficeConstants {
26
28 String TAG_OFFICE_DOCUMENT = "office:document";
29
34 String TAG_OFFICE_DOCUMENT_CONTENT = "office:document-content";
35
40 String TAG_OFFICE_DOCUMENT_SETTINGS= "office:document-settings";
41
46 String TAG_OFFICE_DOCUMENT_META= "office:document-meta";
47
52 String TAG_OFFICE_DOCUMENT_STYLES = "office:document-styles";
53
55 String TAG_OFFICE_STYLES = "office:styles";
56
58 String TAG_OFFICE_META = "office:meta";
59
61 String TAG_OFFICE_AUTOMATIC_STYLES = "office:automatic-styles";
62
64 String TAG_OFFICE_MASTER_STYLES = "office:master-styles";
65
67 String TAG_OFFICE_BODY = "office:body";
68
70 String TAG_OFFICE_SETTINGS = "office:settings";
71
73 String TAG_OFFICE_FONT_DECLS = "office:font-decls";
74
76 String TAG_STYLE_FONT_DECL = "style:font-decl";
77
80
85 String ATTRIBUTE_STYLE_FONT_PITCH = "style:font-pitch";
86
91 String ATTRIBUTE_FO_FONT_FAMILY = "fo:font-family";
92
97 String ATTRIBUTE_FO_FONT_FAMILY_GENERIC = "fo:font-family-generic";
98
101
103 String TAG_HEADING = "text:h";
104
106 String TAG_SPACE = "text:s";
107
109 String TAG_TAB_STOP = "text:tab-stop";
110
112 String TAG_LINE_BREAK = "text:line-break";
113
115 String TAG_SPAN = "text:span";
116
119
121 String TAG_UNORDERED_LIST = "text:unordered-list";
122
124 String TAG_ORDERED_LIST = "text:ordered-list";
125
127 String TAG_LIST_HEADER = "text:list-header";
128
130 String TAG_LIST_ITEM = "text:list-item";
131
134
136 String TAG_TABLE = "table:table";
137
139 String TAG_NAMED_EXPRESSIONS = "table:named-expressions";
140
142 String TAG_TABLE_NAMED_RANGE= "table:named-range";
143
145 String TAG_TABLE_NAMED_EXPRESSION= "table:named-expression";
146
149
154 String ATTRIBUTE_TABLE_EXPRESSION = "table:expression";
155
160 String ATTRIBUTE_TABLE_BASE_CELL_ADDRESS = "table:base-cell-address";
161
166 String ATTRIBUTE_TABLE_CELL_RANGE_ADDRESS = "table:cell-range-address";
167
169 String TAG_TABLE_ROW = "table:table-row";
170
172 String TAG_TABLE_COLUMN = "table:table-column";
173
178 String ATTRIBUTE_DEFAULT_CELL_STYLE = "table:default-cell-style-name";
179
181 String TAG_TABLE_SCENARIO = "table:scenario";
182
184 String TAG_TABLE_CELL = "table:table-cell";
185
190 String ATTRIBUTE_TABLE_VALUE_TYPE = "table:value-type";
191
197 "table:number-columns-repeated";
198
203 String ATTRIBUTE_TABLE_NUM_ROWS_REPEATED = "table:number-rows-repeated";
204
210
215
220 String ATTRIBUTE_TABLE_DATE_VALUE = "table:date-value";
221
226 String ATTRIBUTE_TABLE_TIME_VALUE = "table:time-value";
227
232 String ATTRIBUTE_TABLE_STRING_VALUE = "table:string-value";
233
238 String ATTRIBUTE_TABLE_BOOLEAN_VALUE = "table:boolean-value";
239
241 String ATTRIBUTE_TABLE_STYLE_NAME = "table:style-name";
242
248
251
254
257
260
263
266
268 String CELLTYPE_PERCENT = "percentage";
269
272
274 String SXW_TYPE = "text";
275
278
280 String SXC_TYPE = "spreadsheet";
281
283 String TAG_MANIFEST_ROOT = "manifest:manifest";
284
286 String TAG_MANIFEST_FILE = "manifest:file-entry";
287
292 String ATTRIBUTE_MANIFEST_FILE_TYPE = "manifest:media-type";
293
298 String ATTRIBUTE_MANIFEST_FILE_PATH = "manifest:full-path";
299
300 // Tags and Elements for the settings.xml
301
303 String TAG_CONFIG_ITEM = "config:config-item";
304
306 String TAG_CONFIG_ITEM_SET = "config:config-item-set";
307
309 String TAG_CONFIG_ITEM_MAP_INDEXED = "config:config-item-map-indexed";
310
312 String TAG_CONFIG_ITEM_MAP_NAMED = "config:config-item-map-named";
313
315 String TAG_CONFIG_ITEM_MAP_ENTRY= "config:config-item-map-entry";
316
321
326
328 String SXW_MIME_TYPE = "application/vnd.sun.xml.writer";
329
331 String SXC_MIME_TYPE = "application/vnd.sun.xml.calc";
332
333}
This interface contains constants for StarOffice XML tags, attributes (StarCalc cell types,...
String TAG_ORDERED_LIST
Element tag for text:ordered-list.
String ATTRIBUTE_TABLE_BASE_CELL_ADDRESS
Attribute tag for table:base-cell-address of element table:named-range.
String TAG_LINE_BREAK
Element tag for text:line-break.
String ATTRIBUTE_DEFAULT_CELL_STYLE
Attribute tag for table:default-cell-style-name of element table:table-column.
String TAG_TABLE_CELL
Element tag for table:table-cell.
String ATTRIBUTE_MANIFEST_FILE_PATH
Attribute tag for manifest:full-path of element manifest:file-entry.
String ATTRIBUTE_FO_FONT_FAMILY_GENERIC
Attribute tag for fo:font-family of element fo:font-family.
String ATTRIBUTE_CONFIG_NAME
Attribute tag for config:name of element config:config-item.
String ATTRIBUTE_TABLE_VALUE
Attribute tag for table:value of element table:table-cell.
String ATTRIBUTE_TABLE_VALUE_TYPE
Attribute tag for table:value-type of element table:table-cell.
String TAG_CONFIG_ITEM
Element tag for config:config-item.
String ATTRIBUTE_TABLE_CELL_RANGE_ADDRESS
Attribute tag for table:cell-range-address of element table:named-range.
String ATTRIBUTE_TABLE_STYLE_NAME
Attribute tag for table:style-name of table elements.
String TAG_LIST_HEADER
Element tag for text:list-header.
String ATTRIBUTE_STYLE_NAME
Attribute tag for style:name of element style:name.
String ATTRIBUTE_TABLE_NUM_COLUMNS_REPEATED
Attribute tag for table:number-columns-repeated of element table:table-cell.
String TAG_MANIFEST_ROOT
Element tag for manifest:manifestentry in Manifest XML.
String TAG_TABLE_COLUMN
Element tag for table:table-column.
String ATTRIBUTE_FO_FONT_FAMILY
Attribute tag for fo:font-family of element fo:font-family.
String ATTRIBUTE_MANIFEST_FILE_TYPE
Attribute tag for manifest:media-type of element manifest:file-entry.
String TAG_OFFICE_META
Element tag for office:meta.
String TAG_TABLE_NAMED_RANGE
Element tag for table:named-range.
String CELLTYPE_CURRENCY
The cell contains data of type currency.
String TAG_OFFICE_MASTER_STYLES
Element tag for office:master-styles.
String TAG_OFFICE_BODY
Element tag for office:body.
String TAG_CONFIG_ITEM_MAP_ENTRY
Element tag for config:config-item-map-entry.
String CELLTYPE_BOOLEAN
The cell contains data of type boolean.
String TAG_TABLE_SCENARIO
Element tag for table:scenario.
String ATTRIBUTE_TABLE_BOOLEAN_VALUE
Attribute tag for table:time-boolean-value of element table:table-cell.
String TAG_TABLE_NAMED_EXPRESSION
Element tag for table:named-expression.
String TAG_OFFICE_AUTOMATIC_STYLES
Element tag for office:automatic-styles.
String TAG_TAB_STOP
Element tag for text:tab-stop.
String TAG_UNORDERED_LIST
Element tag for text:unordered-list.
String SXW_FILE_EXTENSION
StarWriter XML file extension.
String CELLTYPE_DATE
The cell contains data of type date.
String ATTRIBUTE_SPACE_COUNT
Attribute tag for text:c of element text:s.
String TAG_OFFICE_DOCUMENT_CONTENT
Element tag for office:document-content, this is the root tag in content.xml.
String TAG_TABLE_ROW
Element tag for table:table-row.
String TAG_MANIFEST_FILE
Element tag for manifest:file-entry entry in Manifest XML.
String CELLTYPE_TIME
The cell contains data of type time.
String CELLTYPE_STRING
The cell contains data of type string.
String TAG_OFFICE_STYLES
Element tag for office:styles.
String ATTRIBUTE_TABLE_STRING_VALUE
Attribute tag for table:string-value of element table:table-cell.
String TAG_STYLE_FONT_DECL
Element tag for style:font-decl.
String ATTRIBUTE_TABLE_FORMULA
Attribute tag for table:formula of element table:table-cell.
String ATTRIBUTE_TABLE_DATE_VALUE
Attribute tag for table:date-value of element table:table-cell.
String TAG_CONFIG_ITEM_MAP_INDEXED
Element tag for config:config-item-map-indexed.
String ATTRIBUTE_TABLE_CURRENCY
Attribute tag for table:currency of element table:table-cell.
String CELLTYPE_FLOAT
The cell contains data of type float.
String TAG_OFFICE_DOCUMENT
Element tag for office:document, this is the root tag.
String ATTRIBUTE_TABLE_NUM_ROWS_REPEATED
Attribute tag for table:number-rows-repeated of element table:table-row.
String ATTRIBUTE_STYLE_FONT_PITCH
Attribute tag for style:font-pitch of element style:font-pitch.
String TAG_CONFIG_ITEM_SET
Element tag for config:config-item-set.
String TAG_OFFICE_DOCUMENT_META
Element tag for office:document-meta, this is the root tag in content.xml.
String ATTRIBUTE_TABLE_TIME_VALUE
Attribute tag for table:time-value of element table:table-cell.
String TAG_NAMED_EXPRESSIONS
Element tag for table:named-expression.
String SXC_TYPE
StarCalc XML office:class value.
String CELLTYPE_PERCENT
The cell contains data of type percent.
String SXC_FILE_EXTENSION
StarCalc XML file extension.
String TAG_OFFICE_SETTINGS
Element tag for office:settings.
String TAG_OFFICE_DOCUMENT_STYLES
Element tag for office:document-styles, this is the root tag in styles.xml.
String ATTRIBUTE_CONFIG_TYPE
Attribute tag for config:type of element config:config-item.
String TAG_CONFIG_ITEM_MAP_NAMED
Element tag for config:config-item-map-named.
String TAG_LIST_ITEM
Element tag for text:list-item.
String TAG_OFFICE_FONT_DECLS
Element tag for office:font-decls.
String ATTRIBUTE_TABLE_EXPRESSION
Attribute tag for table:expression of element table:named-range.
String ATTRIBUTE_TABLE_NAME
Attribute tag for table:name of element table:table.
String TAG_OFFICE_DOCUMENT_SETTINGS
Element tag for office:document-settings, this is the root tag in content.xml.
String SXW_TYPE
StarWriter XML office:class value.