Bug 239172

Summary: kword:msoffice2000: Text not displayed in "Bold" format in this document
Product: [Applications] calligrawords Reporter: Lassi Nieminen <lassi.ta.nieminen>
Component: docAssignee: Matus Uzak <matus.uzak>
Status: VERIFIED FIXED    
Severity: normal CC: matus.uzak, swathi.vegesna999
Priority: NOR Keywords: reproducible
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:
Attachments: msword test document to be opened in kword
screenshot of the document in kword
screenshot of the document in msword
msword 2003 test document to be opened in kword
pyodconverter converted testdata
koconverter converted testdata opened in openoffice
pyodconverter converted testdata opened in koffice screenshot
koconverter converted testdata opened in openoffice screenshot

Description David Faure 2010-05-28 03:08:26 UTC


---- Reported by lassi.ta.nieminen@nokia.com 2009-09-09 09:44:20 +0300 ----

Created an attachment
msword test document to be opened in kword

SOFTWARE VERSION:
  Kubuntu 9.04
  Koffice (svn version 1021093)
  Test document (MS Word 2000): mw00_template_elegant_memo.doc

STEPS LEADING TO THE PROBLEM:
  1. Open the attached document in MS Word 2000.
  2. Open the same document in KOffice.
  3. Observe the parts of the text in "Bold" format.
     See title text "INTEROFFICE MEMORANDUM".
     See title "TO","FROM","DATE" etc.

EXPECTED OUTCOME:
  Kword should be able to display above mentioned text in 
 "Bold" format.
  see attachment elegant_memo_bold_text_msword_2000.PNG

ACTUAL OUTCOME:
  Kword is unable to display the mentioned text in "Bold" format.
  Entire text is displayed in normal format.  
  see attachment elegant_memo_bold_text_kword_svn_1021093.png

FREQUENCY:
  Always



---- Additional Comments From lassi.ta.nieminen@nokia.com 2009-09-09 09:45:03 +0300 ----

Created an attachment
screenshot of the document in kword



---- Additional Comments From lassi.ta.nieminen@nokia.com 2009-09-09 09:45:22 +0300 ----

Created an attachment
screenshot of the document in msword



---- Additional Comments From lassi.ta.nieminen@nokia.com 2009-10-05 15:12:52 +0300 ----

rev: 1031434 - For the test doucment "msword_2003_template_contemporary_resume", parts of the text are not displayed in "Bold" format.
Attaching the testdata.



---- Additional Comments From lassi.ta.nieminen@nokia.com 2009-10-05 15:15:06 +0300 ----

Created an attachment
msword 2003 test document to be opened in kword



---- Additional Comments From lassi.ta.nieminen@nokia.com 2009-12-04 10:35:43 +0200 ----

Reassigning bugs from Thomas to Lassi



---- Additional Comments From lassi.ta.nieminen@nokia.com 2010-02-24 22:44:06 +0200 ----

This is actually about missing fields



---- Additional Comments From lassi.ta.nieminen@nokia.com 2010-02-27 19:03:55 +0200 ----

Created an attachment
pyodconverter converted testdata



---- Additional Comments From lassi.ta.nieminen@nokia.com 2010-02-27 19:04:10 +0200 ----

Created an attachment
koconverter converted testdata opened in openoffice



---- Additional Comments From lassi.ta.nieminen@nokia.com 2010-02-27 19:04:50 +0200 ----

Created an attachment
pyodconverter converted testdata opened in koffice screenshot



---- Additional Comments From lassi.ta.nieminen@nokia.com 2010-02-27 19:06:00 +0200 ----

Created an attachment
koconverter converted testdata opened in openoffice screenshot

Observation (1096327) : Koffice loaded the OO converted document properly



--- Bug imported by faure@kde.org 2010-05-28 03:08  ---

This bug was previously known as _bug_ 137929.

Imported an attachment (id=44484)
Imported an attachment (id=44485)
Imported an attachment (id=44486)
Imported an attachment (id=44487)
Imported an attachment (id=44488)
Imported an attachment (id=44489)
Imported an attachment (id=44490)
Imported an attachment (id=44491)
Comment 1 Halla Rempt 2010-05-31 10:29:57 UTC
Change severity from major to normal, since we usually use only crash, normal and wish.
Comment 2 Halla Rempt 2010-05-31 10:44:10 UTC
Change severity from major to normal.
Comment 3 Matus Uzak 2010-12-10 18:39:25 UTC
commit 9c93da908c9b6dad3427f78fc4f4c36501a93bed

file: ms00_template_elegant_memo.doc

comment: Text "HERE" contained in the field is not displayed in bold but it's not that important.  We can handle such details later while fine tuning processing of fields.  Formatting of text contained in paragraphs is retained.

test: trunk/tests/kofficetests/import/msword/chp_processing.xsl
Comment 4 swathi 2010-12-23 14:46:52 UTC
Verified in calligra latest revision. (Git  commit 78f327920cfbc1143d2fdd5a6987a517ece2952f)
Comment 5 Matus Uzak 2011-06-16 21:53:20 UTC
Git commit aadb816d055a86eb55d08638c6aaea768fc4cff9 by Matus Uzak.
Committed on 16/06/2011 at 21:38.
Pushed by uzak into branch 'master'.

DOC: Updated processing of sprmCFBold.

* The previous approach to processing of sprmCFBold was not correct.  The workaround
  from applyCharacterProperties was already removed.
* Added an important FIXME into applyCharacterProperties.
* Improvements in readability of wv2 files.

TODO: Using the determineCHP function with the current istd is wrong!  The CHPs
of the character style with the istd were already merged into the current CHP.

CCBUG:239172

M  +3    -0    filters/words/msword-odf/paragraph.cpp     
M  +7    -5    filters/words/msword-odf/wv2/src/generator/generator_wword6.htm     
M  +4    -2    filters/words/msword-odf/wv2/src/generator/generator_wword8.htm     
M  +20   -17   filters/words/msword-odf/wv2/src/properties97.cpp     
M  +3    -3    filters/words/msword-odf/wv2/src/styles.cpp     
M  +35   -18   filters/words/msword-odf/wv2/src/styles.h     
M  +0    -132  filters/words/msword-odf/wv2/src/word97_generated.h     
M  +63   -47   filters/words/msword-odf/wv2/src/word97_helper.cpp     

http://commits.kde.org/calligra/aadb816d055a86eb55d08638c6aaea768fc4cff9