get applied document filter
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 29
- Joined: Thu Jun 21, 2012 6:47 pm
- Location: Victoria BC, Canada
get applied document filter
Is there a way to retrieve a reference to an applied Document Filter?
For example I have applied a filter as such:
Let's say that in my implementation of DocumentFilter I have added some type of getter / setter methods that I would like to use (This is hypothetical at this point). Is there a method somewhere that I can retrieve my filter after it has been set, something like
For example I have applied a filter as such:
Code: Select all
AuthorAccess.getDocumentController().setDocumentFilter(new MyDocumentFilter());
Code: Select all
AuthorAccess.getDocumentController().getDocumentFilter();
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: get applied document filter
Hi,
We do not have the getter function for this I'm afraid, but we'll consider adding it.
As workarounds if those methods are utility methods you can make them static. Or you can keep a reference on your side of the code to the filter you have created and set.
Regards,
Radu
We do not have the getter function for this I'm afraid, but we'll consider adding it.
As workarounds if those methods are utility methods you can make them static. Or you can keep a reference on your side of the code to the filter you have created and set.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 29
- Joined: Thu Jun 21, 2012 6:47 pm
- Location: Victoria BC, Canada
Re: get applied document filter
Thanks again for the advice Radu. I have kept a reference on my side as you suggested, so I guess a getter method would be handy, but not entirely necessary.
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: get applied document filter
Hi,
Based on your feedback we added this getter method and it will be available in Oxygen 15.2 (probably beginning of 2014).
Regards,
Radu
Based on your feedback we added this getter method and it will be available in Oxygen 15.2 (probably beginning of 2014).
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
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