https://bugs.documentfoundation.org/show_bug.cgi?id=100671

            Bug ID: 100671
           Summary: DOCX: chapter numbers imported as text, not as
                    references in numbering captions
           Product: LibreOffice
           Version: 5.1.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: andrej.skvort...@gmail.com

Created attachment 125974
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125974&action=edit
test document created in Word 2010

Steps to reproduce the issue:
* open in LO attached document
  Document looks good, caption numbering looks correct (Figure 1.1, Table 2.1),
but...

* Press Ctrl-F9 to show field codes.
  Look at chapter numbers in captions (Figure 1 [Number range Figure], Table 2
[Number range Table]). Chapter numbers are imported just as numbers.

* Add another chapter before Chapter 1.
  See that chapter numbers in captions are still the same, but should be
changed to Figure 2.1 and Table 3.1.


The attached document was tested with LO 5.1.4.2. 


I see that numbering style is not imported, maybe this is root of the problem.
Steps to check this:
* add another caption to the image in document. 
* select category 'Figure'
* click 'Options...'
* see that 'Numbering Captions by Chapter'-'Level' is set to 'None'.

You can set level to 1 and see how captions and references to figures'll get
correct numbers.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to