single page documents to multipe page document?

Discuss the drawing application
Post Reply
drahnier
Posts: 14
Joined: Sun Mar 02, 2008 4:30 pm

single page documents to multipe page document?

Post by drahnier »

I have a bunch of single-page odt drawings and would like to merge them into a single multi-page document (and then export this document as a pdf document).

Is there an easy way to accomplish this?

Thanks
OOo 3.2RC1 on Windows 7
User avatar
Hagar Delest
Moderator
Posts: 33482
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: single page documents to multipe page document?

Post by Hagar Delest »

From Writer or from Draw (.odt is a Writer document)? Try insert>File perhaps or create a master document.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE Faye) and 24.8 portable on Windows 11.
User avatar
James
Volunteer
Posts: 263
Joined: Sun Oct 07, 2007 7:23 am
Location: UK

Re: single page documents to multipe page document?

Post by James »

James
www.8daysaweek.co.uk - A User-Focused OOo site.
Windows Easy Installation CDs & OOo on USB Keys, OOo for Mac OS X + Ubuntu CDs

Please read: Survival Guide for the forum
OOo 3.1.1 on Ubuntu 9.x + Windows XPP, Mac OS X
drahnier
Posts: 14
Joined: Sun Mar 02, 2008 4:30 pm

Re: single page documents to multipe page document?

Post by drahnier »

These are all OpenOffice Draw documents (file extension is .odt).

I'm aware of the Insert>File procedure, but I have 480 pages to combine ...
OOo 3.2RC1 on Windows 7
User avatar
James
Volunteer
Posts: 263
Joined: Sun Oct 07, 2007 7:23 am
Location: UK

Re: single page documents to multipe page document?

Post by James »

drahnier wrote:These are all OpenOffice Draw documents (file extension is .odt).
That is strange, the correct extension for OOo Draw documents is .odg. How were these files created?

Are you able to upload a couple so that we can see how this might have happened?
James
www.8daysaweek.co.uk - A User-Focused OOo site.
Windows Easy Installation CDs & OOo on USB Keys, OOo for Mac OS X + Ubuntu CDs

Please read: Survival Guide for the forum
OOo 3.1.1 on Ubuntu 9.x + Windows XPP, Mac OS X
drahnier
Posts: 14
Joined: Sun Mar 02, 2008 4:30 pm

Re: single page documents to multipe page document?

Post by drahnier »

You're correct; extension is .odg. Sorry for this.

Although my files are Draw documents, I just tried the recommended macro (which is for Writer documents). I can successfully install it and when I run it choosing "combine all files in directory" it - after a while - finishes claiming having combined some 400+ files - which sounds good. But the resulting document still has only one emty page. Probably only works with Writer documents.
Last edited by drahnier on Sun Mar 02, 2008 6:39 pm, edited 1 time in total.
OOo 3.2RC1 on Windows 7
User avatar
James
Volunteer
Posts: 263
Joined: Sun Oct 07, 2007 7:23 am
Location: UK

Re: single page documents to multipe page document?

Post by James »

I've just checked and it seems the macro I referred you to is for Writer documents (.odt). I suppose as you are suggesting that is what you have, it may work (I've just tested and it works fine with .odt and .doc).

I can't get it to work with Draw (.odg) docs though. Whether that's the files I have or something to do with the macro I'm not sure, although I imagine it could probably be tweaked to deal with Draw docs.

Have you had a look at it?
James
www.8daysaweek.co.uk - A User-Focused OOo site.
Windows Easy Installation CDs & OOo on USB Keys, OOo for Mac OS X + Ubuntu CDs

Please read: Survival Guide for the forum
OOo 3.1.1 on Ubuntu 9.x + Windows XPP, Mac OS X
User avatar
James
Volunteer
Posts: 263
Joined: Sun Oct 07, 2007 7:23 am
Location: UK

Re: single page documents to multipe page document?

Post by James »

Ah, I see we posted at the same time. I'll take a quick look at the macro and see if anything can be done with it to help you... might not be this afternoon though, so if anyone else wants to jump in that's fine ;) :geek:
James
www.8daysaweek.co.uk - A User-Focused OOo site.
Windows Easy Installation CDs & OOo on USB Keys, OOo for Mac OS X + Ubuntu CDs

Please read: Survival Guide for the forum
OOo 3.1.1 on Ubuntu 9.x + Windows XPP, Mac OS X
User avatar
James
Volunteer
Posts: 263
Joined: Sun Oct 07, 2007 7:23 am
Location: UK

Re: single page documents to multipe page document?

Post by James »

I don't have enough experience with StarBasic to see quickly how to do this, sorry. I've also done a few Internet searches and haven't found anything suitable :(

May I suggest that you post a request in the Macros and UNO API forum for help to write / someone to write a Macro to combine Draw files, it is probably best to format the topic title something like: "[Request] Macro to combine OOo Draw files".

Depending on how important the automation of this task is to you, you might want to consider posting your request in our Paid support forum.

After re-reading your first post, the other option that has occurred to me is for you to look for a PDF creation tool like PDFCreator (if you're using Windows) that will simply "Print" all of the files as a single PDF document, if the interim of having the files in a single file isn't necessary. You may even be able to do this using PDFCreator, there is a feature to combine files into a single PDF which I have used, but I'm not sure how much work it would take for that many files (whether there's a way to automate/drag all the files at once).

In the meantime, I will contact the author of that macro to ask him if he can modify it to apply to Draw docs. However, I know his work and family commitments have meant that recently he has not been able to devote much time to OOo, so I unfortunately I can't hold out much hope on that front. If I see anything I'll be sure to let you know.

BFN,
James
www.8daysaweek.co.uk - A User-Focused OOo site.
Windows Easy Installation CDs & OOo on USB Keys, OOo for Mac OS X + Ubuntu CDs

Please read: Survival Guide for the forum
OOo 3.1.1 on Ubuntu 9.x + Windows XPP, Mac OS X
User avatar
Hagar Delest
Moderator
Posts: 33482
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: single page documents to multipe page document?

Post by Hagar Delest »

If you have automated the PDF export of each file (should be rather easy I guess), you can also use PDFTK to merge all the files, it's a very useful soft, there is a GUI and it seems to be multi platform (have only used it under Windows): GUI for PDFTK.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE Faye) and 24.8 portable on Windows 11.
User avatar
James
Volunteer
Posts: 263
Joined: Sun Oct 07, 2007 7:23 am
Location: UK

Re: single page documents to multipe page document?

Post by James »

I have used PDFTK before, but only from the command line, didn't realize there was a GUI for it :o

There is also PDFsam (PDF Split and Merge) which should be able to do something similar with existing PDF files.
James
www.8daysaweek.co.uk - A User-Focused OOo site.
Windows Easy Installation CDs & OOo on USB Keys, OOo for Mac OS X + Ubuntu CDs

Please read: Survival Guide for the forum
OOo 3.1.1 on Ubuntu 9.x + Windows XPP, Mac OS X
drahnier
Posts: 14
Joined: Sun Mar 02, 2008 4:30 pm

Re: single page documents to multipe page document?

Post by drahnier »

James,

many thanks for trying. And as much thanks for your suggestions.

I need this just once only and my life doesn't depend on it, so I'll leave things as they are for now.
OOo 3.2RC1 on Windows 7
Post Reply