You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2017/09/27 11:38:11 UTC
[Issue 127542] New: OpenOffice Writer document OnSaveAs event
calling plugin popup
https://bz.apache.org/ooo/show_bug.cgi?id=127542
Issue ID: 127542
Issue Type: DEFECT
Summary: OpenOffice Writer document OnSaveAs event calling
plugin popup
Product: App Dev
Version: 4.1.3
Hardware: All
OS: Windows, all
Status: UNCONFIRMED
Severity: Normal
Priority: P5 (lowest)
Component: api
Assignee: issues@openoffice.apache.org
Reporter: rushnajabi786@gmail.com
Target Milestone: ---
Good Evening All,
I have created OpenOffice plugin for Text Writer using NetBeans8.0.2.
My target is that I want to call my form before save event.
i am using this code, please look into this code:
try {
Object xGlobalBroadCaster =
m_xContext.getServiceManager().createInstanceWithContext("com.sun.star.frame.GlobalEventBroadcaster",
m_xContext);
XEventBroadcaster xEventBroad =
(XEventBroadcaster)UnoRuntime.queryInterface(XEventBroadcaster.class,
xGlobalBroadCaster);
xEventBroad.addEventListener(new
com.sun.star.document.XEventListener() {
public void disposing(com.sun.star.lang.EventObject e) {
}
@Override
public void notifyEvent(com.sun.star.document.EventObject
oEvent) {
System.out.println("u call Event :)"+oEvent.EventName);
if (oEvent.EventName.equalsIgnoreCase("OnSave") ||
oEvent.EventName.equalsIgnoreCase("OnSaveAs")) {
form1();
}
}
});
} catch (Exception ex) {
ex.printStackTrace();
}
I am getting popup after saving the document.
Please help me out.
Regards,
Rushna jabi
Software Engineer
8447294601
--
You are receiving this mail because:
You are the assignee for the issue.
[Issue 127542] OpenOffice Writer document OnSaveAs event calling
plugin popup
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127542
Marcus <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--
You are receiving this mail because:
You are the assignee for the issue.
[Issue 127542] OpenOffice Writer document OnSaveAs event calling
plugin popup
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127542
oooforum (fr) <oo...@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--
You are receiving this mail because:
You are the assignee for the issue.
[Issue 127542] OpenOffice Writer document OnSaveAs event calling
plugin popup
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127542
Rushna Jabi <ru...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CLOSED |RESOLVED
--
You are receiving this mail because:
You are the assignee for the issue.
[Issue 127542] OpenOffice Writer document OnSaveAs event calling
plugin popup
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127542
oooforum (fr) <oo...@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |oooforum@free.fr
Status|UNCONFIRMED |RESOLVED
Resolution|--- |NOT_AN_OOO_ISSUE
--- Comment #1 from oooforum (fr) <oo...@free.fr> ---
Yyou are in wrong place here.
This is a bug tracking system and not a help desk for development.
Thanks to post directly to the support forum:
https://forum.openoffice.org
--
You are receiving this mail because:
You are the assignee for the issue.