Issue 92817 - docx: conversion of "Comments" to notes2 and vice versa
Summary: docx: conversion of "Comments" to notes2 and vice versa
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 3.0 Beta 2
Hardware: All All
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords:
: 93092 94451 96073 (view as issue list)
Depends on:
Blocks:
 
Reported: 2008-08-15 14:46 UTC by thewonderer57
Modified: 2013-08-07 14:43 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
docx file with comment (11.18 KB, application/msword)
2009-01-14 13:05 UTC, Oliver Specht
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description thewonderer57 2008-08-15 14:46:34 UTC
I've been following the progress of the build up to OpenOffice 3.0, but
more particularly the notes2 software you are working on.

I work with people in business who unfortunately are using M$ Office
2007 for their word processing needs. They use the "comments" feature in
Office 2007, which can be found via the "Review" option in Word 2007.

I was testing out the OpenOffice 3.0 beta 2 today, and found that,
whilst it did successfully read the .docx format in terms the correct
words from the body of the document were on the page, it did not deal at all
well with the "comments" on the .docx document. In fact, it just put the text
from the comment straight onto the page, as part of the body of the text.

Is the intention for OOo 3.0 to have native support for M$ Office 2007
"Comments", and expect to be able to add comments, and then Office 2007
to read these successfully.

If this is not yet implemented, is this a feature for the roadmap for
OOo 3.1 and beyond? It did seem that the "Comments" feature is used a
lot by users of the Office 2007 package.
Comment 1 eric.savary 2008-08-19 21:23:16 UTC
ES->MRU: I think it's more a missing docx import feature then a notes bug.
Please take over.
Comment 2 michael.ruess 2008-08-20 12:44:56 UTC
The docx is  unfortunately not in final state. 
MRU->HBRINKM: keep this issue until the "import comments" / "export notes to
docx" feature has been implemented into the docx filter.
Comment 3 michael.ruess 2008-09-30 08:38:18 UTC
*** Issue 94451 has been marked as a duplicate of this issue. ***
Comment 4 stefan.baltzer 2008-09-30 12:35:07 UTC
*** Issue 93092 has been marked as a duplicate of this issue. ***
Comment 5 michael.ruess 2008-11-11 14:40:56 UTC
*** Issue 96073 has been marked as a duplicate of this issue. ***
Comment 6 Oliver Specht 2008-12-23 10:48:21 UTC
The import has been started in 
writerfilter/source/dmapper/DomainMapper_Impl.hxx
writerfilter/source/dmapper/DomainMapper_Impl.cxx
writerfilter/source/dmapper/DomainMapper.cxx

The annotation's TextRange property could not be accessed prior to insertion -
or better not before a drawing model has been created.
This is fixed in 
sw/source/core/field/textapi.cxx

The remaining issue is the fact that text cannot be successfully written into
the 'TextRange' property of the Annotation object after this object is inserted
into the document. This seems to be caused by a missing synchronization of
multiple EditEngine instances.


Comment 7 Oliver Specht 2008-12-23 12:50:37 UTC
Now the import of the annotation text works.
It works only if the anntotation is inserted into the document _after_ the text
has been inserted. See issue 96800

->hbrinkm: 
The elements w:author and w:date from the comments.xml are not resolved, yet.

Comment 8 Oliver Specht 2008-12-29 07:12:05 UTC
Created issue 97631 for date and author. Setting this one fixed.
Comment 9 max.odendahl 2008-12-29 08:36:09 UTC
mod->os: just wondering, does only simple text work or rich-text as well?
Comment 10 Oliver Specht 2008-12-29 09:04:40 UTC
->mod: It works with rich text.
Comment 11 Oliver Specht 2009-01-14 13:05:59 UTC
Created attachment 59381 [details]
docx file with comment
Comment 12 Oliver Specht 2009-01-14 13:09:13 UTC
Reassigned for verification
Comment 13 michael.ruess 2009-01-15 16:12:20 UTC
Verified fix in CWS os124.
Comment 14 max.odendahl 2009-03-29 13:06:29 UTC
seen good in OOO310_m7