ZUGFeRD / mustangproject

Open Source Java e-Invoicing library, validator and tool (Factur-X/ZUGFeRD, UNCEFACT/CII XRechnung)
http://www.mustangproject.org
Apache License 2.0
230 stars 129 forks source link

Additional file exports for visualizer no longer necessary? #426

Open seeeeew opened 3 months ago

seeeeew commented 3 months ago

When I use Mustang 2.12 CLI to convert an EN 16931 invoice to HTML, it also exports xrechnung-viewer.css and xrechnung-viewer.js, but the generated HTML contains no references to these files and works fine without them. I assume these files were necessary in earlier versions, but no longer are. If that is correct, you can probably just remove lines 854-862 from Main.java.

langfr commented 3 months ago

I'm using the ZUGFeRDVisualizer class inside of my app, not via CLI. But that's the same kind of use. The content of those two files, xrechnung-viewer.css and xrechnung-viewer.js, are embedded in the resulting html file and therefore not necessary as separate files to view the result.

jstaerk commented 3 months ago

ups, sorry, used to be differently