Re: Custom XML Part

2018-02-16 Thread Rushna Jabi
I have created OpenOffice plugin. plugin adds Header Footer ans classify
the document  I am trying to generate the Logs of every document Like
time and date, PC-Name ,
Mac ID, IP Address and other information when user classify the document.i
want to add Meta data.

It's easy to maintain in Ms Office there is Custom Xml Part method. I just
want to know that how is it possible in OpenOffice.



Regards,
Rushna jabi

On Fri, Feb 16, 2018 at 2:52 AM, Andrew Pitonyak <and...@pitonyak.org>
wrote:

>
>
> I don't know what that means
>
> How do you add the XML, is it visible? Is it generic?
>
> I vaguely remember that you can attach a custom XML strong as a property
> to some embedded objects... I don't remember if I discovered this in
> OOME.odt or if it is in AndrewMacro.odt and I can't check right now
>
> I don't know if it was saved with the document... I just vaguely remember
> that there was something like that... I think you would need to know which
> object you added the data to, but this is all a fuzzy memory...
>
> Let me know if this is what you mean and are unable to find it...
>
>
>
>
> Sent from BlueMail <http://www.bluemail.me/r?b=12095>
> On Feb 15, 2018, at 2:01 PM, Rushna Jabi <rushnajabi...@gmail.com> wrote:
>>
>> Thanks for reply.
>>
>> Andrew, In Ms Office document we can add Custom Xml Part i.e. information
>> related to current document.
>> we can access also that  information.
>> please tell me , Is it possible in OpenOffice and how?
>>
>>
>>
>> Regards,
>> Rushna jabi
>>
>> On Mon, Feb 12, 2018 at 7:17 PM, Andrew Pitonyak <and...@pitonyak.org>
>> wrote:
>>
>>  The people on this list are not likely to know about me office products.
>>>  Consider describing the behavior.
>>>
>>>  ⁣Sent from BlueMail ​
>>>
>>>  On Feb 12, 2018, 7:16 AM, at 7:16 AM, Rushna Jabi <rushnajabi...@gmail.com>
>>>  wrote:
>>>
>>>> Hi all,
>>>> I am working on OpenOffice plugin but I want to add Custom Xml Part in
>>>> OpenOffice like Ms-Office.
>>>> please tell me it's possible or not in Openoffice.
>>>> if it is possible then, How?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Regards,
>>>> Rushna Jabi
>>>> Software Engineer
>>>>
>>>
>>>


Re: Custom XML Part

2018-02-15 Thread Rushna Jabi
Thanks for reply.

Andrew, In Ms Office document we can add Custom Xml Part i.e. information
related to current document.
we can access also that  information.
please tell me , Is it possible in OpenOffice and how?



Regards,
Rushna jabi

On Mon, Feb 12, 2018 at 7:17 PM, Andrew Pitonyak <and...@pitonyak.org>
wrote:

> The people on this list are not likely to know about me office products.
> Consider describing the behavior.
>
> ⁣Sent from BlueMail ​
>
> On Feb 12, 2018, 7:16 AM, at 7:16 AM, Rushna Jabi <rushnajabi...@gmail.com>
> wrote:
> >Hi all,
> >I am working on OpenOffice plugin but I want to add Custom Xml Part in
> >OpenOffice like Ms-Office.
> >please tell me it's possible or not in Openoffice.
> >if it is possible then, How?
> >
> >
> >
> >
> >
> >
> >
> >Regards,
> >Rushna Jabi
> >Software Engineer
>


Re: Custom XML Part

2018-02-14 Thread Rushna Jabi
please  help?
I didn't get any reply till now...:(

On Mon, Feb 12, 2018 at 5:36 PM, Rushna Jabi <rushnajabi...@gmail.com>
wrote:

> Hi all,
> I am working on OpenOffice plugin but I want to add Custom Xml Part in
> OpenOffice like Ms-Office.
> please tell me it's possible or not in Openoffice.
> if it is possible then, How?
>
>
>
>
>
>
>
> Regards,
> Rushna Jabi
> Software Engineer
>


Custom XML Part

2018-02-12 Thread Rushna Jabi
Hi all,
I am working on OpenOffice plugin but I want to add Custom Xml Part in
OpenOffice like Ms-Office.
please tell me it's possible or not in Openoffice.
if it is possible then, How?







