gjwgit / rattleng

The New Generation R Analytics Desktop App
GNU General Public License v3.0
20 stars 9 forks source link

TEXT PAGE: Add a button for each text page to generate a PDF from the contents and pop it up. #513

Closed gjwgit closed 1 month ago

gjwgit commented 1 month ago

Description

For a TextPage, similar to the ImagePage, it will be useful to have a button to view the text of the page in an external viewer as PDF, and to save the text as PDF into a file.

Why

So that a user is able to more easily compare a result with another model result. For example, I want to build kmeans and then ewkm. How to best compare them? After building the second model we can't currently restore the first easily. But viewing it externally allows this comparison easily.

junhaow1 commented 1 month ago
image
junhaow1 commented 1 month ago

working branch https://github.com/gjwgit/rattleng/tree/kev/513_button

gjwgit commented 1 month ago

Use the same style for the button as we use in the image_page widget.

Image

junhaow1 commented 1 month ago

some format issue Image Image

junhaow1 commented 1 month ago

https://github.com/gjwgit/rattleng/pull/537 PR created