Re: [dev] Re: Problems using %origin% in Setup.xcu
On Wed, Jun 09, 2010 at 02:48:03PM +0200, Michael Stahl wrote: > On 09/06/2010 09:50, sponmonster wrote: > > Hi, > > I’m trying to deliver a template within an extension and directly set the > > template as default-template. > > The Setup.xcu code: > > > > […] > > > > > > > > > oor:type="xs:string"> > > > > %origin%/templates/standard.ott > > > > > > > > > > […] > > > > The Problem is that everything works fine except of one thing, when I open a > > new file I get an error message. OpenOffice opens the correct default > > template from the extension and nothing seems to be wrong except of that > > message I get: (sorry it’s german – the message is: “general error”) > > http://old.nabble.com/file/p28827026/allgemeiner_fehler.jpg > > I really don’t know what to do. > > I’ve tried to change the template, or the location nothing worked > > > > Everything works when I change the location of the template and use an > > absolute path, or another placeholder like $(user) but I need to deliver the > > template in the extension and use it from the extension > > > > The only problem is the usage of %origin% to find my extension and the > > template in the extension. > > i think i remember this problem: > it occurs when importing the RDF metadata. > the %origin% corresponds to a vnd.sun.star.expand: URI, and such URIs are > not hierarchical. > thus trying to use such an URI to create an absolute URI from a relative > URI fails. > > [there are lots of other places in the import that need to do this, but in > contrast to the RDF metadata import they use some ancient deprecated crud > from the tools module to make URIs absolute, which apparently happily > performs this invalid operation] > > i believe fs wanted to create some new mechanism to refer to extension > content that could be used in place of %origin% and would work in this use > case. > > i wonder what is the status of that? > I suppose you speak about his extension UCP: http://api.openoffice.org/servlets/ReadMsg?list=dev&msgNo=22475 . It was integrated into DEV300_m81. The code is in ucb/source/ucp/ext . D. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] Re: Problems using %origin% in Setup.xcu
On 09/06/2010 09:50, sponmonster wrote: > Hi, > I’m trying to deliver a template within an extension and directly set the > template as default-template. > The Setup.xcu code: > > […] > > > >oor:type="xs:string"> > > %origin%/templates/standard.ott > > > > > […] > > The Problem is that everything works fine except of one thing, when I open a > new file I get an error message. OpenOffice opens the correct default > template from the extension and nothing seems to be wrong except of that > message I get: (sorry it’s german – the message is: “general error”) > http://old.nabble.com/file/p28827026/allgemeiner_fehler.jpg > I really don’t know what to do. > I’ve tried to change the template, or the location nothing worked > > Everything works when I change the location of the template and use an > absolute path, or another placeholder like $(user) but I need to deliver the > template in the extension and use it from the extension > > The only problem is the usage of %origin% to find my extension and the > template in the extension. i think i remember this problem: it occurs when importing the RDF metadata. the %origin% corresponds to a vnd.sun.star.expand: URI, and such URIs are not hierarchical. thus trying to use such an URI to create an absolute URI from a relative URI fails. [there are lots of other places in the import that need to do this, but in contrast to the RDF metadata import they use some ancient deprecated crud from the tools module to make URIs absolute, which apparently happily performs this invalid operation] i believe fs wanted to create some new mechanism to refer to extension content that could be used in place of %origin% and would work in this use case. i wonder what is the status of that? > Another thing is that %origin% works in other xcu files, for example in a > toolbar I made, to find the icons I used %origin% and it works very well, > only in Setup.xcu I get this “error”-message. then i guess in those cases it's not used as a baseURI :) > I’m using WinXP (SP3) and OpenOffice.org 3.2 > > Thanks for your help > Yours sponmonster -- "Within C++, there is a much smaller and cleaner language struggling to get out." -- Bjarne Stroustrup - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Community Council Elections 2010-06: Announcement and Nomination
Hi, Charles-H. Schulz wrote: I would like to thank both Jan and Frank for nominating candidates. I think we have two perfectly legitimate candidates for the elections of the Product Development Representative. May the best of the two win! Please note that the nomination period is ongoing and it is still possible to nominate candidates until 2010-06-15. http://wiki.services.openoffice.org/wiki/Community_Council/Elections/2010-06 Greetings Stefan - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Community Council Elections 2010-06: Announcement and Nomination
Hi Bjoern, Am 09.06.2010 12:22, schrieb bjoern michaelsen - Sun Microsystems - Hamburg Germany: On Wed, 09 Jun 2010 12:12:11 +0200 "Charles-H. Schulz" wrote: I would like to thank both Jan and Frank for nominating candidates. I think we have two perfectly legitimate candidates for the elections of the Product Development Representative. Just to make sure: Did Andreas already accept the nomination by Frank? Yes, he has personally accepted his nomination prior to my nomination mail. He could not post his acceptance to the list, because he is on vacation today. Best regards, Frank - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Community Council Elections 2010-06: Announcement and Nomination
On Wed, 09 Jun 2010 12:12:11 +0200 "Charles-H. Schulz" wrote: > I would like to thank both Jan and Frank for nominating candidates. > I think we have two perfectly legitimate candidates for the elections > of the Product Development Representative. Just to make sure: Did Andreas already accept the nomination by Frank? Best Regards, Bjoern - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Community Council Elections 2010-06: Announcement and Nomination
Hello everyone, I would like to thank both Jan and Frank for nominating candidates. I think we have two perfectly legitimate candidates for the elections of the Product Development Representative. May the best of the two win! Charles-H. Schulz. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] Problems using %origin% in Setup.xcu
Hi, I’m trying to deliver a template within an extension and directly set the template as default-template. The Setup.xcu code: […] %origin%/templates/standard.ott […] The Problem is that everything works fine except of one thing, when I open a new file I get an error message. OpenOffice opens the correct default template from the extension and nothing seems to be wrong except of that message I get: (sorry it’s german – the message is: “general error”) http://old.nabble.com/file/p28827026/allgemeiner_fehler.jpg I really don’t know what to do. I’ve tried to change the template, or the location nothing worked Everything works when I change the location of the template and use an absolute path, or another placeholder like $(user) but I need to deliver the template in the extension and use it from the extension The only problem is the usage of %origin% to find my extension and the template in the extension. Another thing is that %origin% works in other xcu files, for example in a toolbar I made, to find the icons I used %origin% and it works very well, only in Setup.xcu I get this “error”-message. I’m using WinXP (SP3) and OpenOffice.org 3.2 Thanks for your help Yours sponmonster -- View this message in context: http://old.nabble.com/Problems-using--origin--in-Setup.xcu-tp28827026p28827026.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] Openoffice development
On Wed, 09 Jun 2010 07:05:29 +0200 Bartosz wrote: > Currently I'm building the OpenOffice DEV300 under Ubuntu ( > http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Linux > ). > > I would like to fix this bug: > http://www.openoffice.org/issues/show_bug.cgi?id=84723 > > I found the solution and now I would like to create the patch. Hi Bartosz, great that you start contributing! To contribute patches, you will need to sign the SCA: http://wiki.services.openoffice.org/wiki/Sun_Contributor_Agreement attach your patch to the issue while you are waiting for the SCA to be processed. More info about contributing patches: http://wiki.services.openoffice.org/wiki/Contributing_Patches If you contributed a few good patches, it will likely be easier for you to become a "DomainDeveloper" -- then you can create your own feature branches at hg.services.openoffice.org and escort it through buildbots and QA yourself. If you are having questions along the way, dont hesitate to ask on #dev.openoffice.org on freenode (IRC). It will likely be the fastest way to get an answer. Best Regards and Welcome, Bjoern - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Openoffice development
Hi Bartosz, Le mercredi 09 juin 2010 à 07:05 +0200, Bartosz a écrit : > Hi. > My name is Bartosz. I'm quite experienced C/C++ developer, and I would like > to start help in OpenOffice development. Great, be welcomed amongst the OOo devs! > Currently I'm building the OpenOffice DEV300 under Ubuntu ( > http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Linux > ). > > I would like to fix this bug: > http://www.openoffice.org/issues/show_bug.cgi?id=84723 > > I found the solution and now I would like to create the patch. Ok, you should be able to do it pretty easily using mercurial: hg diff >mypatch.diff Check if all the files are present (mostly the added / removed ones): I'm not a mercurial expert :) > By the way: > Where I could find the source code for the RedOffice > http://www.redoffice.com.cn ? > I think there is a lot of great work, and I would like to look at this > changes. Who said it is open source? Regards, -- Cédric Bosdonnat Go-oo hacker http://go-oo.org OOo Eclipse Integration developer http://cedric.bosdonnat.free.fr - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org