To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=26572
User bm changed the following:
What |Old value |New value
================================================================================
Assigned to|bm |os
--------------------------------------------------------------------------------
------- Additional comments from [EMAIL PROTECTED] Thu Apr 13 08:59:43 -0700
2006 -------
->OS: The character tabpage (svx/source/dialog/chardlg.cxx) uses a font preview
(svx/source/dialog/fntctrl.cxx). The text rendered in the preview is determined
in SvxFontPrevWindow::Paint(). It is taken from the current SfxViewShell. In our
case this is the Calc, as the Chart is not sfx-based.
Please allow to set a preview text at the SvxCharBasePage by different means. I
noticed that there is a method UseResourceText() at the SvxFontPrevWindow
control. Maybe that can be used to override the auto-text for preview.
As we don't want to use very specific text, but only "Sample Text", a method
like UseStandardPreviewText() would be better, thus we would avoid introducing
some standard resource text in the chart that is better kept in svx.
Alternatively, instead of using the SfxViewShell interface, maybe there is a way
to find something similar to the "current" shell via the UNO framework. If the
"current" frame is found, it could be tried to get the SfxViewShell via
UnoTunnel. If this doesn't work, a standard text is used (which would be the
case for the new chart then).
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]