Paper Office
paper-xlsxAPI referencepackaging.manifest

Manifest

paper-xlsx 0.2.1 API reference

Manifest(Default=(), Override=())

Attributes

Default

attributeDefault
= Default

Override

attributeOverride
= Override

extensions

attributeextensions

Map content types to file extensions Skip parts without extensions

filenames

attributefilenames

idx_base

attributeidx_base
= 0

namespace

attributenamespace
= None

path

attributepath
= '[Content_Types].xml'

tagname

attributetagname
= 'Types'

Functions

__contains__

func__contains__(content_type)

Check whether a particular content type is contained

paramcontent_type

__iter__

func__iter__()

append

funcappend(obj)

Add content object to the package manifest

needs a contract...

paramobj

find

funcfind(content_type)

Find specific content-type

paramcontent_type

findall

funcfindall(content_type)

Find all elements of a specific content-type

paramcontent_type

from_tree

funcfrom_tree(node)

Create object from XML

paramnode

to_tree

functo_tree()

Custom serialisation method to allow setting a default namespace

On this page