Regards,
Rushna Jabi
Software Engineer


OpenOffice Query

2017-12-14 Thread Rushna Jabi
Hi All,
I have created on OpenOffice AddOn using Netbeans 8.0.2 IDE and Now I have
to get the value from "Software\\Wow6432Node\\... " Registry.
Please tell how to do it.


I have sent my query to OpenOffice forum but they have no idea about it.
Mr. Hagar Delest suggest me to dev mailing list.




Rushna
Software Engineer


ImageURL

2017-11-30 Thread Rushna Jabi
Hi all,
I am working on OpenOffice plugin using NetBeans 8.0.2.
I have created a dialog using XDialog and now I want add image on this
dialog.
but I am not getting image.

My code is:

//create the image model and set the properties
 Object imageModel =
xMultiServiceFactory.createInstance("com.sun.star.awt.UnoControlImageControlModel");
XPropertySet imageProperties = (XPropertySet)
UnoRuntime.queryInterface(XPropertySet.class, imageModel);
imageProperties.setPropertyValue("PositionX", new Integer(0));
imageProperties.setPropertyValue("PositionY", new Integer(0));
imageProperties.setPropertyValue("Width", new Integer(150));
imageProperties.setPropertyValue("Height", new Integer(150));
imageProperties.setPropertyValue("Name", name);
imageProperties.setPropertyValue("ScaleImage", new Boolean(true));

imageProperties.setPropertyValue("ImageURL", new
String("/images/apple.png"));

// insert the control models into the dialog model
XNameContainer xNameCont = ( XNameContainer
)UnoRuntime.queryInterface( XNameContainer.class, dialogModel );


   xNameCont.insertByName(name, imageModel);


I am not getting image on Dialog using relative path.
I need your support, please help me.



Thanks & regards,
Rushna Jabi
Software Engineer


Re: OpenOffice Query

2017-07-18 Thread Rushna Jabi
"OnSave" and "OnSaveAs" should be delivered before the document is saved,
and "OnSaveDone" and "OnSaveAsDone" after it is saved.

I have printed all the listeners but  I am getting same Output OnSaveAs or
OnSaveAsDone.




public void notifyEvent(com.sun.star.document.EventObject
oEvent) {

System.out.println("u call Event :)"+oEvent.EventName);

  if (oEvent.EventName.equalsIgnoreCase("OnSaveAs")) {

Form1 form1=new Form1();
form1.setVisible(true);

}
  public void disposing(com.sun.star.lang.EventObject e) {

}


Output:Open Form1 form OnSaveAsDone.

u call Event :)OnTitleChanged
u call Event :)OnFocus
u call Event :)OnViewCreated
u call Event :)OnNew
u call Event :)OnLayoutFinished
u call Event :)OnTitleChanged
u call Event :)OnModifyChanged
u call Event :)OnLayoutFinished
u call Event :)OnSaveAs
u call Event :)OnTitleChanged
u call Event :)OnModifyChanged
u call Event :)OnStorageChanged
u call Event :)OnStorageChanged
u call Event :)OnTitleChanged
u call Event :)OnSaveAsDone







On Tue, Jul 18, 2017 at 5:15 PM, Rushna Jabi <rushnajabi...@gmail.com>
wrote:

