If I explicity set a print range as
Code: Select all
printAreas = (XPrintAreas) UnoRuntime.queryInterface(XPrintAreas.class, xSpreadsheet);
printAreas.setPrintAreas(new CellRangeAddress[] {});
cursor = xSpreadsheet.createCursor();
cursor2 = (XUsedAreaCursor) UnoRuntime.queryInterface(XUsedAreaCursor.class, cursor);
cursor2.gotoStartOfUsedArea(false);
cursor2.gotoEndOfUsedArea(true);
printAreas.setPrintAreas(new CellRangeAddress[] {});
lAddressable = (XCellRangeAddressable) UnoRuntime.queryInterface(XCellRangeAddressable.class, cursor2);
printAreas.setPrintAreas(new CellRangeAddress[] { lAddressable.getRangeAddress() });This is a major issue any way I can set a print area also have the charts/image rendered.
Not I have set the page style property to render all of these as true, yet no luck.