Re: Changing font and font size of comments in Calc

Daniel Rentz <[email protected]> Tue, 28 Dec 2010 09:48:28 +0100
Newsgroups gmane.comp.openoffice.devel.api
Message-ID <[email protected]>
Hi Regina,

Am 27.12.2010 22:27, schrieb Regina Henschel:
>
> I want to change the font and its size for all comments in a Calc sheet.
> See below my Basic macro.
>
> 1. Take a Calc document and insert two new comments on the first sheet.
> 2. Run the macro. Watch, that the font and its size are changed to the
> new values you entered in the input box.
> 3. Save the document, close and reopen it.
> 4. Run the macro again. Use a different font name and font size in the
> input box. Watch, that the displayed font and font size in the comments
> do not change.
>
> But if you examine the annotation shape of the comments with xray, you
> can see, that the new values are set.
>
> Click on one comment, then use PaintBrush tool and click on the other
> comment. Watch, that not the shown font settings are copied but the
> second comment now shows the font values you have entered in the input
> box. I don't know whether they are copied or the second shape gets some
> kind of reset.
>
> Question: What do I miss, that though the new font settings are saved in
> the annotation shape, they are not shown for 'old' comments but only for
> 'new' ones?

Font settings in notes is broken somehow, see issue
http://qa.openoffice.org/issues/show_bug.cgi?id=96587

Regards
Daniel