Uploaded image for project: 'ZK Spreadsheet'
  1. ZK Spreadsheet
  2. ZSS-1036

Fail to export a file with repeating row title to a PDF

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Normal Normal
    • 3.8.0
    • 3.8.0.FL
    • None
    • Security Level: Jimmy
    • None

      Steps to reproduce

      1. load the attached file
      2. export to pdf

      Actual result

      ExceptionConverter: java.io.IOException: The document has no pages.
      	at com.lowagie.text.pdf.PdfPages.writePageTree(Unknown Source)
      	at com.lowagie.text.pdf.PdfWriter.close(Unknown Source)
      	at com.lowagie.text.pdf.PdfDocument.close(Unknown Source)
      	at com.lowagie.text.Document.close(Unknown Source)
      	at org.zkoss.zss.model.impl.pdf.PdfExporter.export(PdfExporter.java:264)
      	at org.zkoss.zss.api.impl.ExporterImpl.export(ExporterImpl.java:55)
      	at org.zkoss.zss.essential.ExportPdfComposer.doExport(ExportPdfComposer.java:38)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.zkoss.zk.ui.select.Selectors$ComposerEventListener.onEvent(Selectors.java:681)
      	at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2752)
      

            henrichen henrichen
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: