OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

insert multiple pictures in writer

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
mnatiello
General User
General User


Joined: 24 Jan 2009
Posts: 6

PostPosted: Sat Jan 24, 2009 11:13 am    Post subject: insert multiple pictures in writer Reply with quote

Hallo
I need to insert multiple pictures in a Writer document. About 10-20 pictures each time.
So far, I'm inserting them one by one, but I would like to do multiple selection or something
so that all the pictures can be entered at once. Also a standard resizing and letting the
pictures lay one after the other would be desirable.
I know there is a similar tool for impress, creating N slides out of N pictures, each slide
with one picture, but that does not work for me, I need the pictures on one page (or two)
of a Writer document, to be thereafter merged with text, etc. I know also there is
software for Vista or Windows doing that, it is in the web, but I'm a Linux user.

I use ooo 3.0.0.9 on SuSE11.1 Linux.

Thanks in advance,

M. Natiello
Back to top
View user's profile Send private message
helmerj
OOo Advocate
OOo Advocate


Joined: 12 Aug 2004
Posts: 235
Location: Germany

PostPosted: Sun Jan 25, 2009 1:05 pm    Post subject: Re: insert multiple pictures in writer Reply with quote

Hi!

The multiple insertion is the easy part. Just fire up OO with a new writer document and then start your favorite file browser (I did use dolphin under KDE 4.2), select the images in the file browser and drag them over to the writer window while keeping the left mouse button pressed. They will get inserted all at once into he OO doc. Unfortunately they are stacked on top of each other.

I have not found away to do the next steps in one go. Click the images and chose the the anchor mode of e.g. "as character" which will prevent any image to be displayed on top the one you have just changed. I haven't found to select all images and do this for all of them at once.

Maybe anybody else knows how to do get this part accomplished...

Cheers Juergen
Back to top
View user's profile Send private message Visit poster's website
mnatiello
General User
General User


Joined: 24 Jan 2009
Posts: 6

PostPosted: Sun Jan 25, 2009 11:38 pm    Post subject: Reply with quote

Thanks. I didI try with the shift button pressed with no result. It is a "workaround"
anyway since OO-writer itself apparently lacks internal commands to admit such a
thing. This should be noticed by the developers.

As for the initial formatting, I fancied that if I redefine the "Graphics" style as
"anchor as character"
"wide=40% of page"
"wrap= optimal"
then I would get the pictures ordered, two per line pairwise below each other.
It didn't work. You don't think there is a way to define a "default" for the insertion
so that the inserted picture gets per default the attributes I want it to have?
Regards,
M Natiello
Back to top
View user's profile Send private message
Hagar Delest
Super User
Super User


Joined: 06 Feb 2006
Posts: 5167
Location: France

PostPosted: Tue Jan 27, 2009 2:08 pm    Post subject: Re: insert multiple pictures in writer Reply with quote

helmerj wrote:
Click the images and chose the the anchor mode of e.g. "as character" which will prevent any image to be displayed on top the one you have just changed. I haven't found to select all images and do this for all of them at once.

See that thread: [Solved+Issue] Insert->picture->from file.
_________________
Now on the EN user community forum
Back to top
View user's profile Send private message
mnatiello
General User
General User


Joined: 24 Jan 2009
Posts: 6

PostPosted: Wed Jan 28, 2009 12:46 am    Post subject: Reply with quote

Thanks Helmerj

To set the default anchoring "as character" would be optimal for my purposes, but
apparently this leads to other problems: the document cannot be saved as Word97's
.doc, because the pictures are not shown properly after saving/closing/reopening.
But this belongs in another thread.

As for multiple-insert, the situation seems to be like this:
* I may define a style having the default anchoring and wrapping (best would be
"as character" and "optimal" but I use now "to paragraph" and "optimal").
* There is a workaround to multiple opening by going via a graphic file manager,
then one can select a number of pictures and drag them to OpenOfficeWriter. This is
not optimal but good enough.
* Still missing: To give the pictures a default size upon insertion. I don't know how to do
it, at the moment pictures are inserted with their normal size, whatever this is and one
has to change the size by hand, picture by picture: Riightclick on each picture, go to
Picture menu, select width relative 40%, height relative and keep ratio (or whatever
you like). Changing one picture does not influence the future pictures either, so this
has to be done every time.
I desire to be able to decide in advance the typical size of my pictures (in a Style or
Template or other), this being valid throughout the document. Is there a way to do this?
Suboptimal but good enough would be to add an extra command "resize" to the menu
popping up when I rightclick on the picture. Are such things easy to write? Is there a
tutorial?

Thanks again,

M. Natiello
Back to top
View user's profile Send private message
helmerj
OOo Advocate
OOo Advocate


Joined: 12 Aug 2004
Posts: 235
Location: Germany

PostPosted: Fri Jan 30, 2009 4:41 am    Post subject: Reply with quote

mnatiello wrote:

Suboptimal but good enough would be to add an extra command "resize" to the menu popping up when I rightclick on the picture. Are such things easy to write? Is there a tutorial?


Hi!

I am afraid that would be really hard. If one does belive, it is colported, that there are (besides them people payed by SUN) exactly 10 people that o code for OpenOffice. If you ever had a look at the source code, which I had, it is massive and for me as a non professionla programmer impossible to even think about contributing on the smallest level.

But then again it migh tbe different for you. I would first file an enhancement request and then stir up things to get some support by other people that do miss the same feature. You can then vote for the request and hopefully get as much support that you need in order to get this implemented. If in doubt, there is a dev/mailinglist that might be worthwhile to subscribe to and pos some questions there.

Another way might be this:

1. create a doc with the pictures inserted as best as you can manage.
2. save it.
3. create another one taking the exact same steps that you took with the irst one. the 2 docs should now be identical
4. modify the the second doc so the image look exactly the way you want it.

5. extract the odt file (oo file are renmaed yip files) into a subdirectory each, e.g. on linux you would do "unzip file.odt". On windoes you can use winzip...

6. compare the two subdirs to get an idea about the changes needed for the pics to look the way you want them. Pictures are put in subdirs indode the file and then XML tag tell O how they should look an where they shoud show up. So you might be able to create a script, that would take a file, unzip it, make the chnages to the XML code and the rezip it to the same file and open it up for you in OO.

Just an idea. Did that once when I had to replace a font on hunderes of pages...

Cheers Juergen

PS: Writing a macro could work as well I guess...
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group