OOXMLArchive-class: A generic Office Open XML archive document

OOXMLArchive-classR Documentation

A generic Office Open XML archive document

Description

This class identifies a Zip archive that is an Office Open document such as a Word or Excel file. Different packages provide the specific classes for the different types of documents with which users interact. This class is their super-class and provides general functions methods that apply to all Office Open documents.

Objects from the Class

Objects can be created by calls to createOODoc or via the constructors from the relevant packages, e.g. wordDoc or excelDoc.

Slots

.Data:

the name of the zip/archive file

classes:

a vector of class names for this object

elements:

a character vector giving the components/files of the archive when the document was read

Extends

Class "ZipFileArchive", directly. Class "character", by class "ZipFileArchive", distance 2. Class "ZipArchive", by class "ZipFileArchive", distance 2. Class "vector", by class "ZipFileArchive", distance 3. Class "data.frameRowLabels", by class "ZipFileArchive", distance 3. Class "EnumerationValue", by class "ZipFileArchive", distance 3.

Methods

[[

signature(x = "OOXMLArchive", i = "character", j = "missing"): extract the contents of a component/file in the archive by its name.

[[

signature(x = "OOXMLArchive", i = "ANY", j = "missing"): extract the contents of a component/file in the archive by either index or name

getPart

signature(doc = "OOXMLArchive"): get a part

Author(s)

Duncan Temple Lang

References

~put references to the literature/web site here ~

See Also

ZipArchive-class in the Rcompression package. WordArchive and ExcelArchive in the RWordXML and RExcelXML packages.

createOODoc

Examples

showClass("OOXMLArchive")

duncantl/ROOXML documentation built on Nov. 23, 2023, 4:22 p.m.