> I know about all those events and I thought same as you.
> But getting on OnSave and OnSaveDone same output.
>
> Now I check again then discuss with you.
>
>
>
> Thanks & Regards,
> Rushna jabi
> Software Engineer
> 8447294601
>
> On 18-Jul-2017 15:35, "Damjan Jovanovic" <dam...@apache.org> wrote:
>
>> Hi Rushna
>>
>> Look at the table of events on https://wiki.openoffice.org/wi
>> ki/Documentation/DevGuide/OfficeDev/Document_Events
>>
>> "OnSave" and "OnSaveAs" should be delivered before the document is saved,
>> and "OnSaveDone " and "OnSaveAsDone" after it is saved. If you aren't
>> sure, comment out the "if" statement in the listener I sent you, so it
>> shows a messagebox for every possible event, and then use that to find the
>> event you are looking for.
>>
>> Good luck
>> Damjan
>>
>> On Tue, Jul 18, 2017 at 11:49 AM, Rushna Jabi <rushnajabi...@gmail.com>
>> wrote:
>>
>>> Hi Danjan,
>>> I am getting popup on save, on saveAs event after the saving doc.
>>> But I want my popup before save event window..
>>> How is it possible?
>>>
>>>
>>>
>>>
>>>
>>> Regards,
>>> Rushna jabi
>>> Software Engineer
>>> 8447294604
>>>
>>> On 13-Jul-2017 15:03, "Damjan Jovanovic" <dam...@apache.org> wrote:
>>>
>>>> That's great. I am glad.
>>>>
>>>> And you don't have to call me "sir" :-).
>>>>
>>>> On Thu, Jul 13, 2017 at 11:18 AM, Rushna Jabi <rushnajabi...@gmail.com>
>>>> wrote:
>>>>
>>>>> I am working on AOO. I made an OpenOffice plugin on NetBeans
>>>>> environment.
>>>>> "OnSave" event is working properly.
>>>>>
>>>>> Thanks a lot Sir for your guidance...
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Thanks & Regards,
>>>>> Rushna Jabi
>>>>> Software Programmer
>>>>> 8447294601
>>>>>
>>>>>
>>>>> On Wed, Jul 12, 2017 at 1:52 PM, Damjan Jovanovic <dam...@apache.org>
>>>>> wrote:
>>>>>
>>>>>> Please see my attached example. I tested it and it does work.
>>>>>>
>>>>>> Make sure you are running AOO with the right options:
>>>>>> ./soffice "-accept=socket,host=localhost,port=8100;urp"
>>>>>> or match the port to the initialObject string.
>>>>>>
>>>>>> For a real-world implementation, you should probably extend WeakBase
>>>>>> too, in the class implementing the listener.
>>>>>>
>>>>>> Regards
>>>>>> Damjan
>>>>>>
>>>>>> On Wed, Jul 12, 2017 at 10:04 AM, Rushna Jabi <
>>>>>> rushnajabi...@gmail.com> wrote:
>>>>>>
>>>>>>> Hello Sir,
>>>>>>> I have an UNO component and I implemented interface
>>>>>>> "com.sun.star.document.XDocumentEventBroadCaster", use
>>>>>>> UnoRuntime.queryInface() to get its XEventBroadcaster interface, calling
>>>>>>> a

Re: OpenOffice Query

2017-07-18 Thread Rushna Jabi
I know about all those events and I thought same as you.
But getting on OnSave and OnSaveDone same output.

Now I check again then discuss with you.



Thanks & Regards,
Rushna jabi
Software Engineer
8447294601

On 18-Jul-2017 15:35, "Damjan Jovanovic" <dam...@apache.org> wrote:

