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

Setting fit width and height into one page doesn't print gridline and headings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 3.8.0
    • 3.7.0
    • None
    • Security Level: Jean
    • None

      Steps to Reproduce

      1. load attached excel file
      2. export it as PDF with the page setup below:
        	PdfExporter pdfExporter = new PdfExporter();
        	
        		pdfExporter.getPrintSetup().setFitHeight(1);
        		pdfExporter.getPrintSetup().setFitWidth(1);
        		pdfExporter.getPrintSetup().setPrintGridlines(true);
        		pdfExporter.getPrintSetup().setPrintHeadings(true);
        //export a book
        

      Actual Result

      The exported PDF file doesn't have gridline and heading printed.

      Expected Result

      The exported PDF file should have gridline and heading printed.

      Debug Information

      The issue happens when the cells with data locate at different pages (out of one page). If they are on the same page, there is no issue.

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

              Created:
              Updated:
              Resolved: