You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by chengjh <ch...@apache.org> on 2013/05/16 03:54:30 UTC

Re: Re: where is the source code of loading page?

I attach the java code segment and C++ calling stack for your
reference..Hope it helpful for you..

*Java Code Segment:*
String sUrl;
com.sun.star.beans.PropertyValue[] loadProps = new
com.sun.star.beans.PropertyValue[2];
loadProps[0] = new com.sun.star.beans.PropertyValue();
loadProps[0].Name = "Hidden";
loadProps[0].Value = Boolean.TRUE;
loadProps[1] = new com.sun.star.beans.PropertyValue();
loadProps[1].Name = "ReadOnly";
loadProps[1].Value = Boolean.FALSE;

XComponentLoader....getXComponentLoader().loadComponentFromURL(sUrl,
"_blank", 0, loadProps);

*C++ Calling Stack:*
> swmi.dll!SwDoc::SwDoc()  Line 564 C++
  swmi.dll!SwDocFac::GetDoc()  Line 84 + 0x1e bytes C++
  swmi.dll!SwDocShell::AddLink()  Line 592 + 0x8 bytes C++
  swmi.dll!SwDocShell::InitNew(const
com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &
xStor={...})  Line 227 C++
  sfxmi.dll!SfxObjectShell::DoInitNew(SfxMedium * pMed=0x00000000)  Line
677 + 0x97 bytes C++
  sfxmi.dll!SfxObjectShell::DoInitNew_Impl(const rtl::OUString &
rName={...})  Line 641 C++
  sfxmi.dll!SfxApplication::NewDoc_Impl(const String & rFact={...}, const
SfxItemSet * pSet=0x063c7ee0)  Line 561 + 0x1d bytes C++
  sfxmi.dll!SfxApplication::NewDocDirectExec_ImplOld(SfxRequest &
rReq={...})  Line 675 + 0x29 bytes C++
  sfxmi.dll!SfxFrameLoader_Impl::load(const
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> &
rArgs={...}, const
com::sun::star::uno::Reference<com::sun::star::frame::XFrame> &
rFrame={...})  Line 457 + 0x12 bytes C++
  fwkmi.dll!framework::LoadEnv::impl_loadContent()  + 0x56e bytes C++
  fwkmi.dll!framework::LoadEnv::startLoading()  + 0x87 bytes C++
  fwkmi.dll!framework::LoadEnv::loadComponentFromURL()  + 0x93 bytes C++
  fwkmi.dll!framework::Frame::loadComponentFromURL()  + 0x17f bytes C++



On Thu, May 16, 2013 at 8:41 AM, Yi <la...@126.com> wrote:

> there is a loading interface firstly when I start writer app, I wanna get
> the source code  of the loading interface in openoffice project.
>
>
>
>
>
>
> At 2013-05-16 07:38:37,"My Yong Lin" <ma...@gmail.com> wrote:
> >Could you be more specific with the question? For example, which app and
> what are you trying to do?
> >
> >Sent from iPad
> >
> >On 2013年5月15日, at 下午11:04, Yi <la...@126.com> wrote:
> >
> >> Hi all,
> >> where is  the source code of loading page?
> >> Thanks!
> >>
> >> Yi
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> >For additional commands, e-mail: dev-help@openoffice.apache.org
> >
>



-- 

Best Regards,Jianhong Cheng