Ask Your Question
0

Illustration Index issues-- graphs and bookmarks [closed]

asked 2012-07-02 09:40:30 +0200

JaySherman5000 gravatar image

updated 2013-06-14 21:31:08 +0200

manj_k gravatar image

Hello, I have searched the internet far and wide (including this board) and cannot find a solution to my problem. So, here it is:

I am writing a thesis and it must include a List of Figures. I inserted an Illustration Index, but I am having trouble with some aspects of it. If I select "Create From"-> Object Names, I get a list of 15 entries that skips over 5 OLE graphs in my document. The 15 entries are all pictures that I inserted, and the text for each entry is the same text I entered as the Picture name when inserted them into the document. The problem is that the graphs do not have their names show up as entries in my Illustration Index. Is there a way to have OLE graph names show up as entries in my Illustration Index?

If I select "Create From"->Captions, then all of the Figures will be listed in the Index, but the text for each entry will be: a) only the category and number (too little info); b) the category, number, and THE ENTIRE caption (way too much info); or c) the ENTIRE CAPTION for each Figure (still too much info). Is there a way to have the Index populate with just the category, number, and first sentence of each caption? Will I have to manually edit each entry in the Index?

Also, is there a way I can change an object's attribute so that Navigator sees it as Graphics instead of an OLE Object?

The other problem I am having, is that when I export my document as a pdf, the entries in the Illustration Index do not show up as bookmarks. The entries in my Table of Contents show up as bookmarks, but that is all. I assume there is a way to change this in my index?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-17 00:51:58.913937

1 Answer

Sort by » oldest newest most voted
0

answered 2012-07-09 12:59:25 +0200

oweng gravatar image

There is no way I know of to pull only the first sentence from the text of a caption for inclusion within a List of Figures / Illustrations. The Insert > Indexes and Tables... facility does not appear to support this, possibly as a result of an ODF v1.2 spec limitation.

I can get three different types of detail to appear in a List of Figures / Illustrations via the following methods:

  1. Illustration (Caption) index (i.e., the "create from caption, option C" method you indicate). This will pull in all caption text stored directly in the <text:p text:style-name="Illustration"> elements. It therefore works for all <draw:image>, <draw:object> (OLE) and <draw:g> (GDI) elements.
  2. User-Defined index (i.e., Type: User-Defined, Create from: Index marks, Graphics, OLE Objects). This will not pull in standard caption text, but rather use the Object Name (e.g., <draw:frame draw:name="Object1"> for <draw:image> and <draw:object> (OLE) elements.
  3. Illustration (Object) index (i.e., the "create from object name" method you initially indicate). This will pull in object names (e.g., <draw:frame draw:name="Object1">) from <draw:image> elements only.

Note that these do not cover the different levels of detail you indicate (i.e., Display: Reference, Category and Number, or Caption Text as per method #1 above) but rather deal with the underlying XML data types. There is no way that I know of to combine category and number (<text:sequence> element) with object (<draw:...> element) information. This would provide you with the required information in each entry and appears to be what you are seeking.

edit flag offensive delete link more

Comments

@JaySherman5000 -- If you still would like additional functionality to be added to LibreOffice, please file an enhancement bug and provide as much information about this new feature as possible.

Please post a link to any bugs you file in a comment below using the format "fdo#123456".

qubit gravatar imagequbit ( 2013-03-13 10:12:43 +0200 )edit

Question Tools

Stats

Asked: 2012-07-02 09:40:30 +0200

Seen: 1,447 times

Last updated: Jul 09 '12