Alan Yaniger wrote:
Is this the way to get the text direction value if I want to change it ?

To change the value, I've been trying to use the function, for example:
           pItem.PutValue( FRMDIR_ENVIRONMENT, ATTR_WRITINGDIR );

but I'm getting the compiler error:
"cannot convert 'this' pointer from 'const SvxFrameDirectionItem' to 'SvxFrameDirectionItem &'"

How do change I the text direction  value?

Just modifying an item on the stack doesn't much effect anyway. Use something like

pDocument->ApplyAttr( nCol, nRow, nTab,
  SvxFrameDirectionItem( FRMDIR_HORI_RIGHT_TOP, ATTR_WRITINGDIR ) )

This will take care of properly updating the ScAttrArray structure.

Niklas

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

Reply via email to