Hi Michel!

Michel Weimerskirch wrote:

> Hi
> 
> After two long nights I finally got the new grammar checking framework
> to work with OOo3.01RC2. However, there is an annoying issue that
> appears when I paste text from websites. In the attached screenshot
> the upper window contains the text pasted directly from the website,
> the lower window contains the text pasted as "unformated text". In the
> first window the markings are way off their correct position. The
> second window with the unformated text looks perfect. Does anybody
> have an idea what the problem could be? Maybe some hidden control
> characters that need special handling?

Have a look for the following chaarcters:

- the Unicode soft-hyphen character needs to be ignored by your application

- the 0x00 and 0x01 characters have special meaning since they denote
fields in the text. Most of them should already be replaced by the
actual text when your implementation gets called.
If it happens that there are still some left you may
a) Write an issue
and
b) for the time being need to take care of them on your own.

Since the difference between those characters is that one is used fpr
breaking-fields and the other for non-breaking-fields (I always mess up
which char is for which type ^^°) you should probably simplay replace
one sort by a space, and for the other one removinmg that char si
probably the better choice.

Regards,
Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to