computerline1z / okapi

Automatically exported from code.google.com/p/okapi
0 stars 0 forks source link

Inline markups for spell and grammar checking in xlf document #440

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Take a docx/pptx document with at least one word marked as spelling/grammar 
error, e.g. "Sentence with an Eror."
2. Convert this document to xlf
3. The converted xlf document has additional g- and/or x-markups

What is the expected output? What do you see instead?
Expected output: No markups around the "wrong"-spelled word.
Current output: Markups around the "wrong"-spelled word.
converted docx: 
<source xml:lang="en-us"><x id="1"/><g id="2">Sentence with an </g><x 
id="3"/><g id="4">Eror</g><x id="5"/><g id="6">.</g><x id="7"/></source>

converted pptx:
<source xml:lang="de-de"><g id="1">Sentence with an </g><g id="2">Eror</g><g 
id="3">.<g/></source>

What version of the product are you using? On what operating system?
Okapi version: M27 (January 25 2014)
Operating System: Windows 7 Enterprise

Please provide any additional information below.

The xml document of the docx contains this sentence as the following:
Sentence with an </w:t></w:r><w:proofErr 
w:type="spellStart"/><w:r><w:t>Eror</w:t></w:r><w:proofErr 
w:type="spellEnd"/><w:r><w:t xml:space="preserve">.

Original issue reported on code.google.com by s.kar...@24technology.de on 2 Feb 2015 at 8:40

GoogleCodeExporter commented 9 years ago

Original comment by tingley on 21 Feb 2015 at 11:57