> Hi Rushna
>
> Look at the table of events on https://wiki.openoffice.org/
> wiki/Documentation/DevGuide/OfficeDev/Document_Events
>
> "OnSave" and "OnSaveAs" should be delivered before the document is saved,
> and "OnSaveDone " and "OnSaveAsDone" after it is saved. If you aren't
> sure, comment out the "if" statement in the listener I sent you, so it
> shows a messagebox for every possible event, and then use that to find the
> event you are looking for.
>
> Good luck
> Damjan
>
> On Tue, Jul 18, 2017 at 11:49 AM, Rushna Jabi <rushnajabi...@gmail.com>
> wrote:
>
>> Hi Danjan,
>> I am getting popup on save, on saveAs event after the saving doc.
>> But I want my popup before save event window..
>> How is it possible?
>>
>>
>>
>>
>>
>> Regards,
>> Rushna jabi
>> Software Engineer
>> 8447294604
>>
>> On 13-Jul-2017 15:03, "Damjan Jovanovic" <dam...@apache.org> wrote:
>>
>>> That's great. I am glad.
>>>
>>> And you don't have to call me "sir" :-).
>>>
>>> On Thu, Jul 13, 2017 at 11:18 AM, Rushna Jabi <rushnajabi...@gmail.com>
>>> wrote:
>>>
>>>> I am working on AOO. I made an OpenOffice plugin on NetBeans
>>>> environment.
>>>> "OnSave" event is working properly.
>>>>
>>>> Thanks a lot Sir for your guidance...
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Thanks & Regards,
>>>> Rushna Jabi
>>>> Software Programmer
>>>> 8447294601
>>>>
>>>>
>>>> On Wed, Jul 12, 2017 at 1:52 PM, Damjan Jovanovic <dam...@apache.org>
>>>> wrote:
>>>>
>>>>> Please see my attached example. I tested it and it does work.
>>>>>
>>>>> Make sure you are running AOO with the right options:
>>>>> ./soffice "-accept=socket,host=localhost,port=8100;urp"
>>>>> or match the port to the initialObject string.
>>>>>
>>>>> For a real-world implementation, you should probably extend WeakBase
>>>>> too, in the class implementing the listener.
>>>>>
>>>>> Regards
>>>>> Damjan
>>>>>
>>>>> On Wed, Jul 12, 2017 at 10:04 AM, Rushna Jabi <rushnajabi...@gmail.com
>>>>> > wrote:
>>>>>
>>>>>> Hello Sir,
>>>>>> I have an UNO component and I implemented interface
>>>>>> "com.sun.star.document.XDocumentEventBroadCaster", use
>>>>>> UnoRuntime.queryInface() to get its XEventBroadcaster interface, calling
>>>>>> addDocumentEventListener().
>>>>>>
>>>>>> please tell me from where I have to get "OnSave" or "OnSaveAs"
>>>>>> events.I am not getting.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Regards,
>>>>>> Rushna Jabi
>>>>>> Software Programmer
>>>>>> 8447294601
>>>>>>
>>>>>> On Thu, Jul 6, 2017 at 12:48 PM, Rushna Jabi <rushnajabi...@gmail.com
>>>>>> > wrote:
>>>>>>
>>>>>>> OK,I am working on this.
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Jul 6, 2017 at 12:25 PM, Damjan Jovanovic <dam...@apache.org
>>>>>>> > wrote:
>>>>>>>
>>>>>>>> You're looking for this then:
>>>>>>>> https://wiki.openoffice.org/wiki/Documentation/DevGuide/Offi
>>>>>>>> ceDev/Document_Events
>>>>>>>>
>>>>>>>> I'll only be able to test this later, but once you have an UNO
>>>>>>>> component context or service manager, use it to create a
>>>>>>>> "com.sun.star.frame.GlobalEventBroadcaster", use
>>>>>>>> UnoRuntime.queryInface() to get its XEventBroadcaster interface, call
>>>>>&

Re: OpenOffice Query

2017-07-18 Thread Rushna Jabi
Hi Danjan,
I am getting popup on save, on saveAs event after the saving doc.
But I want my popup before save event window..
How is it possible?





Regards,
Rushna jabi
Software Engineer
8447294604

On 13-Jul-2017 15:03, "Damjan Jovanovic" <dam...@apache.org> wrote:

