Interface Office
- Since:
- Apache Tika 1.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PropertyName of the principal author(s) of a documentstatic final PropertyThe number of Characters in the documentstatic final PropertyThe number of Characters in the document, including spacesstatic final Propertystatic final PropertyWhen was the document created?static final Propertystatic final Propertystatic final Propertystatic final Propertystatic final Propertystatic final Propertystatic final Propertystatic final Propertystatic final Propertystatic final Propertystatic final Propertystatic final Propertystatic final Propertystatic final Propertystatic final Propertystatic final Propertystatic final Propertystatic final Propertystatic final Propertystatic final Propertystatic final Propertystatic final Propertystatic final Propertystatic final PropertySecurity-relevant, best-effort: true when the OOXML package contains one or more declared parts that are NOT reachable from the package root through the OPC relationship graph.static final Propertystatic final Propertystatic final Propertystatic final Propertystatic final PropertyThe number of Images in the documentstatic final PropertyName of the initial creator/author of a documentstatic final PropertyKeywords pertaining to a document.static final PropertyName of the last (most recent) author of a documentstatic final PropertyThe number of lines in the documentstatic final Stringstatic final Propertystatic final Propertystatic final PropertyThe number of Objects in the document.static final Propertystatic final PropertyThe number of Pages are there in the (paged) documentstatic final PropertyThe number of individual Paragraphs in the documentstatic final Stringstatic final PropertyWhen was the document last printed?static final PropertyEmbedded files may have a "progID" associated with them, such as Word.Document.12 or AcroExch.Document.DCstatic final Propertystatic final PropertyWhen was the document last saved?static final Property1-based sheet number for a resource (e.g. an embedded image) anchored to exactly one sheet of a workbook.static final Property1-based sheet numbers a resource is anchored to, as a sequence.static final PropertyThe number of Slides are there in the (presentation) documentstatic final PropertyThe number of Tables in the documentstatic final intSentinel value used as the sole element ofSHEET_NUMBERSwhen an embedded resource is present in a workbook but not referenced from any sheet.static final Propertystatic final PropertyThe names of the parts flagged byHAS_UNREFERENCED_PARTS.static final KeyPrefixstatic final StringFor user defined metadata entries in the document, what prefix should be attached to the key names.static final Propertystatic final PropertyThe number of Words in the documentstatic final Property
-
Field Details
-
NAMESPACE_URI_DOC_META
- See Also:
-
PREFIX_DOC_META
- See Also:
-
USER_DEFINED_METADATA_NAME_PREFIX
For user defined metadata entries in the document, what prefix should be attached to the key names. eg invalid input: '<'meta:user-defined meta:name="Info1">Text1invalid input: '<'/meta:user-defined> becomes custom:Info1=Text1- See Also:
-
USER_DEFINED
-
KEYWORDS
Keywords pertaining to a document. Also populatesDublinCore.SUBJECT. -
INITIAL_AUTHOR
Name of the initial creator/author of a document -
LAST_AUTHOR
Name of the last (most recent) author of a document -
AUTHOR
Name of the principal author(s) of a document -
CREATION_DATE
When was the document created? -
SAVE_DATE
When was the document last saved? -
PRINT_DATE
When was the document last printed? -
SLIDE_COUNT
The number of Slides are there in the (presentation) document -
PAGE_COUNT
The number of Pages are there in the (paged) document -
PARAGRAPH_COUNT
The number of individual Paragraphs in the document -
LINE_COUNT
The number of lines in the document -
WORD_COUNT
The number of Words in the document -
CHARACTER_COUNT
The number of Characters in the document -
CHARACTER_COUNT_WITH_SPACES
The number of Characters in the document, including spaces -
TABLE_COUNT
The number of Tables in the document -
IMAGE_COUNT
The number of Images in the document -
OBJECT_COUNT
The number of Objects in the document. These are typically non-Image resources embedded in the document, such as other documents or non-Image media. -
PROG_ID
Embedded files may have a "progID" associated with them, such as Word.Document.12 or AcroExch.Document.DC -
OCX_NAME
-
EMBEDDED_STORAGE_CLASS_ID
-
HAS_HIDDEN_SHEETS
-
HAS_HIDDEN_COLUMNS
-
HAS_HIDDEN_ROWS
-
HAS_VERY_HIDDEN_SHEETS
-
HIDDEN_SHEET_NAMES
-
VERY_HIDDEN_SHEET_NAMES
-
PROTECTED_WORKSHEET
-
WORKBOOK_CODENAME
-
HAS_DATA_CONNECTIONS
-
HAS_EXTERNAL_LINKS
-
HAS_WEB_QUERIES
-
HAS_EXTERNAL_OLE_OBJECTS
-
HAS_FIELD_HYPERLINKS
-
HAS_HOVER_HYPERLINKS
-
HAS_VML_HYPERLINKS
-
HAS_COMMENTS
-
COMMENT_PERSONS
-
HAS_HIDDEN_SLIDES
-
NUM_HIDDEN_SLIDES
-
HAS_ANIMATIONS
-
NUM_UNLISTED_SLIDES
-
UNLISTED_SLIDE_NAMES
-
HAS_HIDDEN_TEXT
-
HAS_TRACK_CHANGES
-
HAS_DDE_LINKS
-
HAS_MAIL_MERGE
-
HAS_ATTACHED_TEMPLATE
-
HAS_SUBDOCUMENTS
-
HAS_EXTERNAL_PIVOT_DATA
-
HAS_POWER_QUERY
-
HAS_LINKED_OLE_OBJECTS
-
HAS_EXTERNAL_CHART_DATA
-
HAS_FRAMESETS
-
HAS_UNREFERENCED_PARTS
Security-relevant, best-effort: true when the OOXML package contains one or more declared parts that are NOT reachable from the package root through the OPC relationship graph. Office resolves content by following relationships, so such a part is dead weight to Office -- a place to hide bytes that a raw-ZIP reader (AV/DLP/CDR) can still see. Whether Tika parsed it depends on the parser: some discover parts by content type rather than by relationship (the SAX Word parser still extracts an unreferenced wordprocessingml part), so this flag says nothing about which bytes reached a parser.Purely structural: the part's bytes are never inspected, and its content type comes from
[Content_Types].xmlby extension or explicit override, never by sniffing. Sosmuggle.xmlholding RTF is flagged exactly as an innocent orphan is, and expect false positives -- some producers leave stale customXml or media parts behind after an edit. (A part with NO declared content type is a different case: POI rejects the whole package at open, so it surfaces as a container exception, never here.)This is an informational signal, NOT a guarantee, and it is evadable (a payload referenced by a relationship type Tika ignores is still reachable and unflagged): per Tika's security model, Tika is not a security boundary and does not attempt to detect parser differentials.
Set only for Word, Excel, PowerPoint and Visio OOXML (including macro-enabled variants). XPS links content by markup rather than relationships and is not checked. See
UNREFERENCED_PART_NAMESfor the part names. -
UNREFERENCED_PART_NAMES
The names of the parts flagged byHAS_UNREFERENCED_PARTS. -
SHEET_NUMBER
1-based sheet number for a resource (e.g. an embedded image) anchored to exactly one sheet of a workbook. For resources spanning multiple sheets seeSHEET_NUMBERS. This is the spreadsheet analogue ofTikaPagedText.PAGE_NUMBER— the convention is identical, but the property name reflects the domain (Excel sheets are not "pages" in the printer sense). -
SHEET_NUMBERS
1-based sheet numbers a resource is anchored to, as a sequence. Used for resources that appear on multiple sheets of a workbook. SeeTikaPagedText.PAGE_NUMBERSfor the full convention (single-page, multi-page, unlinked, unknown); the same rules apply here, withUNLINKED_SHEETas the "known unlinked" sentinel. -
UNLINKED_SHEET
static final int UNLINKED_SHEETSentinel value used as the sole element ofSHEET_NUMBERSwhen an embedded resource is present in a workbook but not referenced from any sheet. MirrorsTikaPagedText.UNLINKED_PAGE— negative because real sheet numbers are 1-based. SeePageAnchoringfor the helper that writes this convention.- See Also:
-