[Libreoffice-bugs] [Bug 124571] New: Printable property not respected for PDF export on drawing objects

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Apr 5 22:32:22 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=124571

            Bug ID: 124571
           Summary: Printable property not respected for PDF export on
                    drawing objects
           Product: LibreOffice
           Version: 6.1.5.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: wpeaton4 at gmail.com

Created attachment 150552
  --> https://bugs.documentfoundation.org/attachment.cgi?id=150552&action=edit
draw file with two rectangles that are nonprintable.

This bug seems to apply drawing objects in all major programs. Verified for
Draw and Calc.

The Printable property seems to work fine on controls and layers on Export to
PDF.

However, if you set the Printable property of a draw object (e.g. rectangle,
text box, line, etc.) the Printable property is respected for printing but not
for Export to PDF.

The Printable property does not seem to be accessible from the UI, but it is
accessible through the API.

To reproduce:

1. Open attached drawing file it has two rectangles. The top rectangle has it's
   Printable property set to false from the API. The bottom rectangle is on a
   layer called "bg". The "bg" layer Printable property is set to false.
2. Verify (with MRI or by other means) that top rectangle (Index 0 on the 
   drawing page) has Printable = False.
3. Select bottom rectangle. In status bar, see that it is on "bg" layer.
4. Print page. Page should be empty.
5. Export to PDF. Top rectangle will be in PDF file.

The Workaround for this bug, of course, is to place nonprintable objects on
nonprintable layers. Layers are not available for Writer, Calc, or Impress.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190405/55625043/attachment.html>


More information about the Libreoffice-bugs mailing list