> That's great. I am glad.
>
> And you don't have to call me "sir" :-).
>
> On Thu, Jul 13, 2017 at 11:18 AM, Rushna Jabi <rushnajabi...@gmail.com>
> wrote:
>
>> I am working on AOO. I made an OpenOffice plugin on NetBeans environment.
>> "OnSave" event is working properly.
>>
>> Thanks a lot Sir for your guidance...
>>
>>
>>
>>
>>
>> Thanks & Regards,
>> Rushna Jabi
>> Software Programmer
>> 8447294601
>>
>>
>> On Wed, Jul 12, 2017 at 1:52 PM, Damjan Jovanovic <dam...@apache.org>
>> wrote:
>>
>>> Please see my attached example. I tested it and it does work.
>>>
>>> Make sure you are running AOO with the right options:
>>> ./soffice "-accept=socket,host=localhost,port=8100;urp"
>>> or match the port to the initialObject string.
>>>
>>> For a real-world implementation, you should probably extend WeakBase
>>> too, in the class implementing the listener.
>>>
>>> Regards
>>> Damjan
>>>
>>> On Wed, Jul 12, 2017 at 10:04 AM, Rushna Jabi <rushnajabi...@gmail.com>
>>> wrote:
>>>
>>>> Hello Sir,
>>>> I have an UNO component and I implemented interface
>>>> "com.sun.star.document.XDocumentEventBroadCaster", use
>>>> UnoRuntime.queryInface() to get its XEventBroadcaster interface, calling
>>>> addDocumentEventListener().
>>>>
>>>> please tell me from where I have to get "OnSave" or "OnSaveAs" events.I
>>>> am not getting.
>>>>
>>>>
>>>>
>>>> Regards,
>>>> Rushna Jabi
>>>> Software Programmer
>>>> 8447294601
>>>>
>>>> On Thu, Jul 6, 2017 at 12:48 PM, Rushna Jabi <rushnajabi...@gmail.com>
>>>> wrote:
>>>>
>>>>> OK,I am working on this.
>>>>>
>>>>> Thanks.
>>>>>
>>>>>
>>>>> On Thu, Jul 6, 2017 at 12:25 PM, Damjan Jovanovic <dam...@apache.org>
>>>>> wrote:
>>>>>
>>>>>> You're looking for this then:
>>>>>> https://wiki.openoffice.org/wiki/Documentation/DevGuide/Offi
>>>>>> ceDev/Document_Events
>>>>>>
>>>>>> I'll only be able to test this later, but once you have an UNO
>>>>>> component context or service manager, use it to create a
>>>>>> "com.sun.star.frame.GlobalEventBroadcaster", use
>>>>>> UnoRuntime.queryInface() to get its XEventBroadcaster interface, call
>>>>>> addEventListener() to add your listener, and in that listener make sure 
>>>>>> the
>>>>>> even name is "OnSave" or "OnSaveDone".
>>>>>>
>>>>>> Good luck
>>>>>> Damjan
>>>>>>
>>>>>> On Thu, Jul 6, 2017 at 8:43 AM, Rushna Jabi <rushnajabi...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hello Sir,
>>>>>>> I know this one,but i don't want to use macro.
>>>>>>> I have to do it using code. If I use "ag.ion.noa_2.2.3"  Nice
>>>>>>> OpenOffice Access Library , in this library some methods
>>>>>>> OnSave(),OnSaveDone() in AbstractDocument class but I am unable to
>>>>>>> get How to use it.
>>>>>>>
>>>>>>> Please help me out.
>>>>>>>
>>>>>>>
>>>>>>> Thanks & Regards,
>>>>>>> Rushna Jabi
>>>>>>> Software Engineer
>>>>>>> 8447294601
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Jul 6, 2017 at 11:49 AM, Damjan Jovanovic <dam...@apache.org
>>>>>>> > wrote:
>>>>>>>
>>>>>>>> Hi Rushna
>>>>>>>>
>>>>>>>> Apparently, to do this manually:
>>>>>>>>
>>>>>>>> Click on "

Re: OpenOffice Query

2017-07-13 Thread Rushna Jabi
I am working on AOO. I made an OpenOffice plugin on NetBeans environment.
"OnSave" event is working properly.

Thanks a lot Sir for your guidance...





Thanks & Regards,
Rushna Jabi
Software Programmer
8447294601


On Wed, Jul 12, 2017 at 1:52 PM, Damjan Jovanovic <dam...@apache.org> wrote:

