[Libreoffice-bugs] [Bug 43219] FILEOPEN: Captions numbers from MSWord .doc not shown (Shown if resaved as DOCX in MSO)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Oct 29 12:39:32 UTC 2019


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

Stephan Bergmann <sbergman at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michael.stahl at cib.de,
                   |                            |vmiklos at collabora.com

--- Comment #12 from Stephan Bergmann <sbergman at redhat.com> ---


(In reply to Viktor Mileikovskyi from comment #0)
> Created attachment 53829 [details]
> This file created by MS Office 2003 with numbered formulas
> 
> Problem description: 
> I try to open .doc document created by MS Word 2003 (such as attached).
> This document contains formulas in tables with captions created by next
> steps:
> By Insert->Reference->Caption we created new label named "(" with numeric
> value and ")" after it.

The attached Example.doc contains "SEQ ( \* ARABIC", which appears to violate
the MS-DOC spec. 
<http://interoperability.blob.core.windows.net/files/MS-DOC/[MS-DOC].pdf>
2.9.90 "flt" references [ECMA-376], and
<http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%204%20(PDF).zip>
contains "Office Open XML Part 4 - Markup Language Reference.pdf", which, in
2.16.5.63 "SEQ", specifies the syntax

  SEQ identifier [ field-argument ] [ switches ]

and the requirement that "identifier shall start with a Latin letter and shall
consist of no more than 40 Latin letters, Arabic digits, and underscores."  An
identifier of "(" does not meet that requirement.

It appears to be a bug in MS Office 2003 that it allows the user to chose "("
as a name there.  It is not clear to me whether and how best to cater for such
documents in LO.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191029/a651b73f/attachment.html>


More information about the Libreoffice-bugs mailing list