Hello Niklas,
FontWork should be disabled for note objects,because it will be caused
crash.
I analyzed the call stack, and in the void ScDrawShell::GetState()
(sc\source\ui\drawfunc\drawsh2.cxx ),
if( pObj && pObj- >GetObjIdentifier() == OBJ_CAPTION && pObj- >GetLayer()
== SC_LAYER_INTERN)
{
bDisableAnchor = true;
rSet.DisableItem( SID_ANCHOR_PAGE );
rSet.DisableItem( SID_ANCHOR_CELL );
+ rSet.DisableItem( SID_FONTWORK ); //add
}
The bug will be fixed.
l'm looking forward to your advice!
Best Regards,
Mao Yonggang.
maoyg
2007-05-14