[Dropped] Export to PDF as viewed "Web Layout"

Discuss the word processor
Post Reply
Korotvicka
Posts: 3
Joined: Sat Jul 20, 2024 11:49 am

[Dropped] Export to PDF as viewed "Web Layout"

Post by Korotvicka »

I have a series of .odt files composed in WRITER with the view setting as "Web Layout". They are combinations of text and images in frames. They open flawlessy in WRITER in this wide/long format.
I imagine you can guess where I'm going with this.

Using the OO WRITER "Export as PDF" function does not, apparently, support this wide format. I believe I have fiddled with every setting and the resultant .pdfs do NOT represent my layout.

In exasperation, I am considering capturing each of these wide/long fullscreen files in a series of SCREENSHOTS and sewing them all together.

Tell me a better way?

Kevin
Last edited by MrProgrammer on Sun Jul 28, 2024 8:17 pm, edited 1 time in total.
Reason: Dropped: Korotvicka is abandoning Writer
Open Office 4.1.15
Windows 11
User avatar
floris v
Volunteer
Posts: 4638
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: Export to pdf as viewed "Web Layout"

Post by floris v »

The web view is a special tool that allows you to have more text in the editing window. It also allows you to change the window width without losing readability because the text wraps with the changed width. That is great for editing, but there is no way that you can have that effect in a PDF.
The export to PDF also uses the page sizes defined in the pages styles of the document, regardless of the view mode. If you want that wide format in the PDF, you have to use a wider page width.
Alternatively, and note that I didn't try this, first export the document to XHTML, then print that to a PDF printer and hope for the best.
LibreOffice 25.8.4.2 on Ubuntu Linux
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
Korotvicka
Posts: 3
Joined: Sat Jul 20, 2024 11:49 am

Re: Export to pdf as viewed "Web Layout"

Post by Korotvicka »

I don't like the answer, but appreciate it's veracity and your offering of it.
hank-you, Floris V
Open Office 4.1.15
Windows 11
JeJe
Volunteer
Posts: 3132
Joined: Wed Mar 09, 2016 2:40 pm

Re: Export to pdf as viewed "Web Layout"

Post by JeJe »

Web layout displays the document as it would be viewed in a Web browser. Have you tried saving as html and opening in a browser and printing from there?

Edit - or converting to pdf from the html file? Look to be lots of online tools for that, not tried any.
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
JeJe
Volunteer
Posts: 3132
Joined: Wed Mar 09, 2016 2:40 pm

Re: Export to pdf as viewed "Web Layout"

Post by JeJe »

The Opera browser (free) has a save as pdf option so you could save in html, open in that and save as pdf.
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
Korotvicka
Posts: 3
Joined: Sat Jul 20, 2024 11:49 am

Re: Export to pdf as viewed "Web Layout"

Post by Korotvicka »

10 hours later...nothing works.
Thank-you all for your ideas.
I will be starting over using another program altogether.

I knew just enough about WRITER to be dangerous...to myself.
Open Office 4.1.15
Windows 11
User avatar
floris v
Volunteer
Posts: 4638
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: Export to pdf as viewed "Web Layout"

Post by floris v »

Okay, here's a small file with a very wide page and its export to PDF. Hope it helps.
widepage.pdf
(30.89 KiB) Downloaded 120 times
Attachments
widepage.odt
(9.44 KiB) Downloaded 83 times
LibreOffice 25.8.4.2 on Ubuntu Linux
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
JeJe
Volunteer
Posts: 3132
Joined: Wed Mar 09, 2016 2:40 pm

Re: Export to pdf as viewed "Web Layout"

Post by JeJe »

Is the problem with the layout? LibreOffice looks to do a better job of saving frames than OpenOffice when exporting to pdf - but the web page size isn't saved there either so a wider page would have to be used.
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
Jan_J
Posts: 195
Joined: Wed Apr 29, 2009 1:42 pm
Location: Poland

Re: Export to pdf as viewed "Web Layout"

Post by Jan_J »

A brief note on `excluding` document paging in Writer.

Writer formats documents based on paged media. I am not aware of any option to opt out of pagination. But pages can be enlarged.

In the past, the maximum page sizes were limited to 300 cm. Current versions of LibreOffice make it possible to declare pages up to 600 cm in height and width. The limitation is due to page style property dialog form. The file format itself, as well as typesetting algorithm, does not have such an arbitrary limitation. You can change it either by direct modification of the style in source code or programmatically.

In this thread viewtopic.php?p=501931 I once presented considerations for declaring very long pages. The post refers to the material submitted to the Polish-language forum https://forum.openoffice.org/pl/forum/v ... hp?p=11357, but modern online translators are able to handle it. There is also included a Basic macro for setting optimal page height to accommodate the entire content of the document.
JJ ∙ https://forum.openoffice.org/pl/
LO (26.2) ∙ Python (3.13|3.10) ∙ Unicode 17 ∙ LᴬTEX 2ε ∙ XML ∙ Unix tools ∙ Linux (Rocky|CentOS)
Post Reply