[dev] xslt filter with two input sources possible ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, i tried to create a xslt filter to merge the information from two *.xml docs into one writer doc ... the filter works perfect with *one* input source (i select the *.xml file via file - open) but how can i access the second input source, i tried xsl:copy-of select=document('./seconde.xml')/ROOT/INFO/ but nothing happens ... another question: is there a change to (remote) debug a xslt file ? for my oo components i use log4j ... any hints ? Oliver - -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE6VKYTiyrQM/QSkURAtUHAKCyOQojeKzhV5JcnxtDvjpHwF/33ACeK98A 6O5YN74SV2KpJD6mpM9u3Qo= =UlPO -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] Re: Can I listen for changes of the view cursor?
Matthias Benkmann wrote: On 8/18/06, Mathias Bauer [EMAIL PROTECTED] wrote: If the view cursor is moved the selection also changes, so registering as a SelectionChangedListener should be sufficient. Thanks. That works nicely. Can I ask where and how you add the listener? A few lines of code maybe? /W - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Re: Can I listen for changes of the view cursor?
Hello, I think adding the SelectionChangeListener ist done as follow: This is how you got you XTextViewCursor: XTextViewCursorSupplier xViewCursorSupplier = (XTextViewCursorSupplier) UnoRuntime .queryInterface(XTextViewCursorSupplier.class, currentDesktopController); It is the case that the xViewCursorSupplier supports the Service TextDocumentView, which include the service OfficeDocumentView. OfficeDocumentView exports the interface XSelectionSupplier. (Cf to the idl documentation). XSelection is the interface we need, since it defines the method addSelectionChangeListener() Thus, querying for XSelectionSupplier is done as follow: XSelectionSupplier xSelectionSupplier = (XSelectionSupplier) UnoRuntime .queryInterface(XSelectionSupplier.class, xViewCursorSupplier); Eventually add to the retrieved XSelectionSupplier your own SelectionChangeListener: xSelectionSupplier.addSelectionChangeListener(new MySelectionChangeListener()); (MySelectionChangeListener is a class that implements XSelectionChangeListener). I hope I made no mistakes. Regards, Daniel p.s.: On Staroffice 8, an event is catched then I press the keys up arrow or the down arrow, but *not* then I press the left or the right arrow. This is a bug, isn't it ? Matthias Benkmann wrote: On 8/18/06, Mathias Bauer [EMAIL PROTECTED] wrote: If the view cursor is moved the selection also changes, so registering as a SelectionChangedListener should be sufficient. Thanks. That works nicely. Can I ask where and how you add the listener? A few lines of code maybe? /W - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] Scheduled Maintenance Tuesday 01:00 UTC
All, We need to install a patch in CollabNet Enterprise Edition (CEE), our site infrastructure, and to do so must take the site offline for about 30 minutes commencing at around 01:00 UTC Tuesday. CVS, Issue tracker, mail lists will all be offline for the duration. Download servers, anoncvs, and the wikis at wiki.services.openoffice.org will remain online. Sorry for the inconvenience. Best, Louis Suarez-Potts CollabNet smime.p7s Description: S/MIME cryptographic signature