You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2015/03/13 13:59:39 UTC

[Issue 126176] New: Import from WORD erroneously applies Heading numbering to non-Heading-formatted styles

https://bz.apache.org/ooo/show_bug.cgi?id=126176

          Issue ID: 126176
        Issue Type: DEFECT
           Summary: Import from WORD erroneously applies Heading numbering
                    to non-Heading-formatted styles
           Product: Writer
           Version: 4.1.1
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P5
         Component: open-import
          Assignee: issues@openoffice.apache.org
          Reporter: udippel@gmail.com

Created attachment 84589
  --> https://bz.apache.org/ooo/attachment.cgi?id=84589&action=edit
The numbering of Heading(s) in WORD (original) and Writer differ.

(I have reduced a standard exam template to a rather basic sample)
We use a VB application to extract data from a WORD-file for automated exam
correction in a multiple-choice exam.
Flags are Heading1, Haeding2, to distinguish the tasks and sub-tasks, and
format styles 'solution [xyz]' to extract the correct solutions.

I'd love to use OpenOffice instead, but the im- and export doesn't work
correctly. The attached sample shows it: the numbering of tasks miraculously
(erroneously) is applied to the 'solution correct' and 'solution none' fields
as well; not to the parent 'solution', however. 
It ought not be applied at all, however, since the numbering had originally
been applied exclusively to Heading1 and Heading2.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126176] Import from WORD erroneously applies Heading numbering to non-Heading-formatted styles

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126176

oooforum <oo...@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oooforum@free.fr

--- Comment #1 from oooforum <oo...@free.fr> ---
To demonstrate what happens between AOO and MS-Word, it would be useful to
provide comparable screen captures so that we can discern exactly what is
happening.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126176] Import from WORD erroneously applies Heading numbering to non-Heading-formatted styles

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126176

--- Comment #5 from udippel <ud...@gmail.com> ---
This is exactly what I uploaded as first file.
(I don't think you want the file twice? ;-) ).

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126176] Import from WORD erroneously applies Heading numbering to non-Heading-formatted styles

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126176

--- Comment #15 from Claudia Badell <cl...@gmail.com> ---
Created attachment 85077
  --> https://bz.apache.org/ooo/attachment.cgi?id=85077&action=edit
Issue B.docx

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126176] Import from WORD erroneously applies Heading numbering to non-Heading-formatted styles

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126176

--- Comment #14 from Claudia Badell <cl...@gmail.com> ---
Created attachment 85076
  --> https://bz.apache.org/ooo/attachment.cgi?id=85076&action=edit
Issue B - Header and Footer tables are not displayed.jpg

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126176] Import from WORD erroneously applies Heading numbering to non-Heading-formatted styles

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126176

--- Comment #6 from orcmid <or...@apache.org> ---
(In reply to udippel from comment #5)
> This is exactly what I uploaded as first file.
> (I don't think you want the file twice? ;-) ).
Oops.  No, I don't need the .doc file again.  Thanks.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126176] Import from WORD erroneously applies Heading numbering to non-Heading-formatted styles

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126176

--- Comment #3 from udippel <ud...@gmail.com> ---
Created attachment 84601
  --> https://bz.apache.org/ooo/attachment.cgi?id=84601&action=edit
Document in OpenOffice

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126176] Import from WORD erroneously applies Heading numbering to non-Heading-formatted styles

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126176

--- Comment #12 from Claudia Badell <cl...@gmail.com> ---
Created attachment 85074
  --> https://bz.apache.org/ooo/attachment.cgi?id=85074&action=edit
Issue A - Borders are displayed.jpg

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126176] Import from WORD erroneously applies Heading numbering to non-Heading-formatted styles

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126176

--- Comment #2 from udippel <ud...@gmail.com> ---
Created attachment 84600
  --> https://bz.apache.org/ooo/attachment.cgi?id=84600&action=edit
Document in WORD

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126176] Import from WORD erroneously applies Heading numbering to non-Heading-formatted styles

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126176

--- Comment #11 from Claudia Badell <cl...@gmail.com> ---
Created attachment 85073
  --> https://bz.apache.org/ooo/attachment.cgi?id=85073&action=edit
AOO Writer 4.2.0.jpg

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126176] Import from WORD erroneously applies Heading numbering to non-Heading-formatted styles

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126176

--- Comment #10 from Claudia Badell <cl...@gmail.com> ---
Created attachment 85072
  --> https://bz.apache.org/ooo/attachment.cgi?id=85072&action=edit
AOO Writer 4.1.1

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126176] Import from WORD erroneously applies Heading numbering to non-Heading-formatted styles

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126176

--- Comment #8 from udippel <ud...@gmail.com> ---
@#7:
They are *not*! It is the same text, only the numbering goes haywire. I've
shown the 'hidden' feature so that you can see that it picks up some extra
numbering from another category.
That's exactly why I filed this bug: the *numbering* changes, as you have
astutely noticed.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126176] Import from WORD erroneously applies Heading numbering to non-Heading-formatted styles

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126176

