Search found 1008 matches

by alex_jitianu
Wed Aug 18, 2021 1:28 pm
Forum: Other Issues
Topic: Fetching list of validation problems list
Replies: 13
Views: 2375

Re: Fetching list of validation problems list

Hello, First you need to create an Eclipse plugin that depends on the Oxygen plugin. There is a sample project named oxygen-sample-eclipse-plugin available in our sdk. In this plugin you can use the workspaceAccessPlugin extension point in this plugin <extension point="com.oxygenxml.editor.work...
by alex_jitianu
Tue Aug 17, 2021 1:58 pm
Forum: Feature Request
Topic: Author Mode Comments (created PI)
Replies: 2
Views: 993

Re: Author Mode Comments (created PI)

Hello, When comments overlap we use the @mid attribute to distinguish among them. For the encoder, in this case it is impossible to set end point before of after a certain end tag, since these are not displayed (what is a valid set up and should not interfere with our workflow) The encoder is a pers...
by alex_jitianu
Fri Aug 13, 2021 2:49 pm
Forum: Other Issues
Topic: Fetching list of validation problems list
Replies: 13
Views: 2375

Re: Fetching list of validation problems list

Hello, You need to add a ro.sync.exml.workspace.api.editor.validation.ValidationProblemsFilter first. The API of interest is ro.sync.exml.workspace.api.editor.WSEditor.addValidationProblemsFilter(ValidationProblemsFilter) . Please see the Create a customized XML validator post for more details: Best...
by alex_jitianu
Fri Aug 13, 2021 2:29 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Blank space around SVG's
Replies: 1
Views: 583

Re: Blank space around SVG's

Hello,

Can you send us a sample svg on support@oxygenxml.com ? What type of output do you generate and presents the same issue with SVG. Is it WebHelp Responsive, DITA Map PDF - based on HTML5 & CSS ?

Best regards,
Alex
by alex_jitianu
Tue Jul 27, 2021 10:43 am
Forum: Other Issues
Topic: Custom localizations for webhelp output in external framework
Replies: 3
Views: 1617

Re: Custom localizations for webhelp output in external framework

Hello, You could distribute an entire DITA-OT, one that has the com.oxygenxml.webhelp.localization plugin already integrated. An Oxygen plugin can a special extension point to install such a custom DITA-OT in Oxygen . You can ship this as an Oxygen add-on . Please note that after the user installs t...
by alex_jitianu
Mon Jul 26, 2021 10:57 am
Forum: SDK-API, Frameworks - Document Types
Topic: Need more info for oxy:allows-child-element
Replies: 7
Views: 1837

Re: Need more info for oxy:allows-child-element

Hello Isabelle, Yes, it's correct. This function is intended as a helper for author actions. Imagine that the caret is places inside the <parent> element and you want to insert a <child> element, but you don't want to make the document invalid. This means that you must access the schema information ...
by alex_jitianu
Mon Jul 26, 2021 10:10 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Changing the resolution of SVG previews in the Image Map Editor
Replies: 8
Views: 1856

Re: Changing the resolution of SVG previews in the Image Map Editor

Hi David, I've added an issue to proper scale SVG images both in the Author mode and the Image Map. The @viewBox , wich is used for scaling, is already handled by Batik, as far as I see it, just as a browser does it. The difference is in how we handle an image without a @width and @height attributes...
by alex_jitianu
Thu Jul 15, 2021 10:58 am
Forum: General XML Questions
Topic: CSS for image-before-bullet
Replies: 5
Views: 1801

Re: CSS for image-before-bullet

Hi,

You could try positive paddings instead:

Code: Select all

li {
    padding-left: 25px;
}

li[id] {
	content:url('images/book-brown.png');
	padding-left:0em;
}
The layout is not ideal when tags are displayed, but there is no overlapping.

Best regards,
Alex
by alex_jitianu
Thu Jul 01, 2021 9:52 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS control to open profiling dialog!
Replies: 4
Views: 1217

Re: CSS control to open profiling dialog!

Hi Shabeer, Yes, it can be done. You can do it with a JSOperation that invokes our Java-based API. Here's how I did it: 1. In the framework directory I've created a commons.js file and I've put this function in it: function editAttributes() { var allActions = authorAccess.getEditorAccess().getAction...
by alex_jitianu
Wed Jun 23, 2021 1:07 pm
Forum: SDK-API, Frameworks - Document Types
Topic: CSS: setting default value in oxy_popup
Replies: 2
Views: 882

Re: CSS: setting default value in oxy_popup

