Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate report result to document vulsrepo #173

Closed
nateambringit opened this issue Nov 26, 2020 · 5 comments
Closed

Generate report result to document vulsrepo #173

nateambringit opened this issue Nov 26, 2020 · 5 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@nateambringit
Copy link

Hello,
can vulsrepo generate report result for document report (like .pdf or csv)?

@ishiDACo
Copy link
Owner

The pdf and csv output is not available as a standard renderer for pivottable.js, which vulsrepo uses.
However, for TSV output it seems to be possible.

https://github.com/nicolaskruchten/pivottable/wiki/Optional-Extra-Renderers
https://pivottable.js.org/examples/mps_export.html

@ishiDACo ishiDACo added the enhancement New feature or request label Nov 27, 2020
ishiDACo added a commit that referenced this issue Nov 27, 2020
@ishiDACo ishiDACo self-assigned this Nov 27, 2020
@ishiDACo ishiDACo added this to the v0.2.6 milestone Nov 27, 2020
ishiDACo added a commit that referenced this issue Nov 30, 2020
@ishiDACo
Copy link
Owner

Now, I am implementing TSV download feature.
You will be able to download and save the TSV.
You can open the file with an editor that can handle it (e.g. LibreOffice Calc 6).

ishiDACo added a commit that referenced this issue Nov 30, 2020
@ishiDACo
Copy link
Owner

ishiDACo commented Dec 1, 2020

PDF file saving may also be possible. I'll try to see if I can.
nicolaskruchten/pivottable#58 (comment)
https://github.com/MrRio/jsPDF

@ishiDACo
Copy link
Owner

ishiDACo commented Dec 1, 2020

Dynamic generation of PDF is difficult, such as layout and font support.
Instead, try to prepare pages for printing.

ishiDACo added a commit that referenced this issue Dec 1, 2020
ishiDACo added a commit that referenced this issue Dec 2, 2020
@ishiDACo
Copy link
Owner

ishiDACo commented Dec 2, 2020

Printable pages can now be displayed in a separate window. This allows you to print just the tables and graphs on the printer or save them as PDF file (depending on your browser's printing capabilities).

@ishiDACo ishiDACo closed this as completed Dec 2, 2020
ishiDACo added a commit that referenced this issue Dec 2, 2020
[#173] Add Print preview and TSV export image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants