Thank you for the response Jan!
Cameron Forward
@Cameron Forward
Posts made by Cameron Forward
-
Accessibility Issues on blank PDF
Hi jsreport friends,
I am trying to get some basic PDF Accessibility going in a report. I have created a literally blank HTML document here and generated it. I have many more issue but I have removed the content to start with just to get some fundamental accessibility issues resolved.
I then pass the resulting PDF through PDF Accessibility Checker 2021 which is from here.
The results look like this for WCAG:
All the 'meta' content has been completed on the template's pdf utils page. The pdf Acessibility checkbox is also checked. I am looking to see why the PDF isn't compliant even without any content and what I can do in jsreport to get these starter issues resolved.
Thanks,
Cameron
-
RE: Footnotes - reference dynamic data sent by API request
Thank you for that response Jan
-
RE: Footnotes - reference dynamic data sent by API request
@jan_blaha Hey Jan, just looking for your input on this question please?
-
RE: Footnotes - reference dynamic data sent by API request
Hi Jan,
Expanding on this functionality for footnotes, usually in a report like this you would require the main text content to be dynamically sized in relation to the amount of space the footnotes take up. For example, when there are no footnotes on a page, the footnote area takes up no space allowing more room for the main text content. When there are lots of footnotes the main text content would not overlap down into the footer area. Is there some ability to do this in CKEditor? I understand that the header-footer operation is happening after the main text content is generated so I don't know how we could know about how much space the footnotes are going to require ahead of time when the header-footer merge operation happens.
Here is an example where the footnotes take up too much space for the text content above it:
https://playground.jsreport.net/w/anon/ZkITWR~z
Thanks,
Cameron
-
Static Pdf Render error
Hi Jan & friends,
We use the afterRender() function to add a cover page to our content. I am noticing that on some PDF's, using the Static Pdf using an asset on a template fails with this error:
Here is a link to a playground minimal demo of the issue:
https://playground.jsreport.net/w/bobsyourgrannie/L~nktzrSJust run TemplateMain and you will see the issue:
In afterRender() toggle between a PDF that does work ('success') and one that fails ('fail'). In some other testing it says that it is running into the issue in zlib.
I am hoping you might be able to advise why some PDFs cause this issue, whether it be a format/compression issue, PDF security, or a bug.
I've noticed the same error occuring for another user here but his situation was different:
https://forum.jsreport.net/topic/2570/clickable-image-in-subtemplate-merged-doesn-t-workThanks,
Cameron
-
Does the new pdfDest util work across merged PDFs?
Hi,
We use the afterRender function to merge and append multiple PDFs together to make a very large report. We have a Table of Contents and I was hoping that I might be able to use pdfDest to create proper hyperlinks in my PDF from the ToC chapter listing to the actual referenced chapters in the merged PDF.
After creating my hyperlink with href and id in the ToC anchors, and adding the pdfDest on the referenced chapters, the hyperlinks all just go to the first page after the ToC, at varying heights down that page.
I am doing at all as per description here:
https://jsreport.net/learn/pdf-utilsThe documentation is unclear about if it is supposed to be able to perform this operation: "This helper can be used to create cross template links in the pdf". Can you please first let me know if this functionality is supposed to work across merged and appended PDFs?
-
RE: Not able to import
Hi Jan,
I am experiencing the same issue. I can privately send you my example export via email if that helps. You will see if in your email shortly.
-
RE: Hyperlinks between appended PDFs
Thank you for the info Jan. Yes they are all appended with jsreport chrome-pdf. I'll keep an eye out for it.