Hi,

The default value is detected from the associated schema. In your case the schema doesn't provide a default value so that's way the label associated with the empty value is presented.

I will add an issue to have a defaultValue property on form controls.

Best regards,
Alex
by alex_jitianu
Fri Jun 11, 2021 2:17 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Content Completion: Cache Invalidation
Replies: 4
Views: 1341

Re: Content Completion: Cache Invalidation

Hi, Yes, you are correct. The caching mechanism doesn't take into account the XML document context, just match criteria, which makes caching not suitable when you base your values on the XML context. I'm not sure how to build the cache key in this case. We can't use $contextElementXPathExpression be...
by alex_jitianu
Fri Jun 11, 2021 1:13 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Error with oXygen 23.1 and DITA-OT 2.4
Replies: 4
Views: 1274

Re: Error with oXygen 23.1 and DITA-OT 2.4

Hi Patrik, Regarding the exceptions, you probably use the fix.external.refs.com.oxygenxml parameter. The old version of DITA-OT (2.4) probably has an older version of Saxon that is missing that serialize() function. There are no repercussions though, the exception is simply logged, but the transform...
by alex_jitianu
Thu Jun 10, 2021 2:33 pm
Forum: Other Issues
Topic: value with ampersand in dropdown list (oxy_combobox)
Replies: 1
Views: 736

Re: value with ampersand in dropdown list (oxy_combobox)

Hi, I've tried a similar scenario with combo boxes for editing both an attribute value and an element value. * { display: block; content: "Attribute: " oxy_combobox( edit, '@attr', editable, false, values, 'value1&, value2&') "\A " "Text: " oxy_combobox( edit, '...
by alex_jitianu
Thu Jun 10, 2021 12:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Content Completion: Cache Invalidation
Replies: 4
Views: 1341

Re: Content Completion: Cache Invalidation

Hi, The computed values are kept in a cache where the key computed from all the conditions set on the match element, like elementName , elementNS etc: <match elementName="lg" elementNS="http://www.oxygenxml.com/ns/samples"> The cache is associated with the editor. Because it is a...
by alex_jitianu
Mon Jun 07, 2021 1:32 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Framework extension and dependencies
Replies: 1
Views: 978

Re: Framework extension and dependencies

Hello Christian, My question is: Is there a dependency management, so that if I choose to install, say, teip5proj2, then teip5scdh is automatically installed (and in the version, that is required by teip5proj2)? Unfortunately, we don't have such a dependency mechanism yet. We do have a feature reque...
by alex_jitianu
Thu May 20, 2021 5:08 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Undetected custom DITAExtensionsBundle
Replies: 5
Views: 1558

Re: Undetected custom DITAExtensionsBundle

Hi,

Could you send me the plugin on support@oxygenxml.com? After I reproduce the situation and understand what's happening I will remove it from my system.

Best regards,
Alex
by alex_jitianu
Thu May 20, 2021 9:40 am
Forum: SDK-API, Frameworks - Document Types
Topic: Undetected custom DITAExtensionsBundle
Replies: 5
Views: 1558

Re: Undetected custom DITAExtensionsBundle

Hello, The dita.jar is referred and shipped inside the DITA framework, it is not present inside Oxygen's global classpath. If your framework is an extension of the DITA framework or it ships the dita.jar file itself, then the plugin should not put the dita.jar file in it's classpath. Then, I extend ...
by alex_jitianu
Wed May 19, 2021 5:51 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Undetected custom DITAExtensionsBundle
Replies: 5
Views: 1558

Re: Undetected custom DITAExtensionsBundle

Hello,

DITAExtensionsBundle class is present inside dita.jar. If dita.jar is not present in the classpath then CustomDITAExtensionsBundle can't be loaded either because it extends DITAExtensionsBundle. Is there a reason not to add it inside the plugin classpath?

Best regards,
Alex
by alex_jitianu
Tue May 18, 2021 8:59 am
Forum: SDK-API, Frameworks - Document Types
Topic: CSS: Obtaining access to a contextual menu with no value selected
Replies: 4
Views: 1192

Re: CSS: Obtaining access to a contextual menu with no value selected

Hi, As I see it, the culprit is the CSS selector: *[class ~= "task/step"][importance="value1"]:before, *[class ~= "task/step"][importance="value2"]:before These selectors match the step element only if the @importance attribute has either value1 or value2 . It...
by alex_jitianu
Thu May 13, 2021 1:27 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Custom image icons in a workspace access plugin
Replies: 3
Views: 1274

