[dev] about the sPageNumber parameter

2010-06-21 Thread wangxiang
hello

I'm trying to read the SW code  and  encounter some problem:

like
http://svn.services.openoffice.org/opengrok/xref/DEV300_m82/sw/source/ui/utlui/bookctrl.cxx#122

part of the code is here: http://ooo.pastebin.com/P5EswNu2

who can tell me how the paramter sPageNumber is changed ?  What exatly does
((SfxStringItemhttp://svn.services.openoffice.org/opengrok/s?defs=SfxStringItemproject=/DEV300_m82
*)pStatehttp://svn.services.openoffice.org/opengrok/s?defs=pStateproject=/DEV300_m82
)-GetValuehttp://svn.services.openoffice.org/opengrok/s?defs=GetValueproject=/DEV300_m82()
  mean ?


Thanks



Xiang Wang
Institue Of Acoustics, CAS


Re: [dev] about oov build

2010-06-16 Thread wangxiang
Thanks, i have removed all the rpm installed by yum

Then i go to the folder
/home/xwang/OpenOffice/OpenOffice_Dev/instsetoo_native/
unxlngi6.pro/OpenOffice/rpm/install/en-US_download and the folder
desktop-integration


then install all the rpms,  it becomes ok!

*But another question comes back :  I can't find the .o or .so libs in
the folder /opt/openoffice.org3/program (There's only an
libnpsoplugin.so in the folder )*

Is that right ?

*Because I want to build the sw module with debug information, and replace
the existing libs with the new build libs*



2010/6/16 O. Felka o.fe...@sun.com

 Hi,

 wangxiang schrieb:

  hello,   fedora12 yum install openoffice in my computer no problem

 But when i  build the Ooo with the latest hg version

 i use the rpm -iv openoffice.org-*rpm in the folder instsetoo_native/
 unxlngi6.pro/OpenOffice/rpm/install/en-US

 then i run the /opt/openoffice.org3/prgrams/swriter,  it shows Missing
 vcl resource. This indicates that files vital to localization are missing.
 You might have a corrupt installation.


 Is this because i didn;t install the destop-intergration ?


 Or missing other modules?


 Thanks, i follow this page to install

 http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Linux


 have you removed all office rpms that are installed with yum before you
 started the installation of native OOo?

 Olaf

 http://www.openoffice.org/

 http://qa.openoffice.org/ooQAReloaded/FrameworkTeamsite/ooQA-TeamFramework.html

 --

 Sun Microsystems GmbH   Olaf Felka
 Nagelsweg 55Quality Assurance Engineer
 20097 Hamburg


 -
 To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
 For additional commands, e-mail: dev-h...@openoffice.org




-- 
Xiang Wang
Institue Of Acoustics, CAS


Re: [dev] Re: about oov build

2010-06-16 Thread wangxiang
Thanks,

I just want to build some modules like SW with the debug partial build,  and
replace existing  libs to get some debugging

But I can't find the .o or .so in the installation folders.  In my
fedora12, it's /opt/openoffice.org3/program/

and i follow your suggestions and find the programs in the output tree
sub-folders openoffice.org3/program/

But there're still no other libs in the folder

*My question actually is If someone wrote an extension/plugin for OOo, Can
he debug his code with just replacing some existing libs of OOo? *



2010/6/16 Bjoern Michaelsen bjoern.michael...@gmail.com

 Am Wed, 16 Jun 2010 15:32:54 +0800
 schrieb wangxiang wangxian...@gmail.com:

  *But another question comes back :  I can't find the .o or .so
  libs in the folder /opt/openoffice.org3/program (There's only an
  libnpsoplugin.so in the folder )*
  Is that right ?
 Yes, most libs are in /opt/openoffice (the middle layer, see

 http://wiki.services.openoffice.org/wiki/ODF_Toolkit/Efforts/Three-Layer_OOo
 )

  *Because I want to build the sw module with debug information, and
  replace the existing libs with the new build libs*

 Well, you should not need to do that with a machine-wide installation.
 You can either set:
  export FORCE2ARCHIVE=true
 or
  export PKGFORMAT=installed
 to get a tarball that you can simply unpack an run anywhere, or to get
 an runnable installation directly in the output tree of
 instsetoo_native
 (
 http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Linux#cite_note-Foot6-5
 .)

 Best Regards,

 Bjoern


 -
 To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
 For additional commands, e-mail: dev-h...@openoffice.org




-- 
Xiang Wang
Institue Of Acoustics, CAS


Re: [dev] Re: about oov build

2010-06-16 Thread wangxiang
Thanks,  i got it!

2010/6/16 Michael Stahl michael.st...@sun.com

 On 16/06/2010 10:22, wangxiang wrote:
  Thanks,
 
  I just want to build some modules like SW with the debug partial build,
  and
  replace existing  libs to get some debugging
 
  But I can't find the .o or .so in the installation folders.  In my
  fedora12, it's /opt/openoffice.org3/program/
 
  and i follow your suggestions and find the programs in the output tree
  sub-folders openoffice.org3/program/
 
  But there're still no other libs in the folder

 you're still looking in the wrong directory:
 it's opt/openoffice.org/program/, with no 3 in it!

 openoffice.org3 is the brand layer, and contains little of interest
 (just the soffice.bin program that actually starts OOo).

 --
 We are sorry, you have dialed an imaginary number.
  Please rotate your phone ninety degrees and try again.


 -
 To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
 For additional commands, e-mail: dev-h...@openoffice.org




-- 
Xiang Wang
Institue Of Acoustics, CAS


[dev] about oov build

2010-06-15 Thread wangxiang
hello,   fedora12 yum install openoffice in my computer no problem

But when i  build the Ooo with the latest hg version

i use the rpm -iv openoffice.org-*rpm in the folder instsetoo_native/
unxlngi6.pro/OpenOffice/rpm/install/en-US

then i run the /opt/openoffice.org3/prgrams/swriter,  it shows Missing
vcl resource. This indicates that files vital to localization are missing.
You might have a corrupt installation.


Is this because i didn;t install the destop-intergration ?


Or missing other modules?


Thanks, i follow this page to install
http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Linux