Bug 134091 - LibreOffice could try to recognize Optional Content Groups in imported pdfs
Summary: LibreOffice could try to recognize Optional Content Groups in imported pdfs
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
6.4.3.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Import-Draw
  Show dependency treegraph
 
Reported: 2020-06-18 04:41 UTC by MarjaE
Modified: 2021-08-17 14:46 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MarjaE 2020-06-18 04:41:45 UTC
Description:
LibreOffice 6.4.3.2 does not recognize layers in imported pdfs.

Steps to Reproduce:
1. Open LibreOffice.
2. Import a pdf which you know contains named layers.

Actual Results:
Everything is grouped into Layout, Controls, and Dimension Lines.

Expected Results:
If LibreOffice Draw kept named layers from imported PDFs this could make it easier to hide or cut layers, which can be important when some pdfs are built for readers which use layers and are unreadable otherwise.

But LibreOffice may need to compromise between identifying each layer and only identifying some. I'm not sure how to detect the most important layers, except perhaps by object size relative to page size.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.4.3.2
Build ID: 747b5d0ebf89f41c860ec2a39efd7cb15b54f2d8
CPU threads: 4; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 Rizal Muttaqin 2020-07-04 03:08:30 UTC
Please provide a file to test
Comment 2 MarjaE 2020-07-04 05:48:58 UTC
An affected file:

https://www.peginc.com/store/savage-worlds-showdown-2/

"Layers" turn out to be "Optional Content Groups".
Comment 3 Heiko Tietze 2021-08-17 13:36:33 UTC
Additional layers are also ignored on exporting to PDF. Worth to add, yes.