Bug 130235 - Redaction of graphic objects in Calc disregards margin
Summary: Redaction of graphic objects in Calc disregards margin
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Redaction
  Show dependency treegraph
 
Reported: 2020-01-27 21:42 UTC by Aron Budea
Modified: 2020-01-27 21:48 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Sample ODS (16.04 KB, application/vnd.oasis.opendocument.spreadsheet)
2020-01-27 21:42 UTC, Aron Budea
Details
PDF exported via redaction (13.77 KB, application/pdf)
2020-01-27 21:45 UTC, Aron Budea
Details
PDF exported via Export as PDF... (13.60 KB, application/pdf)
2020-01-27 21:47 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2020-01-27 21:42:50 UTC
Created attachment 157468 [details]
Sample ODS

- Open the attached spreadsheet, which has a chart, an embedded image and a shape extending to multiple pages.
- Execute Tools -> Redact.
- Optionally save the PDF from Draw (no need to perform any actual redaction of the content).

=> The chart covers the margins. The positioning is correct, but the content overlapping the margins is duplicated on the different pages (once on margin, once inside the page area).
Interestingly, the cut-off can be slightly off compared to the edge of the page as well, but of course it'll have to be cut off at the margin anyway.

Observed using LO 7.0.0.0.alpha0+ (47c598260a8f07cf3a1e4cab061df3f2d261932c) / Windows.

Before the fix to tdf#125135 the situation was worse.

Note that Calc should behave differently compared to Writer and Impress, in those the content appears as placed, but Calc has a continuous canvas.
Comment 1 Aron Budea 2020-01-27 21:45:44 UTC
Created attachment 157469 [details]
PDF exported via redaction
Comment 2 Aron Budea 2020-01-27 21:47:24 UTC
Created attachment 157470 [details]
PDF exported via Export as PDF...