Search found 1010 matches

by alex_jitianu
Fri Oct 11, 2013 10:26 am
Forum: Other Issues
Topic: Displaying read-only attributes in Author
Replies: 4
Views: 2320

Re: Displaying read-only attributes in Author

Hi, You can still use form controls, you just have to mark the element as READ_ONLY (using the -oxy-editable property). As a result the form controls will also be READ-ONLY: element:before { content: oxy_local-name() " " oxy_textfield(edit, '@attr1', columns, 10) " " oxy_textfiel...
by alex_jitianu
Thu Oct 10, 2013 4:44 pm
Forum: Other Issues
Topic: visibility:-oxy-collapse-text; Element Insert Side-effect?
Replies: 5
Views: 3525

Re: visibility:-oxy-collapse-text; Element Insert Side-effec

Hi,

I'm glad to hear that's all it was. I'll take a look again at our documentation and perhaps we will also add an example to help avoid confusion in the future.

Best regards,
Alex
by alex_jitianu
Thu Oct 10, 2013 10:24 am
Forum: Other Issues
Topic: visibility:-oxy-collapse-text; Element Insert Side-effect?
Replies: 5
Views: 3525

Re: visibility:-oxy-collapse-text; Element Insert Side-effec

Hello, If you mark an element as -oxy-collapse-text you will not be able to position the caret inside it. Referring to your example, if you mark just a,b,c as -oxy-collapse-text then you will still be able to position between them and insert elements. If you are not able to do that it means that you...
by alex_jitianu
Wed Oct 09, 2013 8:54 am
Forum: Other Issues
Topic: using Workspace java interface
Replies: 4
Views: 1891

Re: using Workspace java interface

Hi,

I see that you already got a hint for opening files from an external Java application on http://www.oxygenxml.com/forum/topic10128.html. I'm making a reference to that post so that anyone that comes to this thread sees the solution.

Alex
by alex_jitianu
Mon Oct 07, 2013 2:53 pm
Forum: Other Issues
Topic: using Workspace java interface
Replies: 4
Views: 1891

Re: using Workspace java interface

Hello, To use this API you must implement an Workspace Access extension plugin. Such a sample implementation is available at http://oxygenxml.com/oxygen_sdk.html#Developer_Plugins . Such a plugin extension has an applicationStarted() callback that receives an instance of StandalonePluginWorkspace th...
by alex_jitianu
Mon Oct 07, 2013 2:35 pm
Forum: Common Problems
Topic: Split_element function
Replies: 3
Views: 1679

Re: Split_element function

Hello, At first glance the problem seems to be related with the if statement. In the XML snapshot that you sent, the caret is in a b element from an i element. The if statement allows only the case when the b element is inside a p . If the node at caret is b, i, sup you should look into the ancestor...
by alex_jitianu
Fri Sep 27, 2013 11:48 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS to show/hide selected attributes of an element
Replies: 1
Views: 1810

Re: CSS to show/hide selected attributes of an element

Hi, Do you want the datatype attribute to be hidden from the Attributes View? You'll have to use the Oxygen's Java API and implement an ro.sync.ecss.extensions.api.attributes.AuthorAttributesDisplayFilter. . This filter is added over a WSAuthorEditorPageBase . An attribute filtered this way will not...
by alex_jitianu
Thu Sep 19, 2013 5:14 pm
Forum: Common Problems
Topic: sorting in Pop-up Form Control
Replies: 3
Views: 1703

Re: sorting in Pop-up Form Control

Hello, An easy solution would have been to use the saxon:sort() extension function in the XPath expression. Unfortunately Saxon extensions functions are not currently supported in the oxy_xpath function. That's another improvement for which I'll add an issue on our internal issue tracking tool. Best...
by alex_jitianu
Thu Sep 19, 2013 2:52 pm
Forum: Common Problems
Topic: sorting in Pop-up Form Control
Replies: 3
Views: 1703

Re: sorting in Pop-up Form Control

Hi, There are two sides to the Pop-Up form control: the label that presents the current value(s) and the actual Pop-Up editor that appears when the user clicks on the previous mentioned label. That being said, the rendererSort only applies on the renderer part (the label) and when the editor is used...
by alex_jitianu
Wed Sep 11, 2013 10:55 am
Forum: Feature Request
Topic: Can I force a really dumb Author mode?
Replies: 2
Views: 2193

Re: Can I force a really dumb Author mode?

Hello, The author page is highly customizable. For each type of document there is a configuration also known as framework or document type. You can edit this configuration by going into Options->Preferences... , page Document Type Associations . Select and edit the configuration for your documents, ...
by alex_jitianu
Mon Sep 09, 2013 2:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: How can I use Checkbox Form Control as Radio button ?
Replies: 4
Views: 3589

Re: How can I use Checkbox Form Control as Radio button ?

Hi, The check box form control doesn't have such a built in behavior but you can get something similar by using 3 check box form controls instead of just one: content: oxy_checkbox(edit, "#text", values, "1", uncheckedValues, "1", labels, "First") oxy_checkbox...
by alex_jitianu
Wed Sep 04, 2013 2:04 pm
Forum: SDK-API, Frameworks - Document Types
Topic: fontInherit in oxy_textfield doesn't work?!
Replies: 4
Views: 3277

Re: fontInherit in oxy_textfield doesn't work?!

Hi Stefan,

Thank you for reporting this behavior which is indeed not an intended one... I've added an issue to fix it for the next version of Oxygen.

Best regards,
Alex
by alex_jitianu
Tue Sep 03, 2013 2:30 pm
Forum: SDK-API, Frameworks - Document Types
Topic: fontInherit in oxy_textfield doesn't work?!
Replies: 4
Views: 3277

Re: fontInherit in oxy_textfield doesn't work?!

Hello, The CSS looks correct. From what I've tested I've managed to reproduce this behavior I dynamically load the DejaVuSans font using @font-face rule? I've added an issue for the dynamically loaded fonts to be used by form controls too. Please let me know if this is indeed your situation too or w...
by alex_jitianu
Mon Sep 02, 2013 10:01 am
Forum: Common Problems
Topic: Show action buttons only when valid
Replies: 3
Views: 1972

Re: Show action buttons only when valid

Hello Yann, As you already discovered each action has some XPath conditions that control whether it's active or not in a given context. Right now the only solution for your use case is writing XPath expressions to identify each context where the action is active. In the next version of Oxygen (15.1)...
by alex_jitianu
Wed Aug 21, 2013 9:22 am
Forum: XSLT and FOP
Topic: Getting started with XSpec
Replies: 4
Views: 2574

Re: Getting started with XSpec

Hi,

Good to hear you found the culprit. I've already added an issue to review the documentation so hopefully this confusion will not rise again.

Thank you,
Alex
by alex_jitianu
Tue Aug 20, 2013 5:08 pm
Forum: XSLT and FOP
Topic: Getting started with XSpec
Replies: 4
Views: 2574

Re: Getting started with XSpec

Hi Emma, So the first step is to create the *.xspec file, which you did. Next, it must be open in an editor. Before running the transformation you should save it (if you've created using the New... then you have an untitled editor). Clicking on the Apply Transformation Scenario(s) (while being in th...
by alex_jitianu
Tue Aug 20, 2013 11:33 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Single source graphics location
Replies: 1
Views: 1939

Re: Single source graphics location

Hi, There are a couple of ways in which you can do that. You can create a reusable component from the image element. In author mode, from the contextual menu, choose Reuse->Create reusable component . Select the image element as the "Content reuse" and choose the location where it should b...
by alex_jitianu
Tue Aug 20, 2013 10:48 am
Forum: Other Issues
Topic: oxy_popup values from XSD?
Replies: 5
Views: 2345

Re: oxy_popup values from XSD?

Hi, From the built-in form controls the ones that accept open values there are the combo box form control an the text field form control. element:before { content:oxy_combobox(edit, '@attr', editable, true) oxy_textfield(edit, '@attr2') } The combo box seems to be a closer match for your use case. I...
by alex_jitianu
Mon Aug 19, 2013 11:21 am
Forum: Other Issues
Topic: oxy_popup values from XSD?
Replies: 5
Views: 2345

Re: oxy_popup values from XSD?

Hi, Actually, if not explicitly specified in the CSS the values are taken from the schema. I've noticed that the documentation fails to mention this so I'll add an issue to update it. I'm not sure how the labels should be taken from the schema though, so it would help if you could elaborate a bit on...
by alex_jitianu
Mon Aug 19, 2013 9:59 am
Forum: Common Problems
Topic: editor.createContentReader() not giving the text with the un
Replies: 6
Views: 2805

Re: editor.createContentReader() not giving the text with th

Hi, Using the attribute editing scenario I've also managed to reproduce the issue. What's happening when you're editing an attribute and hit Save is that the editor gets saved without the currently modified attribute. That's why you don't see the updated attribute value on the validation listener an...
by alex_jitianu
Fri Aug 16, 2013 11:00 am
Forum: Common Problems
Topic: editor.createContentReader() not giving the text with the un
Replies: 6
Views: 2805

Re: editor.createContentReader() not giving the text with th

Hi, I tried to reproduce the issue by following the scenario but in my case I always get correct content. I also didn't see anything wrong with the code. How are you making the change ? Are you just typing some text or is it some custom action that might perform the change on a thread other than AWT...
by alex_jitianu
Fri Aug 16, 2013 10:09 am
Forum: DocBook
Topic: Problem with alt tags in author view
Replies: 13
Views: 12784

Re: Problem with alt tags in author view

Hello, The culprit is this rule from {oxygenInstallDir}/frameworks/docbook/css/docbook.css which marks the element as being a block: alt { display:block; font-size:small; background-color:#FFFFEE; color:inherit; text-align:center; } What you have to do is edit this rule and replace the display prope...
by alex_jitianu
Fri Aug 16, 2013 9:22 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: > is styled differently, and text-align in oxy_label styl
Replies: 1
Views: 1863

Re: > is styled differently, and text-align in oxy_label

Hello John, 1. The entities have some default styling (one of which being the background color) but you can override them from CSS by using some additional custom selectors. For the entity it would be something like: @namespace oxy "http://www.oxygenxml.com/extensions/author"; oxy|entity {...
by alex_jitianu
Wed Aug 14, 2013 9:04 am
Forum: Common Problems
Topic: How to view xhtml body content in Bangla
Replies: 10
Views: 5094

Re: How to view xhtml body content in Bangla

Hi, I've tried a scenario like the one you described but I wasn't able to reproduce the problem. A little more details would help. Are you copying these paragraphs from the browser or the html file is opened in Oxygen? Do you use the text mode or the author mode? Could you please send us some sample...
by alex_jitianu
Mon Aug 12, 2013 1:09 pm
Forum: Other Issues
Topic: access preferences through API
Replies: 9
Views: 4625

Re: access preferences through API

Hello, One possibility is to specify a default options file: http://oxygenxml.com/doc/ug-editor/#topics/default-options.html . The second one is from an Workspace Access plugin where you have access to API to change global options(starting with version 15.0): ro.sync.exml.workspace.api.PluginWorkspa...
by alex_jitianu
Mon Aug 12, 2013 12:46 pm
Forum: Other Issues
Topic: Document creation API?
Replies: 3
Views: 1937

Re: Document creation API?

Hi Yannick, There is no API to invoke the New dialog wizard so you'll have to do as you said. You can have a template that also contains the schema association (you could also have a catalog to resolve the schema) and either create a new editor over that content or save the content on disk and open ...
by alex_jitianu
Fri Aug 09, 2013 12:55 pm
Forum: Other Issues
Topic: Document creation API?
Replies: 3
Views: 1937

Re: Document creation API?

Hello, You need an Workspace Access plugin: http://oxygenxml.com/doc/ug-editor/#concepts/workspace-access-plugin.html Amongst other things, such a plugin can contribute actions to the toolbar. The API that can do that: ro.sync.exml.workspace.api.standalone.StandalonePluginWorkspace.addToolbarCompone...
by alex_jitianu
Tue Aug 06, 2013 3:13 pm
Forum: Other Issues
Topic: Programmatically Saving to a Project
Replies: 3
Views: 1658

Re: Programmatically Saving to a Project

Hello,

If the parent directory where the result of the transformation was saved is already present in the Project structure then you could call ro.sync.exml.workspace.api.Workspace.refreshInProject(URL) for the newly created file and the Project will present and select it.

Best regards,
Alex
by alex_jitianu
Tue Aug 06, 2013 9:20 am
Forum: Other Issues
Topic: Xquery Transformation with API and external variables
Replies: 1
Views: 1108

Re: Xquery Transformation with API and external variables

Hello, You can create a transformer using Oxygen API through class ro.sync.exml.workspace.api.util.XMLUtilAccess . Getting access to an instance of the class depends if you are using plugin API or framework API. If you are using an workspace access plugin then you can get an instance using ro.sync.e...
by alex_jitianu
Mon Aug 05, 2013 4:26 pm
Forum: SDK-API, Frameworks - Document Types
Topic: CSS property link is broken in Oxygen 15?
Replies: 5
Views: 3441

Re: CSS property link is broken in Oxygen 15?

Hello, Thank you for sending the samples. I managed to reproduce the issue. It would appear to be an issue related with the fact that the link is added on the AFTER element. If you put it on the BEFORE then it functions correctly. I've added a bug on our internal issue tracker and we will update thi...