Bug 199671 - OpenOffice.org writer shows incorrect illustration number in preview
OpenOffice.org writer shows incorrect illustration number in preview
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: openoffice.org (Show other bugs)
5
All Linux
medium Severity medium
: ---
: ---
Assigned To: Caolan McNamara
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-21 05:30 EDT by James Hunt
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-07-21 05:51:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenOffice.org 67650 None None None Never

  None (edit)
Description James Hunt 2006-07-21 05:30:06 EDT
Description of problem:

When setting a caption for an inserted picture (illustration), the preview
window always shows "Illustration 1" when it should show "Illustration n+1"
(where 'n' is the current number of illustrations in the document).

Version-Release number of selected component (if applicable):

openoffice.org-calc-2.0.2-5.16.2
openoffice.org-core-2.0.2-5.16.2
openoffice.org-draw-2.0.2-5.16.2
openoffice.org-graphicfilter-2.0.2-5.16.2
openoffice.org-impress-2.0.2-5.16.2
openoffice.org-javafilter-2.0.2-5.16.2
openoffice.org-langpack-es-2.0.2-5.16.2
openoffice.org-math-2.0.2-5.16.2
openoffice.org-pyuno-2.0.2-5.16.2
openoffice.org-testtools-2.0.2-5.16.2
openoffice.org-writer-2.0.2-5.16.2
openoffice.org-xsltfilter-2.0.2-5.16.2


How reproducible:

Every time.

Steps to Reproduce:

1. Open new text document in Writer
2. Insert->Picture->From File...
3. select a graphic to insert
4. Right-click on graphic
5. Select "Caption..." (the Caption window will pop up).
6. Notice the bottom of the Caption windows shows a preview of how
   the caption will appear. However, if you type "foobar" into the "caption"
   field, the preview will then show, "Illustration 1: foobar" even if
   you already have other illustrations.
7. Click OK to close the caption Window.

Actual results:

The caption will be inserted with the correct Illustration number and text,
although the preview will have incorrectly showed "Illustration 1: ..."
regardless of how many existing Illustrations your document already has.

Expected results:

The preview should query the number of illustrations in the document, and add 1
to that value before showing the Illustration number in the preview.

Additional info:
Comment 1 Caolan McNamara 2006-07-21 05:51:40 EDT
Not redhat specific, moving to upstream as
http://www.openoffice.org/issues/show_bug.cgi?id=67650

Note You need to log in before you can comment on or make changes to this bug.