Bug 103683 - PDF export mediabox trimbox cropbox bleedbox artbox
Summary: PDF export mediabox trimbox cropbox bleedbox artbox
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
(earliest affected) release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
Keywords: needsDevEval
: 103396 (view as bug list)
Depends on:
Blocks: DTP PDF-Import-Draw PDF-Export
  Show dependency treegraph
Reported: 2016-11-03 17:56 UTC by Walter
Modified: 2023-06-12 13:52 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

PDF A4 Scribus (1.54 KB, application/pdf)
2016-11-04 16:56 UTC, Walter
PDF A4 Draw (1.32 KB, application/pdf)
2016-11-04 16:58 UTC, Walter

Note You need to log in before you can comment on or make changes to this bug.
Description Walter 2016-11-03 17:56:22 UTC

i would like to do Desktop publishing with LibreOffice Draw.
PDF product is visually correct, but when i send to the printers, it lacks differentes boxes : mediabox, trimbox, bleedbox and artbox.

Is it possible to have a layer to visualize the different boxes and tabs to define in the properties of the page.

With these improvements, it would be possible to produce a document ready for printing.

thank you for your work.
Comment 1 Heiko Tietze 2016-11-04 11:58:24 UTC
Draw has layers, with not the best usability. Therefore we made recently a proposal [1] how to improve, which could explain the current state too. What do you miss exactly? At best you can attach a document as example.

[1] https://design.blog.documentfoundation.org/2016/07/31/how-the-navigator-may-support-object-handling-in-libreoffice-draw/
Comment 2 Walter 2016-11-04 16:56:22 UTC
Created attachment 128493 [details]
PDF A4 Scribus

PDF made with scribus
Line 48 Mediabox
Line 59 Bleedbox
Line 50 Cropbox
Line 51 Trimbox
Line 52 Artbox
Comment 3 Walter 2016-11-04 16:58:31 UTC
Created attachment 128494 [details]
PDF A4 Draw

PDF A4 made with LibreOffice Draw

Line 41 MediaBox

there are no other boxes, il's impossible to defined them
Comment 4 Walter 2016-11-04 17:13:39 UTC
We try to make desktop publishing with free software. I tried to do with Scribus, Inkscape, LibreOffice Draw.
Scribus has the best PDF rendering,
Inkscape provides a good graphic quality, 
LibreOffice Draw is the easiest to use for users who wish to make a publication, which should not necessarily be accurate design level, but the data, graphics are very important, especially the relationship with LibreOffice Calc for the preparation of charts.

I join 2 pdf file
one made with Scribus, they are all pdf Boxes.
Another file made with LibreOffice Draw they are only MediaBox.

Layer serve to visualize the location of different PDF boxes, it's just an idea for improvement.
It is true that the layers are not very intuitive, in Inkscape they are easier to apprehend.
Comment 5 Heiko Tietze 2016-11-05 08:35:22 UTC
I see the definition in the raw file but not rendered specially (white page). 

/MediaBox [0 0 623.62205 870.23622]
/BleedBox [0.00000 0.00000 623.62205 870.23622]
/CropBox [0 0 623.62205 870.23622]
/TrimBox [14.17323 14.17323 609.44882 856.06299]
/ArtBox [14.17323 14.17323 609.44882 856.06299]

And I still don't understand why Draw's layers are not sufficient. But anyway, let's have the experts a look.
Comment 6 Walter 2016-11-05 13:12:58 UTC
it's not about the draw layers, but rendering pdf, which does not define the different box.
A layer will visualize the boxes more easily.
Comment 7 Heiko Tietze 2016-11-15 17:23:14 UTC
Valid enhancement request. More info can be found here https://wiki.scribus.net/canvas/PDF_Boxes_:_mediabox,_cropbox,_bleedbox,_trimbox,_artbox

PDF specs are linked on this page

From the UI POV it makes sense to add these properties to the PDF options dialog as another tab. The remaining question is how to deal with PDF import.

(Moving from Draw to Filters & Storage)
Comment 8 Heiko Tietze 2016-12-29 10:36:06 UTC
*** Bug 103396 has been marked as a duplicate of this bug. ***
Comment 9 Heiko Tietze 2016-12-29 10:37:52 UTC
Trim marks were requested in bug 103396 along with a workaround and a reference how Microsoft handles this feature.
Comment 10 Josiah James 2019-12-11 09:45:59 UTC Comment hidden (spam)
Comment 11 Nora 2020-02-15 06:23:43 UTC Comment hidden (spam)
Comment 12 richbond 2020-03-05 04:24:38 UTC Comment hidden (spam)
Comment 13 Gabriel Welch 2020-04-25 08:03:02 UTC Comment hidden (spam)
Comment 14 Libby Howells 2020-05-08 11:01:23 UTC Comment hidden (spam)
Comment 15 Libby Howells 2020-05-29 12:41:05 UTC Comment hidden (spam)
Comment 16 ammamunro 2020-06-02 16:52:30 UTC Comment hidden (spam)
Comment 17 rickypaul091@gmail.com 2020-08-29 08:22:14 UTC Comment hidden (spam)
Comment 18 wantfall 2020-11-03 05:17:57 UTC Comment hidden (spam)
Comment 19 RichmondRenner 2020-11-19 18:53:27 UTC Comment hidden (spam)
Comment 20 Alice Munro 2020-11-26 14:38:56 UTC Comment hidden (spam)
Comment 21 Ramoji. R 2020-12-03 09:42:01 UTC Comment hidden (spam)
Comment 22 hamilton 2020-12-31 06:17:45 UTC Comment hidden (spam)
Comment 23 helpinhomework 2021-01-14 07:40:47 UTC Comment hidden (spam)
Comment 24 helpinhomework 2021-01-14 07:41:54 UTC Comment hidden (spam)
Comment 25 Samantha Green 2021-01-24 19:00:02 UTC Comment hidden (spam)
Comment 26 Savannah 2021-02-03 05:15:48 UTC Comment hidden (spam)
Comment 27 retrouvera 2021-03-26 06:16:29 UTC Comment hidden (spam)
Comment 28 itswolverine 2021-03-26 07:36:22 UTC Comment hidden (spam)
Comment 29 downloadldplayer 2021-04-18 17:33:16 UTC Comment hidden (spam)
Comment 30 rahul kumar 2021-05-20 00:53:30 UTC Comment hidden (spam)
Comment 31 Labrits 2021-07-25 17:08:22 UTC Comment hidden (spam)
Comment 32 Oliver jake 2021-11-18 09:55:13 UTC Comment hidden (spam)
Comment 33 jim martin 2022-01-05 10:31:15 UTC Comment hidden (spam)
Comment 34 jim martin 2022-02-01 04:32:33 UTC Comment hidden (spam)
Comment 35 selena gomez 2022-03-03 07:44:37 UTC Comment hidden (spam)
Comment 36 selena gomez 2022-03-03 07:45:23 UTC Comment hidden (spam)
Comment 37 jandy piyo 2022-03-03 07:46:00 UTC Comment hidden (spam)
Comment 38 jandy piyo 2022-03-03 07:46:29 UTC Comment hidden (obsolete, spam)
Comment 39 Novi Riyanti 2023-06-12 13:47:20 UTC Comment hidden (spam)
Comment 40 Novi Riyanti 2023-06-12 13:47:45 UTC Comment hidden (spam)