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 
19 package org.openoffice.xmerge.converter.xml;
20 
25 public 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 
79  String ATTRIBUTE_STYLE_NAME = "style:name";
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 
100  String TAG_PARAGRAPH = "text:p";
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 
118  String TAG_HYPERLINK = "text:a";
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 
148  String ATTRIBUTE_TABLE_NAME = "table:name";
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 
209  String ATTRIBUTE_TABLE_FORMULA = "table:formula";
210 
214  String ATTRIBUTE_TABLE_VALUE = "table:value";
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 
247  String ATTRIBUTE_TABLE_CURRENCY = "table:currency";
248 
251 
254 
257 
260 
262  String CELLTYPE_CURRENCY = "currency";
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 
320  String ATTRIBUTE_CONFIG_NAME = "config:name";
321 
325  String ATTRIBUTE_CONFIG_TYPE = "config:type";
326 
328  String SXW_MIME_TYPE = "application/vnd.sun.xml.writer";
329 
331  String SXC_MIME_TYPE = "application/vnd.sun.xml.calc";
332 
333 }
String CELLTYPE_STRING
The cell contains data of type string.
String ATTRIBUTE_TABLE_VALUE_TYPE
Attribute tag for table:value-type of element table:table-cell.
String SXC_TYPE
StarCalc XML office:class value.
String ATTRIBUTE_TABLE_DATE_VALUE
Attribute tag for table:date-value of element table:table-cell.
String TAG_TABLE_ROW
Element tag for table:table-row.
String TAG_LIST_HEADER
Element tag for text:list-header.
String TAG_CONFIG_ITEM_MAP_INDEXED
Element tag for config:config-item-map-indexed.
String TAG_OFFICE_DOCUMENT
Element tag for office:document, this is the root tag.
String TAG_STYLE_FONT_DECL
Element tag for style:font-decl.
String ATTRIBUTE_TABLE_CURRENCY
Attribute tag for table:currency of element table:table-cell.
String TAG_TABLE_NAMED_EXPRESSION
Element tag for table:named-expression.
String SXW_TYPE
StarWriter XML office:class value.
String TAG_CONFIG_ITEM_SET
Element tag for config:config-item-set.
String ATTRIBUTE_TABLE_STYLE_NAME
Attribute tag for table:style-name of table elements.
String ATTRIBUTE_STYLE_NAME
Attribute tag for style:name of element style:name.
String ATTRIBUTE_TABLE_EXPRESSION
Attribute tag for table:expression of element table:named-range.
This interface contains constants for StarOffice XML tags, attributes (StarCalc cell types...
String TAG_MANIFEST_FILE
Element tag for manifest:file-entry entry in Manifest XML.
String ATTRIBUTE_TABLE_STRING_VALUE
Attribute tag for table:string-value of element table:table-cell.
String TAG_CONFIG_ITEM_MAP_NAMED
Element tag for config:config-item-map-named.
String TAG_OFFICE_DOCUMENT_CONTENT
Element tag for office:document-content, 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_TABLE_COLUMN
Element tag for table:table-column.
String TAG_TABLE_NAMED_RANGE
Element tag for table:named-range.
String ATTRIBUTE_MANIFEST_FILE_TYPE
Attribute tag for manifest:media-type of element manifest:file-entry.
String SXC_FILE_EXTENSION
StarCalc XML file extension.
String ATTRIBUTE_DEFAULT_CELL_STYLE
Attribute tag for table:default-cell-style-name of element table:table-column.
String ATTRIBUTE_TABLE_BASE_CELL_ADDRESS
Attribute tag for table:base-cell-address of element table:named-range.
String SXW_FILE_EXTENSION
StarWriter XML file extension.
String TAG_OFFICE_FONT_DECLS
Element tag for office:font-decls.
String TAG_OFFICE_MASTER_STYLES
Element tag for office:master-styles.
String ATTRIBUTE_TABLE_NAME
Attribute tag for table:name of element table:table.
String CELLTYPE_BOOLEAN
The cell contains data of type boolean.
String TAG_OFFICE_DOCUMENT_META
Element tag for office:document-meta, this is the root tag in content.xml.
String TAG_MANIFEST_ROOT
Element tag for manifest:manifestentry in Manifest XML.
String ATTRIBUTE_TABLE_BOOLEAN_VALUE
Attribute tag for table:time-boolean-value of element table:table-cell.
String TAG_TABLE_CELL
Element tag for table:table-cell.
String ATTRIBUTE_FO_FONT_FAMILY_GENERIC
Attribute tag for fo:font-family of element fo:font-family.
String ATTRIBUTE_MANIFEST_FILE_PATH
Attribute tag for manifest:full-path of element manifest:file-entry.
String ATTRIBUTE_TABLE_CELL_RANGE_ADDRESS
Attribute tag for table:cell-range-address of element table:named-range.
String TAG_TABLE_SCENARIO
Element tag for table:scenario.
String TAG_OFFICE_META
Element tag for office:meta.
String TAG_OFFICE_DOCUMENT_STYLES
Element tag for office:document-styles, this is the root tag in styles.xml.
String CELLTYPE_DATE
The cell contains data of type date.
String TAG_CONFIG_ITEM_MAP_ENTRY
Element tag for config:config-item-map-entry.
String ATTRIBUTE_TABLE_NUM_ROWS_REPEATED
Attribute tag for table:number-rows-repeated of element table:table-row.
String ATTRIBUTE_FO_FONT_FAMILY
Attribute tag for fo:font-family of element fo:font-family.
String ATTRIBUTE_CONFIG_TYPE
Attribute tag for config:type of element config:config-item.
String TAG_LINE_BREAK
Element tag for text:line-break.
String TAG_CONFIG_ITEM
Element tag for config:config-item.
String TAG_OFFICE_AUTOMATIC_STYLES
Element tag for office:automatic-styles.
String TAG_ORDERED_LIST
Element tag for text:ordered-list.
String TAG_TAB_STOP
Element tag for text:tab-stop.
String ATTRIBUTE_TABLE_VALUE
Attribute tag for table:value of element table:table-cell.
String CELLTYPE_FLOAT
The cell contains data of type float.
String TAG_OFFICE_DOCUMENT_SETTINGS
Element tag for office:document-settings, this is the root tag in content.xml.
String TAG_NAMED_EXPRESSIONS
Element tag for table:named-expression.
String ATTRIBUTE_SPACE_COUNT
Attribute tag for text:c of element text:s.
String ATTRIBUTE_TABLE_NUM_COLUMNS_REPEATED
Attribute tag for table:number-columns-repeated of element table:table-cell.
String TAG_LIST_ITEM
Element tag for text:list-item.
String ATTRIBUTE_TABLE_FORMULA
Attribute tag for table:formula of element table:table-cell.
String ATTRIBUTE_CONFIG_NAME
Attribute tag for config:name of element config:config-item.
String TAG_UNORDERED_LIST
Element tag for text:unordered-list.
String CELLTYPE_PERCENT
The cell contains data of type percent.
String ATTRIBUTE_STYLE_FONT_PITCH
Attribute tag for style:font-pitch of element style:font-pitch.
String CELLTYPE_TIME
The cell contains data of type time.
String TAG_OFFICE_STYLES
Element tag for office:styles.
String TAG_OFFICE_BODY
Element tag for office:body.
String CELLTYPE_CURRENCY
The cell contains data of type currency.
String TAG_OFFICE_SETTINGS
Element tag for office:settings.