LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to choose portrait/landscape format for a picture under openoffice writer 2.3.9? (https://www.linuxquestions.org/questions/linux-software-2/how-to-choose-portrait-landscape-format-for-a-picture-under-openoffice-writer-2-3-9-a-743357/)

xpucto 07-28-2009 07:26 AM

How to choose portrait/landscape format for a picture under openoffice writer 2.3.9?
 
Hi!
I use openoffice writer 2.3.9 and when I paste a picture on a document, I can't find any option to get the portrait format. With a right mouse click I get a all lot of options (especially under "picture") but nothing about the format.

thanks for any help.

bryanl 07-28-2009 11:34 AM

Use styles (F11), page styles then modify the default page style under the page tab to set page size, orientation, and margins.

tredegar 07-28-2009 12:10 PM

Take a look at OO's Help.
Search for "portrait and landscape"
Here's a quick copy & paste from Ooo 2.4.1:

Quote:

To change the page orientation for all pages that use the current page style:
1.Choose Format - Page.
2.Click the Page tab.
3.Under Paper format, select Portrait or Landscape.
4.Click OK.
To change the page orientation only for the current page, you first need a page style, then apply that style:
1.Choose Format - Styles and Formatting.
2.Click the Page Styles icon.
3.Right-click, and choose New.
4.On the Organiser tab page, type a name for the page style in the Name box.
5.In the Next Style box, select the page style that you want to apply to the next page.
To only apply the new page style to a single page, select "Default".
To apply the new page style to all subsequent pages, select the name of the new page style.
6.Click the Page tab.
7.Under Paper format, select Portrait or Landscape.
8.Click OK.
To Use Landscape and Portrait Page Orientation in the Same Document
Before you begin, ensure that you have created a page style that uses landscape page orientation. See To Change the Page Orientation to Landscape or Portrait for details.
1.Click in front of the first character of the paragraph where you want to change the page orientation.
2.Choose Insert - Manual Break.
3.Select Page break.
4.In the Style box, select a page style that uses the landscape or portrait page orientation.
To change the orientation of the current page only, select a page style where the Next Style option is set to "Default".
To change the orientation of the current and subsequent pages, select a page style where the Next Style option is set to the name of the page style.
If you want to change the page orientation later on in the document, repeat steps 1 to 3.
5.Click OK.

xpucto 07-29-2009 04:11 AM

Thank you but I don't want to change the format of the page but only of some pictures I've pasted on the page! I've pasted a 20 pictures on a few pages. All pages are on portrait format and it's fine so. But all pictures that I've pasted on those pages are on landscape format even though some pictures should be on portrait format and I couldn't figure out how to change this.

tredegar 07-29-2009 04:20 AM

Rotate the pictures before you paste them in?

xpucto 07-29-2009 04:52 PM

well, it dosen'tseem to have any easy solution: http://user.services.openoffice.org/...hp?f=10&t=1730

tredegar 07-30-2009 01:25 PM

Quote:

well, it dosen'tseem to have any easy solution:
I think I have, at last, worked out where your problem is.

Update me if I am wrong:

More modern cameras store the orientation (portrait / landscape) of the camera when you take a picture.

This is stored with the JPG (or whatever) as EXIF metadata.

More modern camera-picture-viewers (and linux has plenty to choose from) can read this data and auto-rotate images so they are displayed correctly when you open the image. They might be stored with the wrong orientation, but they can be displayed correctly if the EXIF data is read and interpreted. So your pictures probably display with the correct orientation with your camera-picture-viewer even if they are stored with the "wrong" orientation.

OO Writer doesn't do this (why should it? It's a word-processor not an image-processor.) So, in your opinion some images are presented by OO-writer "incorrectly" orientated. OO-writer isn't reading the EXIF data and acting on it.

Using OO tools to rotate images is insane - way too much overkill and slowness.

So the solution is to open the images you want to paste into the document with some general-purpose image manipulator (not a "camera-picture-viewer"), like gimp (there are plenty of others, install and try / test them) which will not (to my knowledge) "auto-rotate" images. If the orientation is "wrong" in gimp, then Image -> Transform -> Rotate. Then File -> Save. Then it'll be the right way round when you import it into Oo-whatever.

Once you have correctly rotated the images in question, you'll have to re-import them to OO-writer.

xpucto 07-31-2009 02:01 AM

You are perfectly right Tredegar! This is also the solution I used until then but the whole thing is very time consuming. I originally wanted t create a document of a few pages with pictures of my holidays and a few comments in oder to send it to my family. The whole thing should have taken only a few minutes since it doesn't have to be perfect. Well... I just gave up! Maybe OO-writer isn't the best tool for this (but OO doen't offer any publisher tool) but it still should be able to handle such a task. I personally disagree with the idea that OO shouldn't offer any "picture rotating option". Word-processors don't only deal with words since ages and therefore word-processor has to be able to deal with different objects... otherwise you are dealing with a basic text-editor.

tredegar 07-31-2009 10:50 AM

If you have a whole bunch of photos, some of which you want to rotate, and you run KDE, please take a look at Charles Bouveyron's kim - which is just what you need, and a neat introduction to KDE's service menus.

It's all scripted and very easy to modify, extend, and customise. It needs the package imagemagick to be installed before it'll work.

The latest version has "auto-rotate images from EXIF informations." which might be exactly what you need to automate the process (if it doesn't re-write the rotated file, you can adjust the script so it does).

xpucto 08-05-2009 02:38 PM

thank you! I guess I have it all wrong: I run Gnome!But thanks for the tip. The tool seems interesting.


All times are GMT -5. The time now is 03:38 PM.