Paper Office
paper-xlsxAPI referencepackaging.core

DocumentProperties

paper-xlsx 0.2.1 API reference

High-level properties of the document. Defined in ECMA-376 Par2 Annex D

DocumentProperties(category=None, contentStatus=None, keywords=None, lastModifiedBy=None, lastPrinted=None, revision=None, version=None, created=None, creator='openpyxl', description=None, identifier=None, language=None, modified=None, subject=None, title=None)

Attributes

category

attributecategory
= category

contentStatus

attributecontentStatus
= contentStatus

created

attributecreated
= created or now

creator

attributecreator
= creator

description

attributedescription
= description

identifier

attributeidentifier
= identifier

idx_base

attributeidx_base
= 0

keywords

attributekeywords
= keywords

language

attributelanguage
= language

lastModifiedBy

attributelastModifiedBy
= lastModifiedBy

lastPrinted

attributelastPrinted
= lastPrinted

last_modified_by

attributelast_modified_by
= Alias('lastModifiedBy')

modified

attributemodified
= modified or now

namespace

attributenamespace
= COREPROPS_NS

revision

attributerevision
= revision

subject

attributesubject
= subject

tagname

attributetagname
= 'coreProperties'

title

attributetitle
= title

version

attributeversion
= version

Functions

__iter__

func__iter__()

from_tree

funcfrom_tree(node)

Create object from XML

paramnode

to_tree

functo_tree(tagname=None, idx=None, namespace=None)
paramtagname
= None
paramidx
= None
paramnamespace
= None

On this page