Re: Custom image icons in a workspace access plugin

Hi Jakub, The src/main/resources directory is handled by default and its content end up in the jar artifact. Its content is copied inside target/classes during the build process. If I have a resource, src/main/resources/myfile.xml , after an mvn install : - myfile.xml will appear in the jar file on ...
by alex_jitianu
Tue May 11, 2021 4:22 pm
Forum: SDK-API, Frameworks - Document Types
Topic: CSS: Obtaining access to a contextual menu with no value selected
Replies: 4
Views: 1192

Re: CSS: Obtaining access to a contextual menu with no value selected

Hello,

This popup form control is editing the attribute @importance? If that's the case, change the selector to match any step element, even one without a @importance set:

Code: Select all

*[class ~= "task/step"]:before {
    content: oxy_popup(
    ...
    ); 
}
Best regards,
Alex
by alex_jitianu
Mon May 10, 2021 4:44 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Integrate oXygen content with Salesforce Knowledge
Replies: 11
Views: 4075

Re: Integrate oXygen content with Salesforce Knowledge

Hello,

Did any of you manage to progress with publishing DITA content to Salesforce? I'm trying to collect requirements to further understand how such an integration should work.

Best regards,
Alex
by alex_jitianu
Mon Apr 26, 2021 4:46 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Text selet/insert box?
Replies: 4
Views: 1571

Re: Text selet/insert box?

Hi, It can be done through our Java-based API as a plugin. Here are a few ideas: 1. You need a Workspace Access plugin. A good starting point is available on GitHub . 2. I think it would be easier to present these proposals in a custom side view 3. We have API to listen for editing events. The GitHu...
by alex_jitianu
Mon Apr 26, 2021 12:54 pm
Forum: Common Problems
Topic: updateSite.xml not triggering update
Replies: 6
Views: 1511

Re: updateSite.xml not triggering update

Hi Joey, It has something to do with the version: 0.1.20210425230253798 When we compare the installed version with remote version we try to parse each version part as an integer. That last timestamp results in a number too large that goes over the integer maximum. We can do things better on our part...
by alex_jitianu
Fri Apr 23, 2021 1:29 pm
Forum: Common Problems
Topic: updateSite.xml not triggering update
Replies: 6
Views: 1511

Re: updateSite.xml not triggering update

Hi Joey,

Is it a public github repository? I want to install the add-on myself and put some log into Oxygen afterwards.

Best regards,
Alex
by alex_jitianu
Thu Apr 22, 2021 2:48 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Text selet/insert box?
Replies: 4
Views: 1571

Re: Text selet/insert box?

Hello,

This is the content completion window and it's not accessible though the API. If you can tell me more about what you are after, the use case, then perhaps I can offer an alternative solution.

Best regards,
Alex
by alex_jitianu
Thu Apr 22, 2021 1:41 pm
Forum: Common Problems
Topic: updateSite.xml not triggering update
Replies: 6
Views: 1511

Re: updateSite.xml not triggering update

Hi Joey, It's probably related with the update site. We consider the update site as a sort of namespace. Once you install from an update site, we look for updates to that exact update site. It might be related with this behavior. If you go to Help->Manager installed add-ons... and you hover over the...
by alex_jitianu
Thu Apr 22, 2021 10:59 am
Forum: Common Problems
Topic: Has anyone used Git submodules with the Git plugin?
Replies: 21
Views: 6459

Re: Has anyone used Git submodules with the Git plugin?

Hello, We had a prior request for such a feature, but we didn't get the chance to implement it yet. I will add your vote for it and increase its priority. When we manage to do it and a release it, we will notify you on this thread. Right now, I'm afraid that there is not an alternative to opening ea...
by alex_jitianu
Mon Apr 19, 2021 10:57 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Framework Extension script not loading to import transformation scenarios
Replies: 2
Views: 750

Re: Framework Extension script not loading to import transformation scenarios

Hello, The referred file is not a scenario dump, but another framework file judging by its name. <transformationScenarios> <addScenarios href="dita_2.x_extension.framework"/> </transformationScenarios> To obtain a proper scenarios file, you have to go to Options -> Preferences... on page D...
by alex_jitianu
Fri Apr 16, 2021 5:18 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XSLTOperation to edit MathML
Replies: 4
Views: 1504

Re: XSLTOperation to edit MathML

Hello

You are correct. It appears that the expandEditorVariables doesn't treat the $ask variables. I will update the documentation to make that clear. Meanwhile, please try my second approach, the one with parameters.

Best regards,
Alex