orcmid <or...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |orcmid@apache.org

--- Comment #4 from orcmid <or...@apache.org> ---
Can you upload (a non-private form of) the original Word document, please, so
we can see what the settings of that document are?  

The OpenDocument .odt is not needed unless we discover that we can't reproduce
the problem.

The screen shots are also very helpful.  Thank you for those.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126176] Import from WORD erroneously applies Heading numbering to non-Heading-formatted styles

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126176

--- Comment #7 from oooforum <oo...@free.fr> ---
Sorry but these 2 screenshots are differents.
Word_view shows Task 2 and 3
AOO_view shows Task 6 and 11

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126176] Import from WORD erroneously applies Heading numbering to non-Heading-formatted styles

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126176

Claudia Badell <cl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |claubs@gmail.com

--- Comment #9 from Claudia Badell <cl...@gmail.com> ---
(Claudia Badell - 24th October 2015)

I could reproduce the issue with the document attached by udippel. Besides not
showing the same heading numbers, also happens that:
a) Border color for tables in Header and Footer is black in AOO Writer but it
is displayed grey in MS Word.
b) First and second cells in last row of the second and forth tables in Page 2
are visible but in the MS Word version those cells have not border thickness.
c) Content in first column is empty for all tables in all pages. 
d) Content in third column is empty for tables in pages 2 and 3. 
e) Texts (10 Points) and 15 Points) are aligned to the left but in the MS Word
version they are aligned to the right.
f) Texts with background color Green or Yellow in MS Word are not displayed
with background color in AOO Writer.

I obtained the same result opening the attached Final_Demo_Basics.doc file in
versions
- A00 Writer 4.1.1 Language = English
- AOO Writer 4.2.0 Win  Language = English
using Windows 7 Ultimate 32 bits Service Pack 1

Please see attached files with obtained result for both versions ("AOO Writer
4.1.1.jpg" and "AOO Writer 4.2.0.jpg").

Regarding the heading numbering issue, I wasn’t able to reproduce from scratch.
I tried to reproduce it in version 4.2.0 with different levels of sections and
applying different format styling.

I could reproduce a) from scratch in versions 4.1.1 and 4.2.0. Maybe this issue
can be related to issue #69225.  Sequence to reproduce a) from scratch:
1. Add a table 2X2 in MS Word file 
2. Set left and bottom borders for first cell in second row to be not visible
3. Save and close file
4. Open saved file in AOO Writer
Obtained result: borders unset in step 2 are displayed grey. Please see
attached image "Issue A - Borders are displayed.jpg" and MS Word file to
reproduce it (Issue A.docx).

I couldn’t reproduce b) from scratch but I found the following issue in
versions 4.1.1 and 4.2.0:
1. Add a MS Word file 
2. Insert => Header => Blank template
3. Insert a 2x2 table with size by default as the Header
4. Close Header edition
5. Insert => Footer => Blank template
6. Insert a 2x2 table with size by default as the Footer
7. Close Footer edition
8. Save and close file
9. Open saved file in AOO Writer
Obtained result: tables are not displayed. Please see attached image "Issue B -
Header and Footer tables are not displayed.jpg" and MS Word file to reproduce
it (Issue B.docx).

I couldn’t reproduce c) and d) from scratch. I tried adding tables with the
following format in a MS Word and then opening the file in AOO Writer 4.2.0:
- Content in cells of first row with Heading 1 format and cells in other rows
with Normal format.
- Content in cells of first row with Heading 1 format, cells in second row with
Heading 2 format and cells in other rows with Normal format.
- Content in cells of first row with Title format and cells in other rows with
Normal format.
- Content in cells of first row with Title format, cells in second row with
Subtitle format and cells in other rows with Normal format.
- Setting in cells of each row a different format setting: Heading 1, Heading
2, Heading 3, Title and Subtitle
- Setting in cells of each row a different format setting: Heading 1, Heading
2, Heading 3, Title and Subtitle
- Setting in cells of each row a different format setting and also setting
bullets numbering

I couldn’t reproduce e) from scratch. I tried adding text (10 Points) after
text of the subsection title in a MS Word and then opening the file in AOO
Writer 4.2.0. This text was added with
- More than one blank space between the title´s subsection and text (10 points)
- One or more Tabs between the title´s subsection and text (10 points)
- Different format style in text (10 points)

I couldn’t reproduce f) from scratch. I tried adding text in cells in a table
in a MS Word and then opening the file in AOO Writer 4.2.0. Tried tables 3x3
with text in all cells and:
- Only one text with background color set
- All texts in cells with background color set. All with same colors and each
with a different color.
- All texts in cells of a column with background color set
- All texts in cells of a row with background color set

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126176] Import from WORD erroneously applies Heading numbering to non-Heading-formatted styles

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126176

--- Comment #13 from Claudia Badell <cl...@gmail.com> ---
Created attachment 85075
  --> https://bz.apache.org/ooo/attachment.cgi?id=85075&action=edit
Issue A.docx

-- 
You are receiving this mail because:
You are the assignee for the issue.