Skip to content

[feature] Generate fixed-layout output (PDF or similar) #304

@nyq

Description

@nyq

Harness diagrams, when used in production environment, need to be in some fixed-layout document format because that document needs to go through the design review, approval and release processes. Surely one can take HTML output produced by WireViz and manually "print" it into PDF format, but it would be more useful if the tool had an option for direct generation of PDF. Manually generating PDFs out of HTML is not only adding an extra step, but it also requires playing with scaling factor depending on the size of the diagrams in HTML file. At a minimum, PDF output solution would need to meet the following requirements:

  1. User should be able to specify target paper size
  2. User should be able to specify target paper orientation
  3. BOM table should auto-scale to fit into page width independently of the diagram scaling factor
  4. Diagram should auto-scale to fit into single-page dimensions independently of the BOM table scaling factor
  5. There needs to be a way for the user to supply HTML files with document header and footer contents (having custom headers and footers is a must for any controlled document)
  6. The tool should have macros for page number, current date etc for substitution inside of HTML headers and footers
  7. There needs to be a way to override any fixed text currently hard-coded into HTML output (e,g, section headings like "Bill of Materials") for international purposes. Some users need to have them in other languages, while some other users have corporate manual of style that does not allow excessive capitalization of the section headings. Would be great to have this feature for any output, not just PDF.

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