> Please see my attached example. I tested it and it does work.
>
> Make sure you are running AOO with the right options:
> ./soffice "-accept=socket,host=localhost,port=8100;urp"
> or match the port to the initialObject string.
>
> For a real-world implementation, you should probably extend WeakBase too,
> in the class implementing the listener.
>
> Regards
> Damjan
>
> On Wed, Jul 12, 2017 at 10:04 AM, Rushna Jabi <rushnajabi...@gmail.com>
> wrote:
>
>> Hello Sir,
>> I have an UNO component and I implemented interface
>> "com.sun.star.document.XDocumentEventBroadCaster", use
>> UnoRuntime.queryInface() to get its XEventBroadcaster interface, calling
>> addDocumentEventListener().
>>
>> please tell me from where I have to get "OnSave" or "OnSaveAs" events.I
>> am not getting.
>>
>>
>>
>> Regards,
>> Rushna Jabi
>> Software Programmer
>> 8447294601
>>
>> On Thu, Jul 6, 2017 at 12:48 PM, Rushna Jabi <rushnajabi...@gmail.com>
>> wrote:
>>
>>> OK,I am working on this.
>>>
>>> Thanks.
>>>
>>>
>>> On Thu, Jul 6, 2017 at 12:25 PM, Damjan Jovanovic <dam...@apache.org>
>>> wrote:
>>>
>>>> You're looking for this then:
>>>> https://wiki.openoffice.org/wiki/Documentation/DevGuide/Offi
>>>> ceDev/Document_Events
>>>>
>>>> I'll only be able to test this later, but once you have an UNO
>>>> component context or service manager, use it to create a
>>>> "com.sun.star.frame.GlobalEventBroadcaster", use
>>>> UnoRuntime.queryInface() to get its XEventBroadcaster interface, call
>>>> addEventListener() to add your listener, and in that listener make sure the
>>>> even name is "OnSave" or "OnSaveDone".
>>>>
>>>> Good luck
>>>> Damjan
>>>>
>>>> On Thu, Jul 6, 2017 at 8:43 AM, Rushna Jabi <rushnajabi...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hello Sir,
>>>>> I know this one,but i don't want to use macro.
>>>>> I have to do it using code. If I use "ag.ion.noa_2.2.3"  Nice
>>>>> OpenOffice Access Library , in this library some methods
>>>>> OnSave(),OnSaveDone() in AbstractDocument class but I am unable to get
>>>>> How to use it.
>>>>>
>>>>> Please help me out.
>>>>>
>>>>>
>>>>> Thanks & Regards,
>>>>> Rushna Jabi
>>>>> Software Engineer
>>>>> 8447294601
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Jul 6, 2017 at 11:49 AM, Damjan Jovanovic <dam...@apache.org>
>>>>> wrote:
>>>>>
>>>>>> Hi Rushna
>>>>>>
>>>>>> Apparently, to do this manually:
>>>>>>
>>>>>> Click on "Tools" -> "Customize".
>>>>>> Go to the "Events" tab.
>>>>>> Select "Save document", and click on the "Macro" button, then assign
>>>>>> your plugin.
>>>>>>
>>>>>> See this for screenshots:
>>>>>> https://wiki.openoffice.org/wiki/Documentation/OOoAuthors_Us
>>>>>> er_Manual/Getting_Started/How_to_run_a_macro
>>>>>>
>>>>>> Or, are you trying to get your plugin to automatically assign itself
>>>>>> to be called on save, so that the above isn't required?
>>>>>>
>>>>>> Regards
>>>>>> Damjan
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Thu, Jul 6, 2017 at 6:52 AM, Rushna Jabi <rushnajabi...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Thanks for your response.but I am already a member of OpenOffice
>>>>>>> forum,
>>>>>>> I have sent my issues there but "Villeroy" replied that "This is too
>>>>>>> sophisticated to be discussed on this forum, I think. You should
>>>>>>> write to
>>>>>>> developers mailing list for LibreOffice or OpenOffice."
>>>>>>>
>>>>>>> Please help..
>>>>>>>
>>>>>>> Thanks & Regards,
>>>>>>>
>>>>>>> Rushna Jabi
>>>>>>> Software Engineer
>>>>>>> 8447294601
>>>>>>>
>>>>>>> On Wed, Jul 5, 2017 at 5:51 PM, FR web forum <ooofo...@free.fr>
>>>>>>> wrote:
>>>>>>>
>>>>>>> > The better place to help end-users is:
>>>>>>> > http://forum.openoffice.org
>>>>>>> >
>>>>>>> > - Mail original -
>>>>>>> > De: "Rushna Jabi" <rushnajabi...@gmail.com>
>>>>>>> > À: dev@openoffice.apache.org
>>>>>>> > Envoyé: Mercredi 5 Juillet 2017 12:04:52
>>>>>>> > Objet: OpenOffice Query
>>>>>>> >
>>>>>>> > Hello Sir,
>>>>>>> >
>>>>>>> > I am working on Java Plugin for OpenOffice.I created a plugin but
>>>>>>> i want to
>>>>>>> > call
>>>>>>> > this plugin before save event.
>>>>>>> >
>>>>>>> > please help me out.
>>>>>>> >
>>>>>>> >
>>>>>>> >
>>>>>>> >
>>>>>>> > Thanks & Regards,
>>>>>>> > Rushna Jabi
>>>>>>> > ACPL Systems Pvt. Ltd.
>>>>>>> >
>>>>>>> > 
>>>>>>> -
>>>>>>> > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
>>>>>>> > For additional commands, e-mail: dev-h...@openoffice.apache.org
>>>>>>> >
>>>>>>> >
>>>>>>> >
>>>>>>> >
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>


