all2md.options.xlsx
Configuration options for XLSX (Excel) parsing.
This module defines options for parsing Excel spreadsheet files.
- class all2md.options.xlsx.XlsxOptions
Bases:
SpreadsheetParserOptionsConfiguration options for XLSX spreadsheet conversion.
This dataclass inherits all spreadsheet options from SpreadsheetParserOptions. Currently, XLSX has no format-specific options beyond the base spreadsheet options.
See SpreadsheetParserOptions for complete documentation of available options.
- __init__(attachment_mode: AttachmentMode = 'alt_text', alt_text_mode: AltTextMode = 'default', attachment_output_dir: str | None = None, attachment_base_url: str | None = None, max_asset_size_bytes: int = 52428800, attachment_filename_template: str = '{stem}_{type}{seq}.{ext}', attachment_overwrite: AttachmentOverwriteMode = 'unique', attachment_deduplicate_by_hash: bool = False, attachments_footnotes_section: str | None = 'Attachments', extract_metadata: bool = False, sheets: list[str] | str | None = None, include_sheet_titles: bool = True, render_formulas: bool = True, max_rows: int | None = None, max_cols: int | None = None, truncation_indicator: str = '...', preserve_newlines_in_cells: bool = False, trim_empty: TrimEmptyMode = 'trailing', header_case: HeaderCaseOption = 'preserve', chart_mode: ChartMode = 'skip', merged_cell_mode: MergedCellMode = 'flatten') None