[dev] Padding, Bjorn is out of the office.
I will be out of the office starting 06/19/2008 and will not return until 06/20/2008. Regards, Bjorn Padding - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Getting and Building OO 3.0
Hi, Chad Tindel a écrit : Hi- I'm interested in building a new plugin for oocalc, and I'm just trying to get to the point where I can checkout and build from source. There are so many different wiki pages saying how to build it, how to get it, but they're all different and I can't tell what is current and accurate. Is there a page that just shows how to checkout the source and build it on a linux platform? It doesn't have to be a completely bleeding edge branch (i.e. with broken builds), but a known-working beta branch would be fantastic. Help? FYI, no need to be student, but Education Project does provide support to beginners for discovering OpenOffice.org development. - the entry point is [1] (see links below). - there is a welcome translated in several locales (new translations are welcome ! ) and there are ClassRooms too (see [2]). For the real begining, I think what you need is in the logs of previous ClassRooms [3] (look at mine), probably copleted with [4]. If you need more, I'd suggest you to join Education Proejct IRC channel ( #education.openoffice.org , server is irc.freenode.net ) and ask. We'd be glad to help you. Don't forget you'll need to learn and practice a bit: nobody will do the job for you, and the main workj to do is on your side. Last but not least, please note the current milestone is DEV300_m20 (not DEV300_m11 , because the log is not from today ;-) ) Hope this helps you Eric Bachard Important links : [1] Education Project http://wiki.services.openoffice.org/wiki/Education_Project [2] ClassRoom http://wiki.services.openoffice.org/wiki/Education_ClassRoom [3] ClassRoom logs : http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction [4] ClassRoom practice : http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Practice -- Education Project: http://wiki.services.openoffice.org/wiki/Education_Project Blog : http://eric.bachard.free.fr/news - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] version of the cairo patch
Hi, when I built the cairo,I have met this error: ** .../../unxlngi6.pro/slo/cairo_spritehelper.o: In function `cairocanvas::SpriteHelper::redraw(_cairo*, basegfx::B2DPoint const, bool, bool) const': cairo_spritehelper.cxx:(.text+0x355): undefined reference to `cairocanvas::doPolyPolygonImplementation(basegfx::B2DPolyPolygon, cairocanvas::Operation, _cairo*, com::sun::star::uno::Sequencecom::sun::star::rendering::Texture const*, cairocanvas::SpriteCanvas*)' collect2: ld returned 1 exit status dmake: Error code 1, while making '../../unxlngi6.pro/lib/cairocanvas.uno.so' ERROR: Error 65280 occurred while making /home/hook/openoffice-test/DEV300_m14/canvas/source/cairo ** then I sent an email to dev@openoffice.org Jun.16 I received the email that how to solve it,and then,I followed the http://www.openoffice.org/issues/show_bug.cgi?id=88260; to patch the decl-defi-mismatch.patch. But,failed! I found this version of patch is 1.5,but I used the OOo.2.4.0. I even tried to change the codes followed codes of this patch! failed! Do you have the 2.4.0V of patch? or ,tell me how to change the codes. Thank you very much! - 雅虎邮箱,您的终生邮箱!
[dev] Padding, Bjorn is out of the office.
I will be out of the office starting 06/19/2008 and will not return until 06/25/2008. Regards, Bjorn Padding - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] Strange Crashes on Vista
http://www.openoffice.org/issues/show_bug.cgi?id=90798 describes a strange problem: At least in one specific scenario, namely a specific Vista box running the DEV300m19 OOo-Dev version, clicking on the Spreadsheet button in the OOo start center leads to a crash. (Other ways of creating a new spreadsheet like File - New are probably also affected, but the Spreadsheet button scenario is for sure.) The only explanation I have for that crash is that in certain cases catching a C++ exception does not work. The big question is what is so special about the failing setup described in issue 90798 (clicking Spreadsheet works fine on other Vista boxes, as well as on other Windows platforms), and whether this is a one-off problem for a single unhappy user or a phenomenon observed by many. Hence my question: Does anybody else experience crashes when clicking on the Spreadsheet button in the OOo start center? (But please note http://www.openoffice.org/issues/show_bug.cgi?id=90835 which describes the---probably unrelated---problem that the check for online updates may cause a crash, and that check is started shortly after opening OOo. So it might appear in rare cases that opening OOo and clicking Spreadsheet causes a crash, when in fact it is the concurrent online update check that causes it. Best disable the online update check for this little experiment, or wait a couple minutes after opening OOo.) -Stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] Please help for creating com.sun.star.awt.Toolkit service
hello everyone, I'm trying to use uno controls independently without OO runing. but when I try to create the com.sun.star.awt.Toolkit service in my program, it crashes. I have tried to create other services (e.g. UnoButtonModel), and it seeems ok. I use OOo 2.4 on windows platform with Visual C++ for this testing, and here is how I do: first, I implement a uno component with XMain interface. in its run method, I just try to get the service manager through the component context that I have restored during the component instantiation. virtual ::sal_Int32 SAL_CALL run(const Sequence ::rtl::OUString aArguments) SAL_THROW((RuntimeException)) { if (m_xContext.is()) MessageBox(NULL, TEXT(1 OK!), TEXT(Msg), MB_OK); Referencelang::XMultiComponentFactory xMultiFactory = m_xContext.get()-getServiceManager(); if (xMultiFactory.is()) MessageBox(NULL, TEXT(2 OK!), TEXT(Msg), MB_OK); ReferenceXInterface xInterface = xMultiFactory.get()-createInstanceWithContext(Lcom.sun.star.awt.Toolkit, m_xContext); if (xInterface.is()) MessageBox(NULL, TEXT(3 OK!), TEXT(Msg), MB_OK); return 0; } then I register all uno dll components in [OFFICE_PROGRAM_PATH] with my component into a new rdb file.(myservices.rdb) finally I run uno -s MY_SERVICENAME -ro myservices.rdb to startup my uno component. when the component is runing, it shows the first two message boxes as expected, and crashes without showing the last one. but if I replace com.sun.star.awt.Toolkit with com.sun.star.awt.UnoButtonModel or com.sun.star.awt.ContainerWindowProvider instead, it runs correctly with all message boxes displayed. so why cant I create the Toolkit service in my component? does this serivce depend on other services or things which I haven't prepared ready? hope for your reply, and thanks very much! best wishes! Rainman.
Re: [dev] Opening SXW files with OOo2.x
Hi Juergen, it sounds strange and we should analyze the problems. Can you submit an issue (component writer, sw) with an example sxw document attached. As far as i know no such problems are known so far and it would be interesting to know what happens. Sorry for the delay. I was in holidays. I analysed the problem and submitted a bug: http://www.openoffice.org/issues/show_bug.cgi?id=90872 The reason of the defect was: OOo 1.1.4 created some documents without a /META-INF/manifest.xml. These documents were not opened correctly with OOo 2.4. Thus my colleague copied a manifest.xml file in some of the documents. By doing this the formatting was gone in documents where the manifest.xml file was wrong. The submitted bug is very instersting. Thanks all for the comments and help. Greetings, Tobias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Urgent:How to check if gdk API is failiing??
On Thu, Jun 19, 2008 at 01:49:14AM -0700, [EMAIL PROTECTED] wrote: I have checked the Clip regions and there is no problem there.The clip region for the dest drawable seems set correctly. Next,as you said I tried with slides containing two small bitmaps and the animated text and have noticed only a small but important observation. I noticed that in this case on fullscreen the first slide comes up(ie.Only the bitmap as expected) and on a click(ie any user event) the slide is shown completely along with the text.The last time when I had the whole screen covered in a bitmap and animated text, the first slide did not show up the slide on Fullscreen and required a click to show the bitmap and the text. Weird. Some limit in bitmap sizes? I strongly suggest you to publish your code, so that others can review/debug it, this here starts to become wild guessing... Cheers, -- Thorsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Please help for creating com.sun.star.awt.Toolkit service
Hi Rainman, On Thursday, 2008-06-19 16:13:01 +0800, Rainman Lee wrote: [...] ReferenceXInterface xInterface = xMultiFactory.get()-createInstanceWithContext(Lcom.sun.star.awt.Toolkit, m_xContext); [...] when the component is runing, it shows the first two message boxes as expected, and crashes without showing the last one. I'm almost certain that Lsome string is the culprit, because the method expects a rtl::OUString there. Use rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(com.sun.star.awt.Toolkit)) instead. However, that would not explain why that but if I replace com.sun.star.awt.Toolkit with com.sun.star.awt.UnoButtonModel or com.sun.star.awt.ContainerWindowProvider instead, it runs correctly with all message boxes displayed. works, but I guess it just does not crash by accident because of different memory layout. Eike -- OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer. SunSign 0x87F8D412 : 2F58 5236 DB02 F335 8304 7D6C 65C9 F9B5 87F8 D412 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't send personal mail to the [EMAIL PROTECTED] account, which I use for mailing lists only and don't read from outside Sun. Use [EMAIL PROTECTED] Thanks. pgpZNMgxrz7Tw.pgp Description: PGP signature
Re: [dev] Please help for creating com.sun.star.awt.Toolkit service
Eike Rathke wrote: Hi Rainman, On Thursday, 2008-06-19 16:13:01 +0800, Rainman Lee wrote: [...] ReferenceXInterface xInterface = xMultiFactory.get()-createInstanceWithContext(Lcom.sun.star.awt.Toolkit, m_xContext); [...] when the component is runing, it shows the first two message boxes as expected, and crashes without showing the last one. I'm almost certain that Lsome string is the culprit, because the method expects a rtl::OUString there. Use rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(com.sun.star.awt.Toolkit)) instead. On Windows, the L... version should also work, by accident. (sal_Unicode is a typedef for wchar_t there, and there is a non-explicit rtl::OUString(sal_Unicode const *) ctor). -Stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Please help for creating com.sun.star.awt.Toolkit service
I just googled my problem, and there was a same problem 3 years ago.( http://osdir.com/ml/openoffice.devel.udk/2005-09/msg00076.html) but unfortunately, no solution at that time. Is there someone kind can fix it today? thanks again. best wishes, Rainman On Thu, Jun 19, 2008 at 8:30 PM, Stephan Bergmann [EMAIL PROTECTED] wrote: Eike Rathke wrote: Hi Rainman, On Thursday, 2008-06-19 16:13:01 +0800, Rainman Lee wrote: [...] ReferenceXInterface xInterface = xMultiFactory.get()-createInstanceWithContext(Lcom.sun.star.awt.Toolkit, m_xContext); [...] when the component is runing, it shows the first two message boxes as expected, and crashes without showing the last one. I'm almost certain that Lsome string is the culprit, because the method expects a rtl::OUString there. Use rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(com.sun.star.awt.Toolkit)) instead. On Windows, the L... version should also work, by accident. (sal_Unicode is a typedef for wchar_t there, and there is a non-explicit rtl::OUString(sal_Unicode const *) ctor). -Stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] Can Writer be used as an embedded WYSIWYG editor?
Hello, I'm working on an application for novel writers. One of the most important parts is the text editor. Right now, I'm at a loss which way is better: Should I embed OO in my application or is it more simple to rewrite OO to match my needs? Basically, I just need a rich text editor where I can control what the user can do depending on where the cursor is in a document. Think of a form editor where users can add text with bold and italics in one place and lists+tables in another and in another, you can have an image but no text, etc. So I need to be able to control whether the user can modify something at all and when he can modify the document, what he can do. At first thought, it seems to be most simple to track the cursor position and enable/disable menus and toolbars (along with the keyboard shortcuts) depending on where it is. How could I achieve that from within OO and from an embedded OO in Java? I tried to use OOoBean to embed Writer in my application. After getting rid of every toolbar I could find (using the deprecated set*Visible()-API), I'm left with a last toolbar that won't go away (it contains a combo for the formats, the current font, the font size, bold, italics, underline, etc). My guess is that this is a floater but I couldn't find the URL for this UI element so I can't hide it with the XLayoutManager api. Any hints? Lastly, I need to get rid of the rulers, too (the user shouldn't be able to change the text width). I found ViewSettings which seems to control whether rulers are visible or not, but I couldn't find how to access this class from Java. Any pointers how to achieve that? Also, any hints on how to get rid of any space between the text and the frame would be most welcome. The user will always only edit small scenes in the editor, so I'd like to give the impression of an endless sheet of paper which is always as wide as the window (i.e. no print margin, no gray area around the text). Regards, -- Aaron Optimizer Digulla a.k.a. Philmann Dark It's not the universe that's limited, it's our imagination. Follow me and I'll show you something beyond the limits. http://www.pdark.de/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] about the native print error on Mac AquaBuild
hi All I am interested in developing Mac AquaBuild. And i found a pb on the build. I got the sources (DEV_m12) and build it fellow the guild http://wiki.services.openoffice.org/wiki/AquaBuild It works fine. But in my iMac 10.5.2, if the Preview app was not launched before OO, i selected the Open PDF in Preview button from the native print dialog. it got an error.(Printing failed because PMSessionEndDocumentNoDialog() returned -10810.) But if the Preview app was launched before the OO, it worked. I used gdb to debug it , i found the error occured in _LSOpenItemsWithRole_Common() it returns -10810 #0 0x955a82e8 in _LSOpenItemsWithRole_Common () #1 0x955a5910 in LSOpenFromRefSpec () #2 0x94a2963a in PJCEndDocument () #3 0x94a28c1e in PMSessionEndDocumentNoDialog () #4 0x96e64d57 in -[NSPrintSpoolingGraphicsContext endDocument] () #5 0x96e642d8 in -[NSView(NSPrintingInternal) _printForCurrentOperation] () #6 0x96e63f41 in -[NSConcretePrintOperation _renderView] () #7 0x96eaa9c4 in -[NSConcretePrintOperation runOperation] () Can anyone help me ? Best Regards. Lei Debin
Re: [dev] Urgent:How to check if gdk API is failiing??
Thorsten Behrens-3 wrote: On Thu, Jun 19, 2008 at 01:49:14AM -0700, [EMAIL PROTECTED] wrote: I have checked the Clip regions and there is no problem there.The clip region for the dest drawable seems set correctly. Next,as you said I tried with slides containing two small bitmaps and the animated text and have noticed only a small but important observation. I noticed that in this case on fullscreen the first slide comes up(ie.Only the bitmap as expected) and on a click(ie any user event) the slide is shown completely along with the text.The last time when I had the whole screen covered in a bitmap and animated text, the first slide did not show up the slide on Fullscreen and required a click to show the bitmap and the text. Weird. Some limit in bitmap sizes? I strongly suggest you to publish your code, so that others can review/debug it, this here starts to become wild guessing... Cheers, -- Thorsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Hi Thorsten, Well, I later discovered that the slide contained some animation(ie.fly in black kind of custom animation) and on removing it the slide is shown. So the sizes dint matter really. I think there is something going wrong in our rendering of the cached bitmaps as till that step the data seems to be showing in the buffer. The Slideshow working on F5 and post PgDwn is also not very clear so debugging is becoming a problem. If u can give us any hints it would be great! :) Regards, Karl Regards, Karl -- View this message in context: http://www.nabble.com/Urgent%3AHow-to-check-if-gdk-API-is-failiing---tp17880763p18023432.html Sent from the openoffice - dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]