Skip to content

Parse existing excel from template into python datastructure #11

Description

@DanCardin

Given a htmxl-generated excel file, and the associated template used to generate it, provide a mechanism to reverse engineer a format that's better than hand-writing a parser for the excel format.

hunter said something like

def capture_sheet_details(fn):
    @functools.wraps(fn)
    def wrapper(element, writer, styler, style):
        element, recording = fn(element, writer, styler, style)
        if element.id:
            writer.sheet.details[element.id] = {
                'bounding_ref': get_bounding_ref(recording),
            }

    return wrapper

that may or may not be useful

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions