Hi Alan,
On 07/22/07 19:42, Alan Yaniger wrote:
I'm working on Issue 72804, which requires me to have access to the
current text direction while I'm in the Table Border dialog
(svx/source/dialog/border.cxx). How do I get the current text direction
from SvxBorderTabPage::FillItemSet? I've tried:
pItem = GetItem( rCoreAttrs, SID_ATTR_FRAMEDIRECTION );
you have to translate SID_ATTR_FRAMEDIRECTION into the Writer's 'which'
range:
nWhich = GetWhich( SID_ATTR_FRAMEDIRECTION );
const SvxFrameDirectionItem& rItem = static_cast<bla>(rSet.Get(nWhich));
Hope this helps,
Frank
--
Frank Meies (fme) - OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]