Hi , Andreas
in the programm , if I insert a Chart with the following cluase
e.g :
SvGlobalName aGlobalName( SO3_SCH_CLASSID );
pShell->InsertObject( ::svt::EmbeddedObjectRef(), &aGlobalName, FALSE );
then I want to insert a new line after inserting the chart . following :
e.g :
pShell->InserLineBreak() ;
but in this InserLineBreak() function , it execute the cluase
"if(_CanInert())" , this function "_CanInser()" return FALSE value .
now I want to know how I can made the function "_CanInsert()" return the "TRUE"
value in the fuction "InsertLineBreak()" after inserting a
chart , in other words , I execute the following clause
SvGlobalName aGlobalName( SO3_SCH_CLASSID );
pShell->InsertObject( ::svt::EmbeddedObjectRef(), &aGlobalName, FALSE );
gaopeng
2007-08-01
发件人: Andreas Martens
发送时间: 2007-07-30 17:41:43
收件人: [email protected]
抄送:
主题: Re: [dev] which cause influence on the return value of
functionSwWrtShell::_CanInsert()
Hi Gao Peng,
gaopeng wrote:
> Hi ,ALL
> Anybody can tell me which cause influence on the return value of function
> SwWrtShell::_CanInsert() ?
>
If you insert a text frame (Insert/Frame) into a Writer document and
this frame is selected, the return value will be FALSE because you
cannot input any text until you deselect this text frame.
Regards
Andreas
>
>
> Best Regards
> Gao Peng
>
> E-mail : [EMAIL PROTECTED]
> Date : 2007-07-30
>
>
--
Andreas Martens (ama) - 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]