Re: [dev] New feature Intelligent Group
Hi Peter, Hi Liang Weike, I want to follow the team as observer. Do you have any fixed communications media so far? For example, will there be a frequent IRC meeting? Usually we use the channel openoffice.org_graphics on IRC to talk about the development of Intelligent Group. But we have not a fixed time. We try our best to keep staying at the channel while working. Best regards, Peter Best regards, Liang Weike Liang Weike wrote: Hello everybody, Now we're trying our best to implement a new feature temporarily named IntelligentGroup in OOo. It is intended to illustrate user's slide contents with graceful and colorful shape groups. Its function is similar to the function of SmartArt in MS Office 2007. So far we've set up a simple framework for it. And we've used one layout and one algorithm to test if it can run well. Currently it resides in sd module. But in the future it will be expanded to other application modules(sw, sc). We created a CWS for it. You can find it with the link: http://svn.services.openoffice.org/ooo/cws/impressintelligentgroup01/. The most source code is put in sd/source/ui/ig. And we also created a WIKI page: http://wiki.services.openoffice.org/wiki/IntelligentGroup We hope people who are interested in it can join us. And any help is appreciated. Best regards, Liang Weike Beijing RedFlag2000 Software CO.,LTD - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] New feature Intelligent Group
Hi Liang Weike, Liang Weike wrote: Hi Peter, Hi Liang Weike, I want to follow the team as observer. Do you have any fixed communications media so far? For example, will there be a frequent IRC meeting? Usually we use the channel openoffice.org_graphics on IRC to talk about the development of Intelligent Group. But we have not a fixed time. We try our best to keep staying at the channel while working. as I'm mostly interested about the project status, but not so much about the detailed ongoings, I will frequently visit the wiki page to keep myself up-to-date. That should be OK. Best regards, Peter Best regards, Liang Weike Liang Weike wrote: Hello everybody, Now we're trying our best to implement a new feature temporarily named IntelligentGroup in OOo. It is intended to illustrate user's slide contents with graceful and colorful shape groups. Its function is similar to the function of SmartArt in MS Office 2007. So far we've set up a simple framework for it. And we've used one layout and one algorithm to test if it can run well. Currently it resides in sd module. But in the future it will be expanded to other application modules(sw, sc). We created a CWS for it. You can find it with the link: http://svn.services.openoffice.org/ooo/cws/impressintelligentgroup01/. The most source code is put in sd/source/ui/ig. And we also created a WIKI page: http://wiki.services.openoffice.org/wiki/IntelligentGroup We hope people who are interested in it can join us. And any help is appreciated. Best regards, Liang Weike Beijing RedFlag2000 Software CO.,LTD - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] New feature Intelligent Group
Hi Peter, Hi Liang Weike, Liang Weike wrote: Hi Peter, Hi Liang Weike, I want to follow the team as observer. Do you have any fixed communications media so far? For example, will there be a frequent IRC meeting? Usually we use the channel openoffice.org_graphics on IRC to talk about the development of Intelligent Group. But we have not a fixed time. We try our best to keep staying at the channel while working. as I'm mostly interested about the project status, but not so much about the detailed ongoings, I will frequently visit the wiki page to keep myself up-to-date. That should be OK. Yes. We will update the wiki page now and then. When we finish the tasks in every phase of development we'll write it down on the wiki page. Best regards, Liang Weike Best regards, Peter Best regards, Liang Weike Liang Weike wrote: Hello everybody, Now we're trying our best to implement a new feature temporarily named IntelligentGroup in OOo. It is intended to illustrate user's slide contents with graceful and colorful shape groups. Its function is similar to the function of SmartArt in MS Office 2007. So far we've set up a simple framework for it. And we've used one layout and one algorithm to test if it can run well. Currently it resides in sd module. But in the future it will be expanded to other application modules(sw, sc). We created a CWS for it. You can find it with the link: http://svn.services.openoffice.org/ooo/cws/impressintelligentgroup01/. The most source code is put in sd/source/ui/ig. And we also created a WIKI page: http://wiki.services.openoffice.org/wiki/IntelligentGroup We hope people who are interested in it can join us. And any help is appreciated. Best regards, Liang Weike Beijing RedFlag2000 Software CO.,LTD - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] custom menu item disappearing after printpreview
Hey, thanks I'm not very used to working with proxies. Some new info about my issue here has come to light. It would seem that both your suggested approaches work occasionally. That is, both only works in debug mode. Which makes me assume that it is a Threading issue. However attempting to control the sequence of the Threads doesn't work at all. For example: public void layoutEvent(EventObject eventObject, short i, Object object) { if (i == LayoutManagerEvents.UIELEMENT_VISIBLE object.equals(private:resource/menubar/menubar)) { SwingUtilities.invokeLater(new Runnable(){ public void run() { try { addParagraafMenu(); } catch (Exception e) { throw new SeriousException(e.getMessage(),this,e); } } }); } } Carsten Driesner wrote: Fhomasp wrote: Hey, and thanks! :) You mean an XLayoutManagerEventBroadcaster I assume? I can't say I found many examples of an XLayoutManagerEventBroadcaster. And I'm not sure where and which listener I need to attach. Hi Fhomasp, This is trivial if you look at the interface declaration of com.sun.star.frame.XLayoutManagerEventBroadcaster. You need to implement the interface com.sun.star.frame.XLayoutManagerListener. It contains just on method called: void layoutEvent( [in] com::sun::star::lang::EventObject aSource, [in] short eLayoutEvent, [in] any aInfo ); As your code already retrieves the LayoutManager from the frame it's fairly simple to query for com.sun.star.frame.XLayoutManagerEventBroadcaster and call addLayoutManagerEventListener( yourlistenerinstance ). In your implementation for layoutEvent(...) you should first look for the interesting eLayoutEvent called UIELEMENT_VISIBLE. The aInfo parameter contains the resource url of the user interface element. E.g. for your use case this is private:resource/menubar/menubar. So if you receive an event with eLayoutEvent == UIELEMENT_VISIBLE and aInfo == private:resource/menubar/menubar than you should use the source (which is the LayoutManager) to query for the menu bar. If the menu bar needs to be changed you should call your configuration code. Regards, Carsten - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org -- View this message in context: http://www.nabble.com/custom-menu-item-disappearing-after-printpreview-tp22741195p22800525.html Sent from the openoffice - dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Dispatcher: .uno:Print wait for print job to finish
Hi, Fhomasp wrote: Hey, I need to have documents printed, which was ok to implement. Basically I used the dispatcher to summon me the default print dialog in writer. After the ok from the user I need to close the JPanel in which is the container for the office document. Problem is that it gets closed before the print job is finished and I'm not sure how to continue. I can't use Thread.sleep() as I won't know how many pages there are going to be or how fast the target machine will be. It's not good programming anyhow. I thought I'd be able to do this using XNotifyingDispatch and an XDispatchResultListener, however the problem persists. The dispatcher will notify when the dispatching is finished. Asynchronous processing inside VCL or the operating system is not taken into account. We could implement that but ATM it isn't working like that. You can try passing a dispatch argument in your propertyvalues called Asynchron with the boolean value false. Then you also don't need the NotifyingDispatch as the printing should be done when the dispatch call returned. Regards, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to nospamfor...@gmx.de. I use it for the OOo lists and only rarely read other mails sent to it. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] filters as extensions
Hello, When trying to package a filter as an extension I run into various problems. I tried to imitate the template given here: http://wiki.services.openoffice.org/wiki/Filter_extensions but eventually had errors that even prevented OOo from starting at all. The trouble is, if I try to install the extension provided as an example on this same page: http://wiki.services.openoffice.org/w/images/6/66/Mwikidemo.oxt with zero alterations, the extension installs properly but the filter is not accessible...? Neither in the filter list from the tools menu, nor in the filter list from file/export. (I tried several times on fresh oo installs). Are there other examples that work? I'm using version 3.0.1. Thanks, Regards, EB - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] custom menu item disappearing after printpreview
Fhomasp wrote: Hey, thanks I'm not very used to working with proxies. Some new info about my issue here has come to light. It would seem that both your suggested approaches work occasionally. That is, both only works in debug mode. Which makes me assume that it is a Threading issue. However attempting to control the sequence of the Threads doesn't work at all. For example: public void layoutEvent(EventObject eventObject, short i, Object object) { if (i == LayoutManagerEvents.UIELEMENT_VISIBLE object.equals(private:resource/menubar/menubar)) { SwingUtilities.invokeLater(new Runnable(){ public void run() { try { addParagraafMenu(); } catch (Exception e) { throw new SeriousException(e.getMessage(),this,e); } } }); } } Hi Fhomasp, Please don't call your menu bar changes in another thread. You have to make the changes directly in the layoutEvent call. OpenOffice.org is not well prepared for multi threading. Regards, Carsten - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] New feature Intelligent Group
Liang Weike wrote: Now we're trying our best to implement a new feature temporarily named IntelligentGroup in OOo. It is intended to illustrate user's slide contents with graceful and colorful shape groups. Its function is similar to the function of SmartArt in MS Office 2007. Hi Liang Weike, yep, we talked about that. ;) As announced earlier, I'm playing with a similar feature, see here http://blog.thebehrens.net/2009/03/11/smartart-import-and-more/ for some details. I would seriously hate duplicating that effort, we should therefore find a way to align ideas code; I'm positive that this is possible, apparently we focused on different parts of the implementation. ;) Cheers, -- Thorsten - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] custom menu item disappearing after printpreview
Hey, Alright, noted. However I still need to get this to work. At this point it seems that the LayoutManager lifecycle is already put into another Thread. How else could it be that I can get it working slightly better with the use of Threads, and get 100% successrate if I wait long enough in Debug mode? Still. It's nowhere near a good solution, and I can't have the users go through debug mode :-) Carsten Driesner wrote: Fhomasp wrote: Hey, thanks I'm not very used to working with proxies. Some new info about my issue here has come to light. It would seem that both your suggested approaches work occasionally. That is, both only works in debug mode. Which makes me assume that it is a Threading issue. However attempting to control the sequence of the Threads doesn't work at all. For example: public void layoutEvent(EventObject eventObject, short i, Object object) { if (i == LayoutManagerEvents.UIELEMENT_VISIBLE object.equals(private:resource/menubar/menubar)) { SwingUtilities.invokeLater(new Runnable(){ public void run() { try { addParagraafMenu(); } catch (Exception e) { throw new SeriousException(e.getMessage(),this,e); } } }); } } Hi Fhomasp, Please don't call your menu bar changes in another thread. You have to make the changes directly in the layoutEvent call. OpenOffice.org is not well prepared for multi threading. Regards, Carsten - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org -- View this message in context: http://www.nabble.com/custom-menu-item-disappearing-after-printpreview-tp22741195p22804128.html Sent from the openoffice - dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] how to get image position in writer
Peter Eberlein escribió: Hi Pedro, Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems schrieb: BTW, XShape::getPosition() at a shape in Writer shall return the position of this shape relative to its anchor. It is not the absolute position of the shape on the text document's page. Yes, to get the absolute position you have to jump with the XTextViewCursor to the anchor and merge both positions. Please keep in mind, that you must not use the lockControllers() method. Otherwise you will get wrong values of the viewCursors position, Peter - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org Hi again, I'm trying to get the partial image position with XTextViewCursor, but I'm not be able to obtain this. I only can get Text. There's an example that obtain positions of a imagen or a text portion? I have this example code: XTextViewCursor vc = xViewCursorSupplier.getViewCursor(); for (short i = 0; i 150; i++) { vc.goRight(i, false); Point p = (Point) vc.getPosition(); System.out.println( Position x: + p.X + y: + p.Y); } With this code I want to know the positios of each character and the image. The text document that it reads has this format: ## Textline IMAGE Textline ## After execute my code I obtain strange data: Position x:0 y:0 Position x:185 y:0 Position x:572 y:0 Position x:965 y:0 Position x:1702 y:0 Position x:2401 y:0 Position x:3239 y:0 Position x:4311 y:0 Position x:5877 y:0 Position x:7389 y:0 Position x:7682 y:0 Position x:7682 y:0 Position x:7682 y:0 Position x:901 y:9682 Position x:3133 y:9682 Position x:5385 y:9682 Position x:8119 y:9682 Position x:8119 y:9682 Position x:8119 y:9682 Position x:8119 y:9682 Position x:8119 y:9682 Position x:8119 y:9682 Position x:8119 y:9682 Position x:8119 y:9682 Position x:8119 y:9682 Position x:8119 y:9682 Position x:8119 y:9682 . . . I can't understand the meaning of X and Y coordinates, and i don't know if this coordinates contain image values or not. Thanks. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] custom menu item disappearing after printpreview
Fhomasp wrote: Hey, Alright, noted. However I still need to get this to work. At this point it seems that the LayoutManager lifecycle is already put into another Thread. How else could it be that I can get it working slightly better with the use of Threads, and get 100% successrate if I wait long enough in Debug mode? Still. It's nowhere near a good solution, and I can't have the users go through debug mode :-) Hi Fhomasp, I don't know why you have these kind of problems as I cannot reproduce it with my own implementation. I also know that the LayoutManager is normally not running in a different thread. OpenOffice.org has just one thread for the user interface called the main thread. It's possible to call the LayoutManager from a different thread using remote UNO but I cannot recommend it. The only thing I can propose to you is that you send me your solution via mail and I will try to find out what's wrong. As we are short before the release of OOo 3.1 I cannot promise that I have time to check it in the next couple of days. Regards, Carsten - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] custom menu item disappearing after printpreview
I'm using OpenOffice 2.4. It's not my choice. Maybe that has something to do with it. There are a few other functions that seems to require OOo 2.4. However with this version I've noticed some other strange behaviour as well. It might have something to do with how the proxies are implemented, although that's just speculation on my part. Of course the listeners do run in a seperate Thread, IIRC. I'll send you my controller class and the Swing panel containing the document. No rush of course, you've been most helpful already. Carsten Driesner wrote: Fhomasp wrote: Hey, Alright, noted. However I still need to get this to work. At this point it seems that the LayoutManager lifecycle is already put into another Thread. How else could it be that I can get it working slightly better with the use of Threads, and get 100% successrate if I wait long enough in Debug mode? Still. It's nowhere near a good solution, and I can't have the users go through debug mode :-) Hi Fhomasp, I don't know why you have these kind of problems as I cannot reproduce it with my own implementation. I also know that the LayoutManager is normally not running in a different thread. OpenOffice.org has just one thread for the user interface called the main thread. It's possible to call the LayoutManager from a different thread using remote UNO but I cannot recommend it. The only thing I can propose to you is that you send me your solution via mail and I will try to find out what's wrong. As we are short before the release of OOo 3.1 I cannot promise that I have time to check it in the next couple of days. Regards, Carsten - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org -- View this message in context: http://www.nabble.com/custom-menu-item-disappearing-after-printpreview-tp22741195p22804938.html Sent from the openoffice - dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] how to get image position in writer
Pedro escribió: Peter Eberlein escribió: Hi Pedro, Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems schrieb: BTW, XShape::getPosition() at a shape in Writer shall return the position of this shape relative to its anchor. It is not the absolute position of the shape on the text document's page. Yes, to get the absolute position you have to jump with the XTextViewCursor to the anchor and merge both positions. Please keep in mind, that you must not use the lockControllers() method. Otherwise you will get wrong values of the viewCursors position, Peter - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org Hi again, I'm trying to get the partial image position with XTextViewCursor, but I'm not be able to obtain this. I only can get Text. There's an example that obtain positions of a imagen or a text portion? I have this example code: XTextViewCursor vc = xViewCursorSupplier.getViewCursor(); for (short i = 0; i 150; i++) { vc.goRight(i, false); Point p = (Point) vc.getPosition(); System.out.println( Position x: + p.X + y: + p.Y); } With this code I want to know the positios of each character and the image. The text document that it reads has this format: ## Textline IMAGE Textline ## After execute my code I obtain strange data: Position x:0 y:0 Position x:185 y:0 Position x:572 y:0 Position x:965 y:0 Position x:1702 y:0 Position x:2401 y:0 Position x:3239 y:0 Position x:4311 y:0 Position x:5877 y:0 Position x:7389 y:0 Position x:7682 y:0 Position x:7682 y:0 Position x:7682 y:0 Position x:901 y:9682 Position x:3133 y:9682 Position x:5385 y:9682 Position x:8119 y:9682 Position x:8119 y:9682 Position x:8119 y:9682 Position x:8119 y:9682 Position x:8119 y:9682 Position x:8119 y:9682 Position x:8119 y:9682 Position x:8119 y:9682 Position x:8119 y:9682 Position x:8119 y:9682 Position x:8119 y:9682 . . . I can't understand the meaning of X and Y coordinates, and i don't know if this coordinates contain image values or not. Thanks. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org More information about the problem. I have changed the output text and now i recive that: Position x:185 y:0 Read:T Position x:572 y:0 Read:Tex Position x:979 y:0 Read:Text b Position x:1637 y:0 Read:Text befor Position x:2501 y:0 Read:Text before ima Position x:3325 y:0 Read:Text before image in Position x:4535 y:0 Read:Text before image in odt doc Position x:5650 y:0 Read:Text before image in odt document. Position x:5650 y:0 Read:Text before image in odt document. Position x:5650 y:0 Read:Text before image in odt document. Position x:5650 y:0 Read:Text before image in odt document. Position x:760 y:9682 Leido Text before image in odt document. Text Position x:2773 y:9682 Leido Text before image in odt document. Text after image i Position x:5304 y:9682 Leido Text before image in odt document. Text after image in odt document The cursor seems that goRight method move a random distance. Greetings - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] Accessing List Items in ComboBoxes
Hi I would like like to change the contens of one of the items in a CoboxBox.items. I know I can add items dynamicly but what about changing a string in the list of items. In ordinary Basic such as VB 2008 this is not a problem. I tried the following dim int psoition = a value between 0 and nbItems-1 oDlg.GetControl(myCoboBox).item(psoition) = The New String When the debugger comes to this line it says that there is no such function or value to access. I get no messages when I compile the code. The code i inside an ott template. Does any one have a solution for this? Lars - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
RE: [dev] filters as extensions -- still no luck -- looking for one working example
Hello again, I believe I have just checked all extentions from the extensions repository here: http://extensions.services.openoffice.org/ and could not find one case of a simple XSLT filter packaged as an extension. Is there such an example anywhere or can anyone provide one? (The example mentionned below does not in fact install a filter; this is not immediately obvious because it has the same name as a default filter (MediaWiki) but when one removes the original filter, or even does a fresh install with no filters, and then tries to install this extention, this does not create a MediaWiki filter (or any other one for that matter)). Regards, EB -Original Message- (...) if I try to install the extension provided as an example on this same page: http://wiki.services.openoffice.org/w/images/6/66/Mwikidemo.oxt with zero alterations, the extension installs properly but the filter is not accessible...? Neither in the filter list from the tools menu, nor in the filter list from file/export. (I tried several times on fresh oo installs). - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
RE: [dev] xslt filters packaged as jar files, included files missing
Hello, When trying to export XSLT filters as jar files, the created jar contains the XSL file that the filter points to. But in the case of a complex transformation using multiple XSL files, only the first XSL file is exported and put in the .jar, so that subsequent importing of this .jar does not get the other files back. I tried to add the other XSL files to the .jar and declaring them in META-INF/manifest.xml, but that does not seem to work. How should one proceed? Regards, EB - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] filters as extensions -- still no luck -- looking for one working example
Hi Emmanuel, The new version of Sun Wiki Publisher extension in mav46 childworkspace does it. Actually the MediaWiki filter will no more be installed as a part of OOo installation starting from OOo3.2, the extension will install it. So you could try to checkout swext module from this cws and investigate it. By the way, if two extensions install the same filter, the result is unpredictable if I remember correctly. Best regards, Mikhail. On 03/31/09 17:48, Emmanuel Begue wrote: Hello again, I believe I have just checked all extentions from the extensions repository here: http://extensions.services.openoffice.org/ and could not find one case of a simple XSLT filter packaged as an extension. Is there such an example anywhere or can anyone provide one? (The example mentionned below does not in fact install a filter; this is not immediately obvious because it has the same name as a default filter (MediaWiki) but when one removes the original filter, or even does a fresh install with no filters, and then tries to install this extention, this does not create a MediaWiki filter (or any other one for that matter)). Regards, EB -Original Message- (...) if I try to install the extension provided as an example on this same page: http://wiki.services.openoffice.org/w/images/6/66/Mwikidemo.oxt with zero alterations, the extension installs properly but the filter is not accessible...? Neither in the filter list from the tools menu, nor in the filter list from file/export. (I tried several times on fresh oo installs). - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org -- Sun Microsystems GmbHMikhail Voytenko Nagelsweg 55 Software Engineer 20097 HamburgPhone: (+49 40)23646 500 Germany Fax: (+49 40)23646 550 http://www.sun.demailto:mikhail.voite...@sun.com Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten Amtsgericht München: HRB 161028 Geschäftsführer: Thomas Schröder, Wolfgang Engels, Dr. Roland Bömer Vorsitzender des Aufsichtsrates: Martin Häring
RE: [dev] xslt filters as extensions - swext
Hello Mikhail, Thank you very much for this answer -- but I don't know how to browse cws though? I did find this: http://svn.services.openoffice.org/opengrok/xref/OOO310_m5/swext/mediawiki/ which does not contain xslt files and is probably not what you were mentionning? Regards, EB -Original Message- From: mikhail.voyte...@sun.com [mailto:mikhail.voyte...@sun.com] Sent: Tuesday, March 31, 2009 5:58 PM To: dev@openoffice.org Subject: Re: [dev] filters as extensions -- still no luck -- looking for one working example The new version of Sun Wiki Publisher extension in mav46 childworkspace does it. Actually the MediaWiki filter will no more be installed as a part of OOo installation starting from OOo3.2, the extension will install it. So you could try to checkout swext module from this cws and investigate it. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] xslt filters as extensions - swext
Hello Emmanuel, On Tuesday 31 March 2009, 13:40, Emmanuel Bégué wrote: Hello Mikhail, Thank you very much for this answer -- but I don't know how to browse cws though? The new version of Sun Wiki Publisher extension in mav46 http://svn.services.openoffice.org/ooo/cws/mav46/ childworkspace does it. Actually the MediaWiki filter will no more be installed as a part of OOo installation starting from OOo3.2, the extension will install it. So you could try to checkout swext module from this cws and investigate it. Regards -- Ariel Constenla-Haile La Plata, Argentina Aus der Kriegsschule des Lebens - Was mich nicht umbringt, macht mich härter. Nietzsche Götzendämmerung, Sprüche und Pfeile, 8. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
RE: [dev] xslt filters as extensions - swext
-Original Message- From: Ariel Constenla-Haile The new version of Sun Wiki Publisher extension in mav46 http://svn.services.openoffice.org/ooo/cws/mav46/ Ariel, Much thanks for the link. Mikhail, This does not appear to be a filter based on XSLT? Regards, EB - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Accessing List Items in ComboBoxes
Hi Lars, Rosoft Engineering wrote (31-3-2009 16:57) I would like like to change the contens of one of the items in a CoboxBox.items. I know I can add items dynamicly but what about changing a string in the list of items. In ordinary Basic such as VB 2008 this is not a problem. I tried the following dim int psoition = a value between 0 and nbItems-1 oDlg.GetControl(myCoboBox).item(psoition) = The New String When the debugger comes to this line it says that there is no such function or value to access. I get no messages when I compile the code. The code i inside an ott template. Does any one have a solution for this? I have not checked it, but what will work for sure: put the items from the combobox in an array, emty the combobox, replace one item in the array and fill the combobox again. Maybe there is a smarter way ... Therefore you can use Xray to look into the properties and methods of the objects. Look at the api home page http://api.openoffice.org/ and you'll find a link to the wiki, where Xray can be found etc. HTH, Cor ps: a question like this can best be asked on dev at api.openoffice.org And when you subscribe first, you for sure will get all the answers. To do so, mail to dev-subscr...@api.openoffice.org -- Cor Nouws-nl.OpenOffice.org marketing contact = 2009 - Develop OOo = www.nieuwsteoffice.nl = - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] OpenOffice.org Java JRE search paths
Hi all! As of now OpenOffice.org looks for a JRE in different paths. What I heard is that each micro version update unsets the OpenOffice.org Java configuration in Gentoo and one has to set the Java JRE again under Extras Options OpenOffice.org Java Serkan, correct me please if I am wrong. The Gentoo Java Team came up with the idea to centralise the Java JRE search path in one directory. This would be /usr/lib/jvm in Gentoo where Java JDK/JRE are managed without the micro version in its pathname. And named like jre | jdk-major.minor only. So, in short it would be these three points of interest: - change Java JRE search paths to one (set by configure option) - accept a symlink as the base directory for a Java JDK/JRE - to add a manual Java JDK/JRE install use the (already available) 'Add' button in the Java options dialog (in my hacked build non-functioning) I tried to patch jvmfwk/plugins/sunmajor/pluginlib/util.cxx There is a char array of search paths and symlink checks but without luck. Any help or pointers is appreciated! And thank you in advance! Regards, Hanno - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] OpenOffice.org Java JRE search paths
Starting with OOO310 m8 OOo will automatically search for a new JRE when the previously selected one was removed. Provided that the new JRE is in a path that is found, everything will work. Joachim Hanno Meyer-Thurow schrieb: Hi all! As of now OpenOffice.org looks for a JRE in different paths. What I heard is that each micro version update unsets the OpenOffice.org Java configuration in Gentoo and one has to set the Java JRE again under Extras Options OpenOffice.org Java Serkan, correct me please if I am wrong. The Gentoo Java Team came up with the idea to centralise the Java JRE search path in one directory. This would be /usr/lib/jvm in Gentoo where Java JDK/JRE are managed without the micro version in its pathname. And named like jre | jdk-major.minor only. So, in short it would be these three points of interest: - change Java JRE search paths to one (set by configure option) - accept a symlink as the base directory for a Java JDK/JRE - to add a manual Java JDK/JRE install use the (already available) 'Add' button in the Java options dialog (in my hacked build non-functioning) I tried to patch jvmfwk/plugins/sunmajor/pluginlib/util.cxx There is a char array of search paths and symlink checks but without luck. Any help or pointers is appreciated! And thank you in advance! Regards, Hanno - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org