[Libreoffice] User Profile dialog

2011-03-15 Thread Zongbo Zhang
Hi all,

Could anyone here please tell me where can I find the source code portion that 
is in charge of the User Data dialog of the Writer?
It is kind of urgent need, Will appreciate your help!

Best regards

zongbo zhang
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] class not found error

2011-03-02 Thread Zongbo Zhang
Hi All,

Trying my first officeUNOclient app, got an 'no office executable' error:

Deleting: 
\\nike\homefolder$\zzh\NetBeansProjects\OfficeUNOClientAppBim1\build\built-jar.propertiesfile://\\nike\homefolder$\zzh\NetBeansProjects\OfficeUNOClientAppBim1\build\built-jar.properties
deps-jar:
Updating property file: 
\\nike\homefolder$\zzh\NetBeansProjects\OfficeUNOClientAppBim1\build\built-jar.propertiesfile://\\nike\homefolder$\zzh\NetBeansProjects\OfficeUNOClientAppBim1\build\built-jar.properties
Compiling 1 source file to 
\\nike\homefolder$\zzh\NetBeansProjects\OfficeUNOClientAppBim1\build\classesfile://\\nike\homefolder$\zzh\NetBeansProjects\OfficeUNOClientAppBim1\build\classes
compile:
run:
Exception in thread main java.lang.ClassNotFoundException: 
com.example.OfficeUNOClientAppBim1
at 
com.sun.star.lib.loader.Loader$CustomURLClassLoader.findClass(Loader.java:365)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at 
com.sun.star.lib.loader.Loader$CustomURLClassLoader.loadClass(Loader.java:376)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at com.sun.star.lib.loader.Loader.main(Loader.java:141)
Java Result: 1
+++
run the file contains 'main',
++
compile-single:
run-single:
something before callling the bootstrap, to see if the program goes here!
com.sun.star.comp.helper.BootstrapException: no office executable found!
at com.sun.star.comp.helper.Bootstrap.bootstrap(Bootstrap.java:243)
at com.example.BimcoLoApp1.main(BimcoLoApp1.java:30)
+++
looks like cannot find the office executable, usually what is the cause of this?


BR
zongbo zhang
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] Tooltip source

2011-03-01 Thread Zongbo Zhang
Hi,

Could anyone here please tell me:
 1. where I can find the source code for tooltips of 'deletion' and 'insertion'?
 2. when an odt file was saved, where are those 'deletion' or 'insertion ' info 
saved? are they saved in a xml file?  if so, where can I find the xml file?

Really short of skill/experience for searching these kind of things.

BR
zongbo zhang
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] suggestions/instructions needed

2011-02-28 Thread Zongbo Zhang
Hi,

Finally, finished the first time full build of LO on windows with the help from 
some really kind guys here, thank you all, Cheers!
I, as a kind one also, am a chinese with few years of java and C/C++ experience.
Have just convinced my boss to use LO, take over MSOffice and OOo.

Honestly speaking, LO is better than OOo in term of stability and 
compatibility, at least most of my colleagues say so. This strongly increased 
my confidence about convincing the boss to make some donation to TDF someday.
Right now, I am working on a documentary project, the track change feature of 
word/Writer processor acts an important role in the project, in short, need to 
invoke the LO from a java application and get access to the track change 
funtion.
Two things, one is that I need to write something like a 'macro' to 
automatically shape the 'track change' feature when the LO Writer is called, 
furthermore, maybe also need to improve the current 'track change' function a 
little bit.

I am new to this LO development, am reading the developer guide (OOo guide), 
have not yet been completely aware of where and how to start the work in the 
case mentioned above.
By guess, the first one shold have some to do with UNO, and the second 'Hack' 
thing should involve the direct source codes revision? the latter must be 
awesome! :)
Anyhow, suggestiongs/ instructions on both is definitely appreciated, hope I 
can get equipped very soon.

Look forward to hearing from you guys!


BR
zongbo zhang
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] big thanks goes to Michael Meeks

2011-02-24 Thread Zongbo Zhang
Hi,

Big thanks goes to Michael Meeks, finally a real good person here is willing to 
answer my question! :)

already solved the error occured in the 'wizards' module, but cannot solve 
another one:





This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

dmake:  Error code 3, while making 'test'
Retrying /home/zzh/git/libo/svl/qa/unit

Making:qa_unit.dll
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0

Copyright (C) Microsoft Corporation.  All rights reserved.



Microsoft (R) Incremental Linker Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

