Docbook - replace 'insert graphic' action
Oxygen general issues.
-
- Posts: 176
- Joined: Wed Apr 29, 2009 4:55 pm
Docbook - replace 'insert graphic' action
Hello,
I am trying to replace default behaviour of insert graphic action and insert (inline)mediaobject/imageobject/imagedata fragment instead. Can it be achieved using some default library or am I to develop any custom plugin?
Thanks for the info.
Jan
I am trying to replace default behaviour of insert graphic action and insert (inline)mediaobject/imageobject/imagedata fragment instead. Can it be achieved using some default library or am I to develop any custom plugin?
Thanks for the info.
Jan
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Docbook - replace 'insert graphic' action
Post by sorin_ristache »
Hello,
If you want to replace the default DocBook action you can modify the Java source code of the class ro.sync.ecss.extensions.docbook.InsertGraphicOperation that is included in the Author SDK and add your version of the Insert Graphic action to the classpath of the DocBook framework before the default jar file ${frameworks}/docbook/docbook.jar.
Regards,
Sorin
If you want to replace the default DocBook action you can modify the Java source code of the class ro.sync.ecss.extensions.docbook.InsertGraphicOperation that is included in the Author SDK and add your version of the Insert Graphic action to the classpath of the DocBook framework before the default jar file ${frameworks}/docbook/docbook.jar.
Regards,
Sorin
-
- Posts: 176
- Joined: Wed Apr 29, 2009 4:55 pm
Re: Docbook - replace 'insert graphic' action
Hello,
I've downloaded SDK, modified Java code, with some 'ro' stuff I've compiled it into jar, updated docbook framework. After clicking on icon I can select image file, but on confirm I am getting the following error message:
Couldn't execute operation: 'my.actions.InsertMediaObjectOperation' for action: 'Insert Graphic' because of: class java.lang.NoSuchMethodError - ro.sync.ecss.extensions.api.AuthorAccess.getEditorAccess()Lro/sync/ecss/extensions/api/access/AuthorEditorAccess;
Both classes ro.sync.ecss.extensions.api.AuthorAccess and ro/sync/ecss/extensions/api/access/AuthorEditorAccess; are included in my JAR file so I don't know what is wrong. I am quite surprised by L letter between them in error message as it could mean the whole string is recognised as single class. I don't know. Could somebody help?
Jan
I've downloaded SDK, modified Java code, with some 'ro' stuff I've compiled it into jar, updated docbook framework. After clicking on icon I can select image file, but on confirm I am getting the following error message:
Couldn't execute operation: 'my.actions.InsertMediaObjectOperation' for action: 'Insert Graphic' because of: class java.lang.NoSuchMethodError - ro.sync.ecss.extensions.api.AuthorAccess.getEditorAccess()Lro/sync/ecss/extensions/api/access/AuthorEditorAccess;
Both classes ro.sync.ecss.extensions.api.AuthorAccess and ro/sync/ecss/extensions/api/access/AuthorEditorAccess; are included in my JAR file so I don't know what is wrong. I am quite surprised by L letter between them in error message as it could mean the whole string is recognised as single class. I don't know. Could somebody help?
Jan
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service