Re: OpenOffice Query

2017-07-06 Thread Rushna Jabi
OK,I am working on this.

Thanks.


On Thu, Jul 6, 2017 at 12:25 PM, Damjan Jovanovic <dam...@apache.org> wrote:

> You're looking for this then:
> https://wiki.openoffice.org/wiki/Documentation/DevGuide/
> OfficeDev/Document_Events
>
> I'll only be able to test this later, but once you have an UNO component
> context or service manager, use it to create a 
> "com.sun.star.frame.GlobalEventBroadcaster",
> use UnoRuntime.queryInface() to get its XEventBroadcaster interface, call
> addEventListener() to add your listener, and in that listener make sure the
> even name is "OnSave" or "OnSaveDone".
>
> Good luck
> Damjan
>
> On Thu, Jul 6, 2017 at 8:43 AM, Rushna Jabi <rushnajabi...@gmail.com>
> wrote:
>
>> Hello Sir,
>> I know this one,but i don't want to use macro.
>> I have to do it using code. If I use "ag.ion.noa_2.2.3"  Nice OpenOffice
>> Access Library , in this library some methods
>> OnSave(),OnSaveDone() in AbstractDocument class but I am unable to get
>> How to use it.
>>
>> Please help me out.
>>
>>
>> Thanks & Regards,
>> Rushna Jabi
>> Software Engineer
>> 8447294601
>>
>>
>>
>>
>> On Thu, Jul 6, 2017 at 11:49 AM, Damjan Jovanovic <dam...@apache.org>
>> wrote:
>>
>>> Hi Rushna
>>>
>>> Apparently, to do this manually:
>>>
>>> Click on "Tools" -> "Customize".
>>> Go to the "Events" tab.
>>> Select "Save document", and click on the "Macro" button, then assign
>>> your plugin.
>>>
>>> See this for screenshots:
>>> https://wiki.openoffice.org/wiki/Documentation/OOoAuthors_Us
>>> er_Manual/Getting_Started/How_to_run_a_macro
>>>
>>> Or, are you trying to get your plugin to automatically assign itself to
>>> be called on save, so that the above isn't required?
>>>
>>> Regards
>>> Damjan
>>>
>>>
>>>
>>> On Thu, Jul 6, 2017 at 6:52 AM, Rushna Jabi <rushnajabi...@gmail.com>
>>> wrote:
>>>
>>>> Thanks for your response.but I am already a member of OpenOffice forum,
>>>> I have sent my issues there but "Villeroy" replied that "This is too
>>>> sophisticated to be discussed on this forum, I think. You should write
>>>> to
>>>> developers mailing list for LibreOffice or OpenOffice."
>>>>
>>>> Please help..
>>>>
>>>> Thanks & Regards,
>>>>
>>>> Rushna Jabi
>>>> Software Engineer
>>>> 8447294601
>>>>
>>>> On Wed, Jul 5, 2017 at 5:51 PM, FR web forum <ooofo...@free.fr> wrote:
>>>>
>>>> > The better place to help end-users is:
>>>> > http://forum.openoffice.org
>>>> >
>>>> > - Mail original -
>>>> > De: "Rushna Jabi" <rushnajabi...@gmail.com>
>>>> > À: dev@openoffice.apache.org
>>>> > Envoyé: Mercredi 5 Juillet 2017 12:04:52
>>>> > Objet: OpenOffice Query
>>>> >
>>>> > Hello Sir,
>>>> >
>>>> > I am working on Java Plugin for OpenOffice.I created a plugin but i
>>>> want to
>>>> > call
>>>> > this plugin before save event.
>>>> >
>>>> > please help me out.
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > Thanks & Regards,
>>>> > Rushna Jabi
>>>> > ACPL Systems Pvt. Ltd.
>>>> >
>>>> > -
>>>> > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
>>>> > For additional commands, e-mail: dev-h...@openoffice.apache.org
>>>> >
>>>> >
>>>> >
>>>> >
>>>>
>>>
>>>
>>
>


Re: OpenOffice Query

