Hello Malte, Thank you very much for the information.
It is too late today fo me. I will test in Monday morning. if it is not ok, I will also ask Armin for this. Have a nice weekend. With Best Regards, LiuTao 2009/12/4 Malte Timmermann <malte.timmerm...@sun.com> > 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: dev-unsubscr...@gsl.openoffice.org > For additional commands, e-mail: dev-h...@gsl.openoffice.org > >