customizing for pdf output

Solved... I originally had the customization folder as a subfolder to the working directory. So I had dita source files and output within the same folder as the customization folder. I pulled out the customization folder and put it on c: directory and the logo appeared. Whew... I wasted 2 days with this issue. Message: 3 Date: Tue, 23 Oct 2012 12:01:56 -0500 From: "David Yin" <David.Yin@PACCAR.com> Subject: [oXygen-user] customizing for pdf output To: <oxygen-user@oxygenxml.com> Message-ID: <0881E3ECD7D6EE4B862B95B2A814147209DA72EE@PBCDEPMXM5.na.paccar.com> Content-Type: text/plain; charset="us-ascii" I have been trying to follow the Oxygen guide on inserting a company logo onto the title page for the pdf ouput. I have read the online instructions and have searched your forum. I have checked and double checked that I made the modifications as per instructions. I have modified many pieces of code and have matched what works for other people. Sadly, I have yet to be successful at inserting anything, image or text, onto the title page. I made one attempt a header/footer customization but that did not change the output either. Please help.

I have a selection plugin that can be activated either by <ctrl> + <shift> + N OR <right click> > Plugins > PluginName. I want to add the ability to dynamicaly create a menu with choices of things to do with the selection that will both work with the click and the shortcut key. I think I want to use addPopUpMenuCustomizer(AuthorPopupMenuCustomizer)<http://www.oxygenxml.com/InstData/Editor/Plugins/javadoc/ro/sync/exml/workspace/api/editor/page/author/WSAuthorEditorPageBase.html#addPopUpMenuCustomizer%28ro.sync.ecss.extensions.api.structure.AuthorPopupMenuCustomizer%29> in ro.sync.exml.workspace.api.editor.page.author.WSAuthorEditorPageBase<http://www.oxygenxml.com/InstData/Editor/Plugins/javadoc/ro/sync/exml/workspace/api/editor/page/author/WSAuthorEditorPageBase.html> OR addPopUpMenuCustomizer(TextPopupMenuCustomizer)<http://www.oxygenxml.com/InstData/Editor/Plugins/javadoc/ro/sync/exml/workspace/api/editor/page/text/WSTextEditorPage.html#addPopUpMenuCustomizer%28ro.sync.exml.workspace.api.editor.page.text.TextPopupMenuCustomizer%29> in ro.sync.exml.workspace.api.editor.page.text.WSTextEditorPage<http://www.oxygenxml.com/InstData/Editor/Plugins/javadoc/ro/sync/exml/workspace/api/editor/page/text/WSTextEditorPage.html> But I am not sure if either of these are the correct directions to go in. How would I accomplish such a task? ________________________________ This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments).

Hi Thomas, Form a selection plugin you could just present a dialog with the possible choices when the plugin is activated. If you want to customize the menu then you would probably have to implement an workspace access plugin. More information about this type of plugin can be found here: http://www.oxygenxml.com/doc/ug-editor/concepts/workspace-access-plugin.html On the applicationStarted() callback you will have to obtain access to an WSEditor (for example using StandalonePluginWorkspace.getEditorAccess()). You should also listen for notifications when a new editor is opened. Once you have a WSEditor instance you can use it to obtain the current page (through WSEditor.getCurrentPage()). This will either be an instance of WSAuthorEditorPageBase (if you are in author mode) or an instance of WSTextEditorPage (if you are in text mode). Now you can use one of the addPopUpMenuCustomizer() methods you've already identified. The editor page offers API to detect the current selection, for example : WSTextBasedEditorPage.getSelectionStart(). Please let us know if you require additional information. Best regards, Alex -- Alex Jitianu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 26-Oct-12 11:00 PM, Thomas, Alexander wrote:
I have a selection plugin that can be activated either by <ctrl> + <shift> + N OR <right click> > Plugins > PluginName.
I want to add the ability to dynamicaly create a menu with choices of things to do with the selection that will both work with the click and the shortcut key.
I think I want to use *addPopUpMenuCustomizer(AuthorPopupMenuCustomizer)* <http://www.oxygenxml.com/InstData/Editor/Plugins/javadoc/ro/sync/exml/workspace/api/editor/page/author/WSAuthorEditorPageBase.html#addPopUpMenuCustomizer%28ro.sync.ecss.extensions.api.structure.AuthorPopupMenuCustomizer%29> in ro.sync.exml.workspace.api.editor.page.author.WSAuthorEditorPageBase <http://www.oxygenxml.com/InstData/Editor/Plugins/javadoc/ro/sync/exml/workspace/api/editor/page/author/WSAuthorEditorPageBase.html> OR *addPopUpMenuCustomizer(TextPopupMenuCustomizer)* <http://www.oxygenxml.com/InstData/Editor/Plugins/javadoc/ro/sync/exml/workspace/api/editor/page/text/WSTextEditorPage.html#addPopUpMenuCustomizer%28ro.sync.exml.workspace.api.editor.page.text.TextPopupMenuCustomizer%29> in ro.sync.exml.workspace.api.editor.page.text.WSTextEditorPage <http://www.oxygenxml.com/InstData/Editor/Plugins/javadoc/ro/sync/exml/workspace/api/editor/page/text/WSTextEditorPage.html>
But I am not sure if either of these are the correct directions to go in.
How would I accomplish such a task?
------------------------------------------------------------------------
This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited.
If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments).
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (3)
-
David Yin
-
oXygen XML Editor Support
-
Thomas, Alexander