/MAP /OPT:NOREF -safeseh -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE -DEBUG 
-INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL 
-out:../../wntmsci12.pro/bin/qa_unit.dll 
-map:../../wntmsci12.pro/misc/qa_unit.map ../../wntmsci12.pro/lib/iqa_unit.exp 
../../wntmsci12.pro/slo/svl.obj ../../wntmsci12.pro/slo/qa_unit_version.obj 
../../wntmsci12.pro/slb/svl.lib iutl.lib itools.lib ii18nisolang.lib 
iucbhelper.lib icomphelp.lib icppuhelper.lib icppu.lib sot.lib isal.lib 
icppunit_dll.lib msvcrt.lib msvcprt.lib uwinapi.lib kernel32.lib user32.lib 
oldnames.lib ../../wntmsci12.pro/misc/qa_unit.res
svl.obj : error LNK2019: unresolved external symbol __declspec(dllimport) 
public: __thiscall SvNumberFormatter::~SvNumberFormatter(void) 
(__imp_??1SvNumberFormatter@@QAE@XZ) referenced in function public: void 
__thiscall `anonymous namespace'::Test::testNumberFormat(void) 
(?testNumberFormat@Test@?A0xf1ccdc42@@QAEXXZ)
svl.obj : error LNK2019: unresolved external symbol __declspec(dllimport) 
public: __thiscall SvNumberFormatter::SvNumberFormatter(unsigned short) 
(__imp_??0SvNumberFormatter@@QAE@G@Z) referenced in function public: void 
__thiscall `anonymous namespace'::Test::testNumberFormat(void) 
(?testNumberFormat@Test@?A0xf1ccdc42@@QAEXXZ)
../../wntmsci12.pro/bin/qa_unit.dll : fatal error LNK1120: 2 unresolved 
externals
dmake:  Error code 2, while making '../../wntmsci12.pro/bin/qa_unit.dll'







I have tried to rebuild this module, but did not help. have no idea what are 
these '2 unresolved externals'.

look forward to hearing useful instructions!


BR
zongbo zhang
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] build error

2011-02-23 Thread Zongbo Zhang
Hi,

got an error during my first time full build.


Compiling: basegfx/source/polygon//usr/bin/sh: C:/cygwin/bin/grep.exe: 
Read-only file system
dmake:  Error code 126, while making '../../../wntmsci12.pro/bin/urp_uno.dll'
dmake:  '../../../wntmsci12.pro/bin/urp_uno.dll' removed.
dmake:  Error executing '/bin/rm': Read-only file system (Ignored)
Forcing regeneration of dependency info

dmake:  Error executing '/usr/bin/sh': Read-only file system
dmake:  Error code -1, while making 
'../../wntmsci12.pro/slo/b2dpolypolygontools.obj'
Forcing regeneration of dependency info

  5 [main] perl 952 fork: child -1 - CreateProcessW failed for 
'C:\cygwin\bin\perl.exe', errno 30
Retrying /home/zzh/git/libo/bridges/source/remote/urp

  7 [main] perl 5372 fork: child -1 - CreateProcessW failed for 
'C:\cygwin\bin\perl.exe', errno 30
Retrying /home/zzh/git/libo/basegfx/source/polygon

  75907 [main] perl 952 fork: child -1 - CreateProcessW failed for 
'C:\cygwin\bin\perl.exe', errno 30
  61050 [main] perl 5372 fork: child -1 - CreateProcessW failed for 
'C:\cygwin\bin\perl.exe', errno 30
  6 [main] perl 4496 fork: child -1 - CreateProcessW failed for 
'C:\cygwin\bin\perl.exe', errno 30
 183630 [main] perl 4496 fork: child -1 - CreateProcessW failed for 
'C:\cygwin\bin\perl.exe', errno 30
Modification of a read-only value attempted at 
/home/zzh/git/libo/solenv/bin/build.pl line 1993.
make: *** [all] Error 30

the switches used for config are:

./autogen.sh

--with-num-cpus=2

--disable-mozilla

--with-jdk-home=/cygdrive/c/program files/Java/jdk1.6.0_23

--with-ant-home=/cygdrive/c/ant/apache-ant-1.8.2

--with-cl-home=/cygdrive/c/program files/Microsoft Visual Studio 9.0/VC

--with-mspdb-path=/cygdrive/c/program files/Microsoft Visual Studio 
9.0/Common7/IDE

--with-asm-home=/cygdrive/c/program files/Microsoft Visual Studio 9.0/VC/Bin

--with-frame-home=/cygdrive/c/program files/Microsoft SDKs/Windows/v6.1

--with-psdk-home=/cygdrive/c/program files/Microsoft SDKs/Windows/v6.1

--with-midl-path=/cygdrive/c/program files/Microsoft SDKs/Windows/v6.1/Bin

--with-csc-path=/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v3.5

--disable-nss-module

--disable-activex --disable-atl

--disable-binfilter

--disable-odk

--without-junit

--disable-directx

--disable-epm



this cause my loptop to shutdown. what can I do now?

look forward to receiving instructions.



BR
zongbo zhang
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] new comer

2011-02-22 Thread Zongbo Zhang
Hi All,

I am interested in the development of Libre office, mostly the writer part. I 
assume my interest reside in changing the source code of Writer to form some 
new functions, for instance, if I want to change or enhance the track change 
function of Writer, where should I start my work?

BR
zongbo zhang
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice