User defined css functions
Are you missing a feature? Request its implementation here.
-
- Posts: 280
- Joined: Thu Nov 28, 2013 9:32 am
- Location: Hamburg/Germany
- Contact:
User defined css functions
Hi,
oXygen already provides several custom css functions, but there are special cases where I'd like to call my own java methods. I know I can implement my own StylesFilter but this has two disadvantages:
1. I have to implement the java code for selecting the right node as well (which is easier in css).
2. The css becomes even more complicated with some hidden logic. Placing the function call in the css would be more easy to understand - especially with the css inspector.
So maybe you could provide an extension point to register my own custom css functions!?
Thanks and regards,
Patrik
oXygen already provides several custom css functions, but there are special cases where I'd like to call my own java methods. I know I can implement my own StylesFilter but this has two disadvantages:
1. I have to implement the java code for selecting the right node as well (which is easier in css).
2. The css becomes even more complicated with some hidden logic. Placing the function call in the css would be more easy to understand - especially with the css inspector.
So maybe you could provide an extension point to register my own custom css functions!?
Thanks and regards,
Patrik
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: User defined css functions
Post by alex_jitianu »
Hi Patrik,
I agree, it's a lot easier to identify a node through a CSS selector and having all the rules in one place helps with the maintenance. As a side note, the CSS inspector will present in the Computed tab the rules that come from the StylesFilter too (you have no hint that they come from a StylesFilter though).
I will add a feature request to have an extension point for custom CSS functions.
Best regards,
Alex
I agree, it's a lot easier to identify a node through a CSS selector and having all the rules in one place helps with the maintenance. As a side note, the CSS inspector will present in the Computed tab the rules that come from the StylesFilter too (you have no hint that they come from a StylesFilter though).
I will add a feature request to have an extension point for custom CSS functions.
Best regards,
Alex
-
- Posts: 280
- Joined: Thu Nov 28, 2013 9:32 am
- Location: Hamburg/Germany
- Contact:
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