Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


Charles:

I'd be happy to file a bug report, but I'm hoping to find out a bit more the 
situation before I do. This delay is partly selfish, because my personal need 
is to find a workaround, but I'm hoping it will also help correct the problem 
if I can give some details.

On Thursday 22 May 2014 08:58:21 AM Charles-H. Schulz wrote:
Bruce, Virgil,

On 22 mai 2014 05:40:39 CEST, Bruce Byfield <bbyfield@axion.net> wrote:
On Wednesday 21 May 2014 10:22:41 PM Dan Lewis wrote:
On 05/21/2014 03:16 PM, Bruce Byfield wrote:
If you've done much work positioning graphics in text, then you

know how

difficult it can be to make sure that the graphics stay in place.

In the

past, many experts have come up with recommendations about the best
settings to use, but these suggestions either don't work if you try

to

export to another format or else have been made obsolete by changes

to

the program over the year.

In preparation for my upcoming book on OpenOffice/LibreOffice, I'm

hoping

to solve this  problem once and for all. Could anyone who is

interested

reproduce the two methods below, then try to break them by copying

and

pasting, adding text around the graphics, and anything else you can

think

of? I would be very interested in hearing results, especially on
platforms other than Linux.

Method #1: Right-click on a graphic, and select Picture -> Options

->

Protect _> Position and Size.

Method #2:

1. Turn off auto-caption in Tools > Options

2. Create table with 1 column, 2 rows. Set space above and below.

Do not

allow to splilt across page or column, or keep with next paragraph,

do

not create heading row.

3. Set space above and below table (multiple of line height)

4. Place picture in 1st row. If you have trouble placing it in a

cell,

space down in the cell a few times before inserting the picture.

5. Position picture: either move using alignment or, if you want an
indentation from the left, adjust from right, subtracting space

from the

total width of the table.

6. Add caption in second row. If graphic is indented, you will need

to

create a caption paragraph style with an indent.

7. In table context menu, unselect Table Boundaries. For

convenience, you

may want to unselect only before you print.

Thanks to anyone whose curiosity or need encourages them to join

the

experiment.

      I don't have problems with placing graphics where I want them,

but

then again, I do not wrap any text around them. Perhaps this is the

problem?

I have a file created by LibreOffice 4.1.6 and 4.2.4 that has 73

graphics

and 4 images. I have no problem keeping them where I put them. The

name of

the file is BG4204Forms20140501.odt. It is available for download
athttps://wiki.documentfoundation.org/Documentation. You will need to
scroll down to the Base Guide section of this web page.

      Another thought that may or may not have anything to do with

the

problem. These are the settings that I use in Tools > Options >

Memory:
Undo steps: 20, Graphics cache Use for LibreOffice 252MB, Memory per
object 2.0MB, Remove from memory after 1:00 (h:m), number of objects

252.

      When inserting a graphic, the following steps are used:
1. Create a paragraph style for the frames with the alignment

centered

and any other style properties needed.
2 Create an empty paragraph.
3. Create a frame anchored to this paragraph
4. Anchor the frame as a character
5. Insert the caption in the bottom of the frame.
6. Insert the graphic in the frame
7. Anchor the graphic as a character).

      Over the past 10 years or more I have been doing this without

any

problems in any of the chapters I have written for the ODFAuthors

group.

      There is one more thing that I do that automates several of

these

steps: I use AutoText. It creates the frame with steps 1, 3, 4, and

5.

This just leaves me to create an empty paragraph, insert the graphic,
and anchor it as a character. In addition, I also resize the frame if

I

think it needs it.

Thanks for your input. What operating system are you using?

I've tried the technique you mention, but for me (and many others), it
doesn't
seem to work. I don't think that wrapping the text has anything to do
with the
problem, because, if anything, graphics that don't have any wrap tend
to stray
more often than those that do.

However, the memory settings may have an effect, so I'm going to do
some
experiments. Perhaps the failure arises because not enough memory is
allocated
for large graphics?

While other tools may be used for this it should be quite possible to
achieve the same result with LibreOffice writer. Which suggests that a bug
report is in order. Mind filing one?

Thanks,

Charles.

-- 
Bruce Byfield 604-421-7189 (on Pacific time)
blog: https://brucebyfield.wordpress.com
website: http://members.axion.net/~bbyfield/

-- 
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.