Re: [sw-discussion] AutoCorrect: SID_ATTR_CHAR_WEIGHT/EE_CHAR_WEIGHT

2008-09-29 Thread Maximilian Odendahl
Hi Frank, thanks a lot for investigating During debugging, I also wondered about that loop, but it didn't come into my mind that it would be wrong, as it wasn't touched for a very long time. Does this make sense? OS agreed with me. But since the code is there for at least 8 years,

Re: [sw-discussion] AutoCorrect: SID_ATTR_CHAR_WEIGHT/EE_CHAR_WEIGHT

2008-09-18 Thread Frank Meies
Hi Max, On 09/17/08 12:29, Maximilian Odendahl wrote: The problem here is that this needs to go into svx, and different kinds of EditEngines are involved, so this easy mapping based on writer core or EditEngine is not possible, therefore the possible solution with the typeinfo. well, if

[sw-discussion] AutoCorrect: SID_ATTR_CHAR_WEIGHT/EE_CHAR_WEIGHT

2008-09-17 Thread Maximilian Odendahl
Hi, there is a bug in Writer, so that all Autocorrects which use a stlye do not work in the EditEngines, such as setting a text to bold etc. This therefore affects all draw objects as well as the notes. I looked into it, the issue here is that the wrong which id is set, e.g. it sets

Re: [sw-discussion] AutoCorrect: SID_ATTR_CHAR_WEIGHT/EE_CHAR_WEIGHT

2008-09-17 Thread Thomas Lange - Sun Germany - ham02 - Hamburg
Hi Maximilian, Hi, there is a bug in Writer, so that all Autocorrects which use a stlye do not work in the EditEngines, such as setting a text to bold etc. This therefore affects all draw objects as well as the notes. I looked into it, the issue here is that the wrong which id is set,

Re: [sw-discussion] AutoCorrect: SID_ATTR_CHAR_WEIGHT/EE_CHAR_WEIGHT

2008-09-17 Thread Maximilian Odendahl
Hi Thomas, where either SID_ATTR_CHAR_xxx or RES_CHRATR_xxx gets manually mapped to the respective EE_CHAR_xxx. pass that one to a EditEngine. I don't know about how other applications do that. They may have better ones but the simple mapping should be fair enough within sw. The problem