Andis Lazdins wrote:

Hi!

It works and it is much faster than copy / paste images and captions. Everything is simple!

Good

May be there is also solution to change order of caption label and number and to insert line break or other special formatting elements after caption label and number?

This is very easy. Notice that the text "Figure " is manually entered, as is the field containing the formula "Figure + 1". You can, therefore, add the formula at any location.

In Latvian from linguistic point of view it is used to write label before and then number, for instance, 1. Drawing and not Drawing 1. Msoffice have the same problem, at least I do not know, how to manage it. Using some kind of numbering, like in your example, is good, but when using cross references, I can not get reference number and label, just number or whole caption text.

In the USA English version, I can use

* Insert > Cross reference
* Select the References tab.
* Select the Figure variable

I always select as "Category and number" in the far right hand side selection box and it inserts "Figure 1". This is almost what you want. The problem, of course, is that you want it to read "1. Figure" where "1. Figure" is the reference rather than "Figure 1" as the reference. I do not know how to do that off hand.

So, if swriter has such possibility, at least in Latvia it is much more advanced than msoffice.

Andis


I would:

* Define a paragraph style for the graphic. Now, you do NOT place this into a frame AND you want a caption tied to it, so be certain to insert the image as a character. * Define a paragraph style for the caption. Be certain to indicate that the next style is the "graphic" style and tell this paragraph to STAY with the next paragraph. * When you know that you want to insert a caption, start by choosing your paragraph style (or do it later) and then type in the text "Figure ". * Now, you want to insert the figure number. Use Insert > Fields > Other to open the fields dialog.
* Choose the "Variables" tab.
* In the type column, choose "Number Range". Note that the variables Drawing, Table, Illustration, and Text already exist. * On the far right, you probably want to choose the display type as "Arabic (1, 2, 3)". You can even set the number of levels to display. * On the bottom, enter the variable name "Figure" and for the value enter "Figure+1"
* Click on the "Insert" button to insert the figure number.
* Now you can close the dialog.
* Enter the rest of the text after "Figure 1".

The field that displays the "1" will be incremented sequentially as you add figure numbers before this location, and the same for figured entered afterwards. After I do this once, I usually copy the entire paragraph and paste it when I need a new figure.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info:  http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to