[PATCH] JessyInk export to PDF or PNG fails to display the master slide

Bug #1051427 reported by Mboquien
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned
JessyInk
Invalid
Undecided
Hannes Hochreiner

Bug Description

Hello,

When exporting to a PDF or PNG archive, JessyInk fails to display the master slide in the individual PDF/PNG. This makes it problematic as the master slide elements should be displayed in all the slides of the presentation. The attached patch solves this problem.

Thanks!

Revision history for this message
Mboquien (mboquien) wrote :
summary: - JessyInk export to PDF or PNG fails to display the master slide
+ [PATCH] JessyInk export to PDF or PNG fails to display the master slide
Changed in jessyink:
assignee: nobody → Hannes Hochreiner (hannes-hochreiner)
status: New → Invalid
Revision history for this message
Hannes Hochreiner (hannes-hochreiner) wrote :

Thanks for the patch and the interest in improving JessyInk.

I set the status of this bug report to invalid because I think there is a misunderstanding on how the export works. With JessyInk 1.X the export is a two stage process.

1) Open the presentation in a web browser and press "e" to create the export file. In this step a new svg image is created where the master slide, effects and views are applied. The resulting file is offered for download. This new file does not contain the JessyInk script any more. It is a mere "rendering" of the presentation. That means that for each slide, effect and view a separate layer is contained in the file. Each of these layers also has a copy of the master slide integrated.

2) Open the export file in Inkscape and select the JessyInk export to zip archive. In this step there is no logic applied anymore. The export script just takes the file and renders a png or pdf file from every layer. The process was designed so that all the logic is preformed in JavaScript. Otherwise, one would also have to duplicate all the effect and view logic in python again.

I hope this helps. If not let me know.

Cheers,
Hannes

jazzynico (jazzynico)
Changed in inkscape:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.