Search found 835 matches

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: 298

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: 1
Views: 73

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: 6
Views: 187

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: 335

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: 3
Views: 182

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: 153

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: 313

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: 259

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: 120

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, '#text', editable, false, values, 'valu...
by alex_jitianu
Thu Jun 10, 2021 12:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Content Completion: Cache Invalidation
Replies: 4
Views: 313

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 associated with the s...
by alex_jitianu
Mon Jun 07, 2021 1:32 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Framework extension and dependencies
Replies: 1
Views: 235

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: 415

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: 415

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: 415

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: 260

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 means that when the @importance attribu...
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: 278

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: 260

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: 7
Views: 1427

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: 407

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: 402

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: 402

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: 407

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: 402

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: 19
Views: 2208

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: 217

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 Document Ty...
by alex_jitianu
Fri Apr 16, 2021 5:18 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XSLTOperation to edit MathML
Replies: 4
Views: 405

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
by alex_jitianu
Fri Apr 16, 2021 12:12 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XSLTOperation to edit MathML
Replies: 4
Views: 405

Re: XSLTOperation to edit MathML

Hello, 1. Yes, it is something we've overlooked. The XSLT editor should recognize this oxy:current-element() function. I will add an issue to fix this behavior. 2. The operation has a expandEditorVariables parameter which is set by default. It replaces variables from the returned result . So, for ex...
by alex_jitianu
Tue Mar 30, 2021 1:23 pm
Forum: Common Problems
Topic: Has anyone used Git submodules with the Git plugin?
Replies: 19
Views: 2208

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

Hi Jonathan, I, too, see a difference beween our Git client and the command line git client. I've setup a .gitmodule file in the main repository like this: [submodule "git_test"] path = git_test url = https://github.com/AlexJitianu/git_test.git branch = master update = merge A git submodule update l...
by alex_jitianu
Wed Mar 24, 2021 4:57 pm
Forum: Common Problems
Topic: Has anyone used Git submodules with the Git plugin?
Replies: 19
Views: 2208

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

Hi Jonathan, How exactly is this supposed to work? Could you provide an example? First of all, the option Update all submodules after pulling changes must be set. The scenario is as follows. Lets assume we have a main repository with a second submodule: 1. User1 open main in the Git Staginf view. It...
by alex_jitianu
Tue Mar 23, 2021 9:47 am
Forum: Common Problems
Topic: Motivating users to move to a new Oxygen release
Replies: 7
Views: 605

Re: Motivating users to move to a new Oxygen release

Hello, Now I understand. It is a series of unfortunate events that leads to that empty block. Both a display: block and the usage of oxy_label() have this effect. I will add an issue to investigate. Meanwhile, it works if you write the rule like this: :root:before(100) { display: inline; width: 10em...