2017-07-06 Thread Rushna Jabi
Hello Sir,
I know this one,but i don't want to use macro.
I have to do it using code. If I use "ag.ion.noa_2.2.3"  Nice OpenOffice
Access Library , in this library some methods
OnSave(),OnSaveDone() in AbstractDocument class but I am unable to get How
to use it.

Please help me out.


Thanks & Regards,
Rushna Jabi
Software Engineer
8447294601




On Thu, Jul 6, 2017 at 11:49 AM, Damjan Jovanovic <dam...@apache.org> wrote:

> Hi Rushna
>
> Apparently, to do this manually:
>
> Click on "Tools" -> "Customize".
> Go to the "Events" tab.
> Select "Save document", and click on the "Macro" button, then assign your
> plugin.
>
> See this for screenshots:
> https://wiki.openoffice.org/wiki/Documentation/OOoAuthors_
> User_Manual/Getting_Started/How_to_run_a_macro
>
> Or, are you trying to get your plugin to automatically assign itself to be
> called on save, so that the above isn't required?
>
> Regards
> Damjan
>
>
>
> On Thu, Jul 6, 2017 at 6:52 AM, Rushna Jabi <rushnajabi...@gmail.com>
> wrote:
>
>> Thanks for your response.but I am already a member of OpenOffice forum,
>> I have sent my issues there but "Villeroy" replied that "This is too
>> sophisticated to be discussed on this forum, I think. You should write to
>> developers mailing list for LibreOffice or OpenOffice."
>>
>> Please help..
>>
>> Thanks & Regards,
>>
>> Rushna Jabi
>> Software Engineer
>> 8447294601
>>
>> On Wed, Jul 5, 2017 at 5:51 PM, FR web forum <ooofo...@free.fr> wrote:
>>
>> > The better place to help end-users is:
>> > http://forum.openoffice.org
>> >
>> > - Mail original -
>> > De: "Rushna Jabi" <rushnajabi...@gmail.com>
>> > À: dev@openoffice.apache.org
>> > Envoyé: Mercredi 5 Juillet 2017 12:04:52
>> > Objet: OpenOffice Query
>> >
>> > Hello Sir,
>> >
>> > I am working on Java Plugin for OpenOffice.I created a plugin but i
>> want to
>> > call
>> > this plugin before save event.
>> >
>> > please help me out.
>> >
>> >
>> >
>> >
>> > Thanks & Regards,
>> > Rushna Jabi
>> > ACPL Systems Pvt. Ltd.
>> >
>> > -
>> > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
>> > For additional commands, e-mail: dev-h...@openoffice.apache.org
>> >
>> >
>> >
>> >
>>
>
>


Re: OpenOffice Query

2017-07-06 Thread Rushna Jabi
Thanks for your response.but I am already a member of OpenOffice forum,
I have sent my issues there but "Villeroy" replied that "This is too
sophisticated to be discussed on this forum, I think. You should write to
developers mailing list for LibreOffice or OpenOffice."

Please help..

Thanks & Regards,

Rushna Jabi
Software Engineer
8447294601

On Wed, Jul 5, 2017 at 5:51 PM, FR web forum <ooofo...@free.fr> wrote:

> The better place to help end-users is:
> http://forum.openoffice.org
>
> ----- Mail original -
> De: "Rushna Jabi" <rushnajabi...@gmail.com>
> À: dev@openoffice.apache.org
> Envoyé: Mercredi 5 Juillet 2017 12:04:52
> Objet: OpenOffice Query
>
> Hello Sir,
>
> I am working on Java Plugin for OpenOffice.I created a plugin but i want to
> call
> this plugin before save event.
>
> please help me out.
>
>
>
>
> Thanks & Regards,
> Rushna Jabi
> ACPL Systems Pvt. Ltd.
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>
>
>


OpenOffice Query

2017-07-05 Thread Rushna Jabi
Hello Sir,

I am working on Java Plugin for OpenOffice.I created a plugin but i want to
call
this plugin before save event.

please help me out.




Thanks & Regards,
Rushna Jabi
ACPL Systems Pvt. Ltd.


OpenOffice plugin Query

2017-07-03 Thread Rushna Jabi
Hello Sir,
I want call my java plugin on save event in OpenOffice.

Please Help me out.





Regards,
Rushna Jabi
Software Engineer
8447294601