Alan Yaniger wrote:
OK, I've managed to get the text direction to be RTL. But now, the text is left-aligned, even before I start editing. How do I get the text to be right-aligned now? I tried:

pEditDefaults->Put( SvxAdjustItem( SVX_ADJUST_RIGHT, EE_PARA_JUST ) ); pEdEngine->SetDefaults( *pEditDefaults );


in the ScEditWindow constructor, but it didn't work.

ScEditWindow::SetFont overwrites the EditEngine defaults. You could just add it there.

Niklas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to