2007年6月25日星期一

Tab browsing for OpenOffice.org

If you can load all the documents ( text, presentation, spreadsheet) in a single OpenOffice.org window, and use tabs to navigate between them, would it be good for you?

I will spend a week to "hack" on this problem and try to see whether I can make a prototype for it.

I think it is not a easy stuff, so your suggestion is very appreciated.

http://www.openoffice.org/issues/show_bug.cgi?id=12686
http://wiki.services.openoffice.org/wiki/Framework/WorkInProgress/Tabbed_Windows_Extension
http://wiki.services.openoffice.org/wiki/Framework/TabBrowse/Development

http://www.openoffice.org/issues/show_bug.cgi?id=54847
check out the code in the cws: gsoc

2007年6月22日星期五

* Investigate how to add a typedetection for OOo
two files should be added, one is for "type", the other is for "filter".
refer to svg-import :http://www.ipd.uka.de/~hauma/svg-import/

* learn Python-uno bridge

* how to use XRayTool
download xraytool and install, but not know how to use it.

* install object inspector

reference:
* Articles about the macro language OpenOffice.org/StarBASIC: http://wiki.services.openoffice.org/wiki/Category:Basic:Tutorials
* IDL and Cpp: http://wiki.services.openoffice.org/wiki/IDL_Files_and_Cpp#Core_reflection_service_and_its_Interfaces
* WEB api: http://api.openoffice.org/docs/common/ref/index-files/index-1.html
* using cpp with the OOo sdk: http://wiki.services.openoffice.org/wiki/Using_Cpp_with_the_OOo_SDK




2007年6月21日星期四

2007年6月21日 星期4

* learn how to write extension in OOo
download some materials
* http://api.openoffice.org/docs/DevelopersGuide/Components/Components.xhtml#1_7_3_Add-Ons
Read this guid

print http://api.openoffice.org/docs/DevelopersGuide/Extensions/Extensions.xhtml#1_Extensions,
read this tonight

2007年6月20日星期三

* Investigate how to port libwps into openoffice
writerperfect: wraper for libwps

Debugging OO

1. build debug=true dbglevel=2 for max output and dbglevel=1 or 0 for less output.
2.
gdb ./soffice.bin
(gdb) handle SIGPWR nostop noprint
(gdb) handle SIGXCPU nostop noprint
(gdb) handle SIG33 nostop noprint
(gdb) run -norestore -writer

3. (gdb) print dbg_dump(sWhatEver)

4. rebuild the module
gdb ./soffice.bin
...
bt
#0 0x40b4e0a1 in kill () from /lib/libc.so.6
#1 0x409acfe6 in raise () from /lib/libpthread.so.0
#2 0x447bcdbd in SfxMedium::DownLoad(Link const&) () from ./libsfx641li.so
#3 0x447be151 in SfxMedium::SfxMedium(String const&, unsigned short, unsigned char, SfxFilter const*, SfxItemSet*) ()
from ./libsfx641li.so
#4 0x448339d3 in getCppuType(com::sun::star::uno::Reference const*) () from ./libsfx641li.so
...
quit
cd base/OOO_STABLE_1/sfx2
ootouch SfxMedium
build debug=true
5. or
dmake killobj
dmake

6.Non-Product Builds are created using a special configure switch, namely --enable-dbgutil.

For available tools in non-product builds, have a look at the various DBG_foo macros in tools/debug.hxx

To actually fire up the debug settings dialog, press -D.

To use (or do QA for) the additional debug features: just run OO.o, and
when it's in full-flow, press --
'D' in that order

* download storm player
* download norton anti virus
* download xp patches

2007年6月19日星期二

tab browsing in oo

2007/06/19
* reference
http://wiki.services.openoffice.org/wiki/Tutorial_Locate_UI
find . -name *.src -exec grep -Hn Normal '{}' \;

STR_OUTLINE_MODE

ViewTabBarModule::UpdateViewTabBar
SID_OUTLINEMODE

ToolBarRules::MainViewShellChanged
mrToolBarManager.AddToolBar