In my document there is a huge table and chart related to it. I would like to hide the table when exporting the document to PDF and keep the chart because the table contains only calculations. How can I make it possible?
Wrap the table in a frame and set the frame as not printable.
In what way is the chart related to the table?
A reasonable relation to the information supplied in the table (whether as content or as calculated results) I would only see if the chart is directly connected to these contents and therefore also updates e.g. if respecive content is changed.
This, on the other hand seems only possible to me if the “table” is a spreadsheet (or a range there) in an embedded spreadsheet document.
Always keep charts and their true data together. As soon as you copy a chart from a sheet, and paste it into a different document, the data get fixed, and later updates get complicated (or forgotten).
If you kept data and chart together, it’s very simple to “hide” the table in a way as shown in the attached example.
WiriterDocWithOLEembeddetChartAndTableSheetsDoc.odt (50.8 KB)
Just try with a table in Writer, select it and choose menu Insert - Chart. After that you can change values in the table.
Yes. I knew.
This is the hard way. I never use it. However, more recent versions of LibreOffice allow to reconnect such charts to “real data/values” kept/calculated in a spreadsheet after copy / paste into the sheet.
Of course, the internal data tables of type-breaking dislocated charts are only shown during editing and not exported to a pdf anyway.
Therefore the question doesn’t apply to this variant, IMO.
Try to set a print-range. This should be respected for pdf-export as well.
Where can I find “print-range” option in writer?
Select the table, chose menu Format
- Character
- Font Effect
tab - and mark Hidden
.