Paper Office
paper-xlsxAPI referencepreserve.ledger

DirtyLedger

paper-xlsx 0.2.1 API reference

DirtyLedger()

Attributes

added_sheets

attributeadded_sheets
= set()

armed

attributearmed
= False

cache_writes

attributecache_writes
= {}

cells

attributecells
= {}

chartsheet_snapshots

attributechartsheet_snapshots
= {}

comment_snapshots

attributecomment_snapshots
= {}

core_snapshot

attributecore_snapshot
= None

custom_snapshot

attributecustom_snapshot
= None

dxfs_len

attributedxfs_len
= 0
attributeexternal_links_snapshot
= ()

formulas_changed

attributeformulas_changed
= False

image_replacements

attributeimage_replacements
= {}

loaded_sheet_titles

attributeloaded_sheet_titles
= frozenset()

named_styles_len

attributenamed_styles_len
= 0

object_snapshots

attributeobject_snapshots
= {}

orig_cell_styles_len

attributeorig_cell_styles_len
= 0

pinned_regions

attributepinned_regions
= {}

pivot_refresh_requests

attributepivot_refresh_requests
= set()

pivot_source_snapshots

attributepivot_source_snapshots
= {}

protection_warned

attributeprotection_warned
= set()

region_snapshots

attributeregion_snapshots
= {}

removed_sheets

attributeremoved_sheets
= []

renames

attributerenames
= {}

rich_text_mode

attributerich_text_mode
= False

row_attr_snapshots

attributerow_attr_snapshots
= {}

sheet_order

attributesheet_order
= []

sheet_states

attributesheet_states
= {}

shifts

attributeshifts
= {}

template_flag

attributetemplate_flag
= False

value_overwrites

attributevalue_overwrites
= {}

workbook_snapshot

attributeworkbook_snapshot
= None

Functions

arm

funcarm(wb, rich_text=False)
paramwb
paramrich_text
= False

check_style_registry

funccheck_style_registry(wb)

Refuse if any interned style component that existed at arm time was mutated in place (the StyleProxy nested-object leak): such a mutation silently restyles every aliased cell and cannot be expressed as an append-only styles.xml edit.

paramwb

dirty_coordinates

funcdirty_coordinates(ws)
paramws

is_loaded_sheet

funcis_loaded_sheet(ws)
paramws

mark_cell

funcmark_cell(ws, row, column)
paramws
paramrow
paramcolumn

On this page