Search found 1008 matches
- by alex_jitianu
- Wed Aug 24, 2016 12:15 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Changing the color of label in oxy_checkbox
- Replies: 6
- Views: 1631
Re: Changing the color of label in oxy_checkbox
Hi Mounika, That's strange. The "color" property, when set on a check box form control, will apply on the check box label. I suspect that you accidentally put the property in the CSS rule (instead of inside the oxy_checkbox() function) and that's why it affected the label before the form c...
- by alex_jitianu
- Wed Aug 24, 2016 12:11 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Change in textbox size
- Replies: 1
- Views: 1137
Re: Change in textbox size
Hi Mounika, You can't impose a height for form controls but you can make them inherit the font size from the element they are bound to: text:before { font-size:20px; content: "Label" oxy_textfield(edit, '@scale', width, 10em, fontInherit, true); } In the previous example, the label precedi...
- by alex_jitianu
- Tue Aug 23, 2016 4:12 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Changing the color of label in oxy_checkbox
- Replies: 6
- Views: 1631
Re: Changing the color of label in oxy_checkbox
Hi Mounika, The check box form control accepts a 'color' property. You can use this together with a proper selector: *[class~="bookmap/booktitle"] *[class~="topic/image"]:before { content: "Scale: " oxy_textfield(edit, '@scale', width, 10em) "Scalefit: " oxy_c...
- by alex_jitianu
- Wed Aug 17, 2016 4:57 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Disabling one attribute on selecting other
- Replies: 3
- Views: 1237
Re: Disabling one attribute on selecting other
Hi Mounika, @scalefit is indeed hidden when selecting @scale but as soon as you remove the value from @scale it will be presented again. This applies to both of them: as soon as you input a value in one the other disappears. As soon as you remove the value both of them are presented. Unfortunately y...
- by alex_jitianu
- Wed Aug 17, 2016 2:11 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Disabling one attribute on selecting other
- Replies: 3
- Views: 1237
Re: Disabling one attribute on selecting other
Hi, This looks to be the same requirement you've described in: https://www.oxygenxml.com/forum/viewtopic.php?f=20&t=13416 I expected the CSS block I provided there to give you this exact behavior: *[class~="topic/image"]:before { content: "Scale: " oxy_textfield(edit, '@scale...
- by alex_jitianu
- Wed Aug 17, 2016 11:08 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: To have both text field,check box for an element
- Replies: 3
- Views: 1467
Re: To have both text field,check box for an element
Hi Mounika, Unfortunately not. Changing the tags display mode only affects the little markers we paint to mark the beginning and end of an element. What you could do is to create an alternate CSS and put the special rules there. When the users select this CSS from the Styles item on the toolbar, the...
- by alex_jitianu
- Fri Aug 12, 2016 10:38 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: XSLT from 15.2 SDK
- Replies: 2
- Views: 3012
Re: XSLT from 15.2 SDK
Hi,
What API are you referring to? In version 15.2 there is API for creating a licensed Saxon 9 transformer:
Of course, the Saxon 9 bundled with the Oxygen version running the plugin will be used.
Best regards,
Alex
What API are you referring to? In version 15.2 there is API for creating a licensed Saxon 9 transformer:
Code: Select all
pluginWorkspace.getXMLUtilAccess().createXSLTTransformer()
Best regards,
Alex
- by alex_jitianu
- Fri Aug 12, 2016 8:49 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Hiding attributes
- Replies: 1
- Views: 905
Re: Hiding attributes
Hi Mounika, A colspec is an element and it is hidden because of a CSS rule like this: *[class~='topic/colspec'] { display : none ; } You should put all your CSS rules inside a CSS and afterwards, go to Options->Preferences, on the Document Type Association page and edit or extend the DITA document t...
- by alex_jitianu
- Thu Aug 11, 2016 4:32 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Validation in CSS.
- Replies: 1
- Views: 803
Re: Validation in CSS.
Hi Mounika, The CSS controls only the layout and formatting of the author mode. The validation is performed against the schema associated with the document. The default schema behind DITA (in most cases a DTD) already restricts the possible values for @scale ( "50" is a valid value but &qu...
- by alex_jitianu
- Wed Aug 10, 2016 11:40 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: s9api and Saxon extensions
- Replies: 2
- Views: 3153
Re: s9api and Saxon extensions
Hello, From an Workspace Access plugin you can create a Saxon EE transformer: pluginWorkspaceAccess.getXMLUtilAccess().createXSLTTransformer( styleSource, extensionJars, XMLUtilAccess.TRANSFORMER_SAXON_ENTERPRISE_EDITION, false) You will get a JAXP transformer that you can use to transform the XSL d...
- by alex_jitianu
- Wed Aug 10, 2016 10:19 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: How to access resources from javascript
- Replies: 3
- Views: 3510
Re: How to access resources from javascript
Hi Steve,
I see you're find the solutions faster that I can answer Yes, this is the way you can obtain the framework directory:
Best regards,
Alex
I see you're find the solutions faster that I can answer Yes, this is the way you can obtain the framework directory:
Code: Select all
frameworkDir = authorAccess.getUtilAccess().expandEditorVariables("${frameworkDir}", null);
Alex
- by alex_jitianu
- Wed Aug 10, 2016 10:16 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: Oxygen SDK tutorial
- Replies: 3
- Views: 3439
Re: Oxygen SDK tutorial
Hi Alekso, There is a file mySample/README.html that gives a few hints about what you should do. The main idea is that you should run mvn install in the oxygen-sample-plugin-workspace-access project and afterwards you will have a complete package at : oxygen-sample-plugin-workspace-access/target/oxy...
- by alex_jitianu
- Tue Aug 09, 2016 4:51 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: To have both text field,check box for an element
- Replies: 3
- Views: 1467
Re: To have both text field,check box for an element
Hi Mounika, You should be able to control this behavior through CSS rules. I don't know how the rules you've tried look like but here are some CSS rules that I believe work as you desire: *[class~="topic/image"]:before { content: "Scale: " oxy_textfield(edit, '@scale', width, 10e...
- by alex_jitianu
- Tue Aug 09, 2016 4:24 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: commons.js location
- Replies: 2
- Views: 2955
Re: commons.js location
Hi,
It has to be in the root of the framework folder. That's the only place where we will look for it. I understand your predicament as for other settings we recommend to add the folder inside classpath so I will update the documentation to make this clear.
Best regards,
Alex
It has to be in the root of the framework folder. That's the only place where we will look for it. I understand your predicament as for other settings we recommend to add the folder inside classpath so I will update the documentation to make this clear.
Best regards,
Alex
- by alex_jitianu
- Thu Aug 04, 2016 11:40 am
- Forum: Other Issues
- Topic: Defaulting prolog in Author mode
- Replies: 3
- Views: 2372
Re: Defaulting prolog in Author mode
Hello, If you've opted for the second option then it means that you have the "fold" rule inside a new CSS. This new CSS should be applied on top of any active CSS as long as you left the "Title" empty and the "Alternate" button unchecked. By default, Oxygen activates th...
- by alex_jitianu
- Tue Aug 02, 2016 12:21 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Inserting figures
- Replies: 4
- Views: 1713
Re: Inserting figures
Hello, Oops, my bad! I forgot to mention where you should put the rule... A good place to put it would be {oxygenInstallDir}\frameworks\dita\resources\dita-1.2-for-xslt2-mandatory.sch To inspect the schema that are used when validating DITA you can go to Options->Preferences ..., on the Document Typ...
- by alex_jitianu
- Mon Aug 01, 2016 4:01 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Inserting figures
- Replies: 4
- Views: 1713
Re: Inserting figures
Hello, If I understand correctly the situation, sometimes the users accidentally position themselves at the end of a paragraph (instead of positioning after it) and insert the figure there. If the correct position is always "after" a paragraph, then I would suggest to create a Schematron r...
- by alex_jitianu
- Thu Jul 28, 2016 12:52 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Change in drop down value after selection
- Replies: 1
- Views: 773
Re: Change in drop down value after selection
Hi Mounika,
You can use the labels property:
Best regards,
Alex
You can use the labels property:
Code: Select all
pre:before {
content: oxy_combobox(
edit, '@outputclass',
editable, false,
values, 'pgwide-cond, pgwide-exp',
labels, 'pgwide condensed, pgwide expanded')
}
Alex
- by alex_jitianu
- Tue Jul 26, 2016 3:20 pm
- Forum: Other Issues
- Topic: Defaulting prolog in Author mode
- Replies: 3
- Views: 2372
Re: Defaulting prolog in Author mode
Hello, The prolog is already marked as being foldable so all you need to do is to set its initial state: *[class~="topic/prolog"] { -oxy-folded:true; } You should also make sure you are adding the rule inside the right CSS. You haven't mentioned which Oxygen version you are using and that'...
- by alex_jitianu
- Mon Jun 20, 2016 2:22 pm
- Forum: Common Problems
- Topic: New Actions Toolbar
- Replies: 4
- Views: 2051
Re: New Actions Toolbar
Hello, In oXygen XML WebApp the toolbar is a client-side component. Because of that you'll have to use our Javascript API to customize it (as my colleague Cristian advised you). This Javascript code can reside in a number of predefined locations: https://www.oxygenxml.com/doc/versions/18.0/ug-editor...
- by alex_jitianu
- Mon Jun 20, 2016 10:44 am
- Forum: Other Issues
- Topic: Is it possible to use Oxygen Diff Files Tool from Author Com
- Replies: 3
- Views: 2498
Re: Is it possible to use Oxygen Diff Files Tool from Author Com
Hi Joerg,
The Diff support is still not available in the Author Component. Can you tell me more about your situation? Are you also embedding the Author component into a third-party standalone Java application? How would you use the Diff support?
Best regards,
Alex
The Diff support is still not available in the Author Component. Can you tell me more about your situation? Are you also embedding the Author component into a third-party standalone Java application? How would you use the Diff support?
Best regards,
Alex
- by alex_jitianu
- Tue Jun 14, 2016 11:51 am
- Forum: Common Problems
- Topic: Error message "Value of {cdata-section-elements} must be a list of QNames in '{uri}local' notation" when using Saxon 9
- Replies: 2
- Views: 2332
Re: Error message "Value of {cdata-section-elements} must be a list of QNames in '{uri}local' notation" when using Saxon
Hello Martin, Thank you for reporting this issue. I believe I've found the cause and it resides somewhere in Saxon's code. What happens is that Saxon parses the @cdata-section-elements as clark names obtaining: {}MASTER_COMMENTS. Later on, it does a validation of these clark notations and throws tha...
- by alex_jitianu
- Thu May 12, 2016 10:07 am
- Forum: Common Problems
- Topic: Using Saxon 9.7 and XSLT 3.0 and output method="adpative"
- Replies: 2
- Views: 2052
Re: Using Saxon 9.7 and XSLT 3.0 and output method="adpative"
Hi Martin, Thank you for reporting this Saxon 9.7 related issue. I've investigated a bit and it looks like the "adaptive" method is explicitly handled inside the command line entry point: net.sf.saxon.Transform. We are using Saxon through its Java API for XML Processing (JAXP) implementati...
- by alex_jitianu
- Fri May 06, 2016 11:00 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Translate ox
- Replies: 3
- Views: 1725
Re: Translate ox
Hi,
In the newly released Oxygen 18 you will be able to use translated labels:
Best regards,
Alex
In the newly released Oxygen 18 you will be able to use translated labels:
Code: Select all
oxy_label(text, "${i18n(my.string)}", width, 150px, text-align, left)
Alex
- by alex_jitianu
- Fri May 06, 2016 9:48 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Trouble creating nested ordered lists in Author mode
- Replies: 5
- Views: 2698
Re: Trouble creating nested ordered lists in Author mode
Hi, For those of you that find it interesting, the newly released Oxygen 18 has Promote/Demote support for List items. To use them, you have to position yourself at the beginning of the item and use the following keyboard shortcuts: - Promote (Shift + Tab) - Demote (Tab) If you prefer having author ...
- by alex_jitianu
- Thu May 05, 2016 12:02 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Xspec unit testing
- Replies: 2
- Views: 2195
Re: Xspec unit testing
Hi Daniel,
Thank you for posting the solution so others might benefit from it. A small tutorial on writing scenarios can be found in the XSpec Wiki. Also, a good place to get in touch with people that have experience with XSpec is on the XSpec discussion list.
Best regards,
Alex
Thank you for posting the solution so others might benefit from it. A small tutorial on writing scenarios can be found in the XSpec Wiki. Also, a good place to get in touch with people that have experience with XSpec is on the XSpec discussion list.
Best regards,
Alex
- by alex_jitianu
- Wed Apr 27, 2016 4:54 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Add @scale attribute by default in Author mode
- Replies: 3
- Views: 2078
Re: Add @scale attribute by default in Author mode
Hi Frank, Here is what I suggest: 1. create a new author action add.scale.on.table with this configuration: Xpath expression: ancestor-or-self::table operation: ro.sync.ecss.extensions.commons.operations.ChangeAttributeOperation arguments: elementLocation: ancestor-or-self::table name: scale value: ...
- by alex_jitianu
- Wed Apr 27, 2016 11:41 am
- Forum: Other Issues
- Topic: Create new element when user types where text is not allowed
- Replies: 2
- Views: 1667
Re: Create new element when user types where text is not allowed
Hello, We have a Java based extension point that you can use to handle this situation. You have to implement an Author Mode Schema Aware Editing Handler . This handler has a handleTyping() callback in which you can identify this case and take the approach you've described. [/url]Best regards, Alex
- by alex_jitianu
- Thu Apr 21, 2016 10:29 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: Error accessing external XML file via oxy_xpath
- Replies: 2
- Views: 2068
Re: Error accessing external XML file via oxy_xpath
Hello, At some point we've implemented a set of security measures. One of those measures restricts the CSS from connecting to a remote server when we can't guarantee its safety. First of all please make sure you are running the latest 17.1 build (2016031612) because we've fixed some issues specifica...
- by alex_jitianu
- Fri Apr 15, 2016 1:51 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Change appearence for read-only content by css
- Replies: 2
- Views: 2564
Re: Change appearence for read-only content by css
Hi Patrik, Even though the button appears inside these read-only areas, it is disabled, right? How are these areas marked as read-only? Through CSS rules or just by the fact that they are the expanded content of a reference? In the first case you could set content: "" in the same CSS rule ...
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