Hi LiuTao, JiaXiang Liu wrote, On 12/04/09 10:30: > Hello Malte, > > Thank you for your answer. > > What I puzzled now is: > > Why I can not set the new attribute in no edit mode?
For redrawing the content, the metrics calculated from the EditEngine are cached somewhere, and the drawing layer uses DrawText() directly, probably also with ALIGN_BASELINE. > > This is the* biggest problem* now and I want to solve it. Can you help > me?you said it may be the drawing layer.but I can not do anything about > that. Armin should know more about this... You might figure out by setting a break point in outliner.cxx aDrawPortionHdl.Call(...). Then you will at least be able to see how the information is collected. You need to record the information about the currently used alignment, and also use that information at the place where the drawtext() is done. > > Do you know Are there somebody in OpenOffice team is developing or will > develop this feature? Don't know / think so. Malte. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
