paper-xlsxAPI referencepreserve.ledger
DirtyLedger
paper-xlsx 0.2.1 API reference
DirtyLedger()Attributes
added_sheets
attributeadded_sheets= set()armed
attributearmed= Falsecache_writes
attributecache_writes= {}cells
attributecells= {}chartsheet_snapshots
attributechartsheet_snapshots= {}comment_snapshots
attributecomment_snapshots= {}core_snapshot
attributecore_snapshot= Nonecustom_snapshot
attributecustom_snapshot= Nonedxfs_len
attributedxfs_len= 0external_links_snapshot
attributeexternal_links_snapshot= ()formulas_changed
attributeformulas_changed= Falseimage_replacements
attributeimage_replacements= {}loaded_sheet_titles
attributeloaded_sheet_titles= frozenset()named_styles_len
attributenamed_styles_len= 0object_snapshots
attributeobject_snapshots= {}orig_cell_styles_len
attributeorig_cell_styles_len= 0pinned_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= Falserow_attr_snapshots
attributerow_attr_snapshots= {}sheet_order
attributesheet_order= []sheet_states
attributesheet_states= {}shifts
attributeshifts= {}template_flag
attributetemplate_flag= Falsevalue_overwrites
attributevalue_overwrites= {}workbook_snapshot
attributeworkbook_snapshot= NoneFunctions
arm
funcarm(wb, rich_text=False)paramwbparamrich_text= Falsecheck_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.
paramwbdirty_coordinates
funcdirty_coordinates(ws)paramwsis_loaded_sheet
funcis_loaded_sheet(ws)paramwsmark_cell
funcmark_cell(ws, row, column)paramwsparamrowparamcolumn