1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * gsf-meta-names.h: a list of gsf-meta-names to "generically" represent
4 * all diversly available implementation-specific
7 * Author: Veerapuram Varadhan (vvaradhan@novell.com)
8 * Jody Goldberg (jody@gnome.org)
10 * Copyright (C) 2004-2006 Novell, Inc
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of version 2.1 of the GNU Lesser General Public
14 * License as published by the Free Software Foundation.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU Lesser General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
26 #ifndef GSF_META_NAMES_H
27 #define GSF_META_NAMES_H
29 /* The namespace follow this classification:
30 * "dc:" - Dublin Core tags
31 * "gsf:" - Gnumeric only tags
32 * "meta:" - OpenDocument tags shared with Gnumeric
36 /****** Namespace - dc: ******/
39 * GSF_META_NAME_CREATOR:
41 * (String) An entity primarily responsible for making the content of the
42 * resource typically a person, organization, or service.
44 * 1.14.0 Moved from "gsf" to "dc".
46 #define GSF_META_NAME_CREATOR "dc:creator"
49 * GSF_META_NAME_DATE_MODIFIED:
51 * (GsfTimestamp) The last time this document was saved.
53 * 1.14.0 Moved from dc:date-modified to dc:date.
55 #define GSF_META_NAME_DATE_MODIFIED "dc:date"
58 * GSF_META_NAME_DESCRIPTION:
60 * (String) An account of the content of the resource.
62 #define GSF_META_NAME_DESCRIPTION "dc:description"
65 * GSF_META_NAME_KEYWORDS:
67 * (GsfDocPropVector of String) Searchable, indexable keywords. Similar to PDF
68 * keywords or HTML's meta block.
70 #define GSF_META_NAME_KEYWORDS "dc:keywords"
73 * GSF_META_NAME_LANGUAGE:
75 * (String) The locale language of the intellectual content of the resource
76 * (basically xx_YY form for us).
77 * 1.14.0 Clarified that this is unique from _NAME_CODEPAGE in msole
79 #define GSF_META_NAME_LANGUAGE "dc:language"
82 * GSF_META_NAME_CODEPAGE:
84 * (UnsignedShort) The MS codepage to encode strings for metadata
85 * 1.14.0 Clarified that this is unique from _NAME_CODEPAGE in msole
87 #define GSF_META_NAME_CODEPAGE "msole:codepage"
90 * GSF_META_NAME_SUBJECT:
92 * (String) The topic of the content of the resource,
93 * <emphasis>typically</emphasis> including keywords.
95 #define GSF_META_NAME_SUBJECT "dc:subject"
98 * GSF_META_NAME_TITLE:
100 * (String) A formal name given to the resource.
102 #define GSF_META_NAME_TITLE "dc:title"
105 /****** Namespace - gsf: ******/
108 * GSF_META_NAME_BYTE_COUNT:
110 * (Integer) Count of bytes in the document.
112 #define GSF_META_NAME_BYTE_COUNT "gsf:byte-count"
115 * GSF_META_NAME_CASE_SENSITIVE
117 * (Unsigned Integer) Identifier representing the case-sensitiveness.
118 * <note>of what ?? why is it an integer ??</note>
120 #define GSF_META_NAME_CASE_SENSITIVE "gsf:case-sensitivity"
123 * GSF_META_NAME_CATEGORY
125 * (String) Category of the document. <note>example???</note>
127 #define GSF_META_NAME_CATEGORY "gsf:category"
130 * GSF_META_NAME_CELL_COUNT:
132 * (Integer) Count of cells in the spread-sheet document, if appropriate.
134 #define GSF_META_NAME_CELL_COUNT "gsf:cell-count"
137 * GSF_META_NAME_CHARACTER_COUNT:
139 * (Integer) Count of characters in the document.
141 * TODO See how to sync this with ODF's document-statistic
143 #define GSF_META_NAME_CHARACTER_COUNT "gsf:character-count"
146 * GSF_META_NAME_DICTIONARY:
148 * (None) Reserved name (PID) for Dictionary
150 #define GSF_META_NAME_DICTIONARY "gsf:dictionary"
153 * GSF_META_NAME_DOCUMENT_PARTS:
155 * (Vector of strings) Names of the 'interesting' parts of the document. In
156 * spreadsheets this is a list of the sheet names, and the named expressions.
159 #define GSF_META_NAME_DOCUMENT_PARTS "gsf:document-parts"
162 * GSF_META_NAME_HEADING_PAIRS:
164 * (Vector of string value pairs stored in alternating elements) Store the
165 * counts of objects in the document as names 'worksheet' and count '4'
168 #define GSF_META_NAME_HEADING_PAIRS "gsf:heading-pairs"
171 * GSF_META_NAME_HIDDEN_SLIDE_COUNT:
173 * (Integer) Count of hidden-slides in the presentation document.
175 #define GSF_META_NAME_HIDDEN_SLIDE_COUNT "gsf:hidden-slide-count"
178 * GSF_META_NAME_IMAGE_COUNT:
180 * (Integer) Count of images in the document, if appropriate.
182 #define GSF_META_NAME_IMAGE_COUNT "gsf:image-count"
185 * GSF_META_NAME_LAST_SAVED_BY:
187 * (String) The entity that made the last change to the document, typically a
188 * person, organization, or service.
190 #define GSF_META_NAME_LAST_SAVED_BY "gsf:last-saved-by"
193 * GSF_META_NAME_LINKS_DIRTY:
197 #define GSF_META_NAME_LINKS_DIRTY "gsf:links-dirty"
200 * GSF_META_NAME_LOCALE_SYSTEM_DEFAULT:
202 * (Unsigned Integer) Identifier representing the default system locale.
204 #define GSF_META_NAME_LOCALE_SYSTEM_DEFAULT "gsf:default-locale"
207 * GSF_META_NAME_MANAGER:
209 * (String) Name of the manager of "CREATOR" entity.
211 #define GSF_META_NAME_MANAGER "gsf:manager"
214 * GSF_META_NAME_PRESENTATION_FORMAT:
216 * (String) Type of presentation, like "On-screen Show", "SlideView" etc.
218 #define GSF_META_NAME_PRESENTATION_FORMAT "gsf:presentation-format"
221 * GSF_META_NAME_SCALE:
225 #define GSF_META_NAME_SCALE "gsf:scale"
228 * GSF_META_NAME_SECURITY:
230 * (Integer) Level of security.
232 * <informaltable frame="none" role="params">
235 * <row><entry align="left">Level</entry><entry>Value</entry></row>
238 * <row><entry>None</entry><entry>0</entry></row>
239 * <row><entry>Password protected</entry><entry>1</entry></row>
240 * <row><entry>Read-only recommended</entry><entry>2</entry></row>
241 * <row><entry>Read-only enforced</entry><entry>3</entry></row>
242 * <row><entry>Locked for annotations</entry><entry>4</entry></row>
243 * </tbody></tgroup></informaltable>
245 #define GSF_META_NAME_SECURITY "gsf:security"
248 * GSF_META_NAME_THUMBNAIL:
250 * (GsfClipData) Thumbnail data of the document, typically a
251 * preview image of the document.
253 #define GSF_META_NAME_THUMBNAIL "gsf:thumbnail"
256 * GSF_META_NAME_LINE_COUNT:
258 * (Integer) Count of liness in the document.
260 #define GSF_META_NAME_LINE_COUNT "gsf:line-count"
263 * GSF_META_NAME_MM_CLIP_COUNT:
265 * (Integer) Count of "multi-media" clips in the document.
267 #define GSF_META_NAME_MM_CLIP_COUNT "gsf:MM-clip-count"
270 * GSF_META_NAME_NOTE_COUNT:
272 * (Integer) Count of "notes" in the document.
274 #define GSF_META_NAME_NOTE_COUNT "gsf:note-count"
277 * GSF_META_NAME_OBJECT_COUNT:
279 * (Integer) Count of objects (OLE and other graphics) in the document, if
282 #define GSF_META_NAME_OBJECT_COUNT "gsf:object-count"
285 * GSF_META_NAME_PAGE_COUNT:
287 * (Integer) Count of pages in the document, if appropriate.
289 #define GSF_META_NAME_PAGE_COUNT "gsf:page-count"
292 * GSF_META_NAME_PARAGRAPH_COUNT:
294 * (Integer) Count of paragraphs in the document, if appropriate.
296 #define GSF_META_NAME_PARAGRAPH_COUNT "gsf:paragraph-count"
299 * GSF_META_NAME_SLIDE_COUNT:
301 * (Integer) Count of slides in the presentation document.
303 #define GSF_META_NAME_SLIDE_COUNT "gsf:slide-count"
306 * GSF_META_NAME_SPREADSHEET_COUNT:
308 * (Integer) Count of pages in the document, if appropriate.
310 #define GSF_META_NAME_SPREADSHEET_COUNT "gsf:spreadsheet-count"
313 * GSF_META_NAME_TABLE_COUNT:
315 * (Integer) Count of tables in the document, if appropriate.
317 #define GSF_META_NAME_TABLE_COUNT "gsf:table-count"
320 * GSF_META_NAME_WORD_COUNT:
322 * (Integer) Count of words in the document.
324 #define GSF_META_NAME_WORD_COUNT "gsf:word-count"
327 /****** Namespace - msole: ******/
330 * GSF_META_NAME_MSOLE_UNKNOWN_17:
332 * (Unknown) User-defined name
334 #define GSF_META_NAME_MSOLE_UNKNOWN_17 "msole:unknown-doc-17"
337 * GSF_META_NAME_MSOLE_UNKNOWN_18:
339 * (Unknown) User-defined name
341 #define GSF_META_NAME_MSOLE_UNKNOWN_18 "msole:unknown-doc-18"
344 * GSF_META_NAME_MSOLE_UNKNOWN_19:
346 * (Boolean) User-defined name
348 #define GSF_META_NAME_MSOLE_UNKNOWN_19 "msole:unknown-doc-19"
351 * GSF_META_NAME_MSOLE_UNKNOWN_20:
353 * (Unknown) User-defined name
355 #define GSF_META_NAME_MSOLE_UNKNOWN_20 "msole:unknown-doc-20"
358 * GSF_META_NAME_MSOLE_UNKNOWN_21:
360 * (Unknown) User-defined name
362 #define GSF_META_NAME_MSOLE_UNKNOWN_21 "msole:unknown-doc-21"
365 * GSF_META_NAME_MSOLE_UNKNOWN_22:
367 * (Boolean) User-defined name
369 #define GSF_META_NAME_MSOLE_UNKNOWN_22 "msole:unknown-doc-22"
372 * GSF_META_NAME_MSOLE_UNKNOWN_23:
374 * (i4) User-defined name
376 #define GSF_META_NAME_MSOLE_UNKNOWN_23 "msole:unknown-doc-23"
379 /****** Namespace - meta: ******/
382 * GSF_META_NAME_DATE_CREATED:
384 * (Date as ISO String) A date associated with an event in the life cycle of
385 * the resource (creation/publication date).
386 * Moved from gsf:date-created to meta:creation-date. This way can be used correctly
387 * by OpenDocument and Gnumeric.
389 #define GSF_META_NAME_DATE_CREATED "meta:creation-date"
392 * GSF_META_NAME_EDITING_DURATION:
394 * (Date as ISO String) The total-time taken until the last modification.
395 * Moved from "gsf" to "meta". This way can be used correctly by OpenDocument
398 #define GSF_META_NAME_EDITING_DURATION "meta:editing-duration"
401 * GSF_META_NAME_GENERATOR:
403 * (String) The application that generated this document. AbiWord, Gnumeric,
406 * 1.14.0 Moved from "gsf" to "meta".
408 #define GSF_META_NAME_GENERATOR "meta:generator"
411 * GSF_META_NAME_KEYWORD:
413 * (String) Searchable, indexable keywords. Similar to PDF keywords or HTML's
416 #define GSF_META_NAME_KEYWORD "meta:keyword"
419 * GSF_META_NAME_INITIAL_CREATOR:
421 * (String) Specifies the name of the person who created the document
423 * 1.14.0 Moved from "gsf" to "meta".
425 #define GSF_META_NAME_INITIAL_CREATOR "meta:initial-creator"
428 * GSF_META_NAME_COMPANY:
430 * (String) Name of the company/organization that the "CREATOR" entity is
433 * 1.14.1 Moved from "gsf:company" to "dc:publisher".
435 #define GSF_META_NAME_COMPANY "dc:publisher"
438 * GSF_META_NAME_PRINT_DATE:
440 * (GsfTimestamp) Specifies the date and time when the document was last
443 #define GSF_META_NAME_PRINT_DATE "meta:print-date"
446 * GSF_META_NAME_LAST_PRINTED:
448 * (GSF_META_NAME_HEADING_PAIRS) The last time this document was printed.
450 * 1.14.0 Moved from "gsf" to "dc".
451 * 1.14.1 Moved back to "gsf" from "dc".
453 #define GSF_META_NAME_LAST_PRINTED "gsf:last-printed"
456 * GSF_META_NAME_PRINTED_BY:
458 * (String) Specifies the name of the last person who printed the document.
460 * 1.14.0 Moved from "gsf" to "meta".
462 #define GSF_META_NAME_PRINTED_BY "meta:printed-by"
465 * GSF_META_NAME_REVISION_COUNT:
467 * (Integer) Count of revision on the document, if appropriate.
468 * Moved from gsf:revision-count to meta:editing-cycles. This way can be used
469 * correctly by OpenDocument and Gnumeric.
471 #define GSF_META_NAME_REVISION_COUNT "meta:editing-cycles"
474 * GSF_META_NAME_TEMPLATE:
476 * (String) The template file that is been used to generate this document.
478 * 1.14.0 Moved from "gsf" to "meta"
480 #define GSF_META_NAME_TEMPLATE "meta:template"
482 #endif /* GSF_META_NAMES_H */