Search found 817 matches

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

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

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

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

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

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

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

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

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

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

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

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

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...
by alex_jitianu
Fri Mar 19, 2021 10:59 am
Forum: SDK-API, Frameworks - Document Types
Topic: how to implement selection plugin in author mode
Replies: 6
Views: 506

Re: how to implement selection plugin in author mode

Hello Michael, I'm sorry for the delay! You can use ro.sync.exml.workspace.api.standalone.actions.ActionsProvider to register an action. You reach it though ro.sync.exml.workspace.api.standalone.StandalonePluginWorkspace.getActionsProvider() . The shortcut will appear inside the Menu Shortcut Keys p...
by alex_jitianu
Wed Mar 17, 2021 1:49 pm
Forum: SDK-API, Frameworks - Document Types
Topic: how to implement selection plugin in author mode
Replies: 6
Views: 506

Re: how to implement selection plugin in author mode

Hello, The Selection Plugin Extension works only in the Text page. You can use an Workspace Access Extension instead, which works in both Text and Author page. A startup sample plugin can be found on our Github account . What this plugin needs to do: 1. Contribute an action in the contextual menu 2....
by alex_jitianu
Mon Mar 15, 2021 4:09 pm
Forum: Common Problems
Topic: Motivating users to move to a new Oxygen release
Replies: 7
Views: 394

Re: Motivating users to move to a new Oxygen release

Hi, You can use a unique pseudo-element, intended for this label only: :root:before(100) { ..... } If the content is empty, because of the XPath result, the pseudo-element will not be rendered. In your case I suspect that there is another rule that also matches on :root:before and comes with a diffe...
by alex_jitianu
Fri Mar 12, 2021 2:07 pm
Forum: Common Problems
Topic: Motivating users to move to a new Oxygen release
Replies: 7
Views: 394

Re: Motivating users to move to a new Oxygen release

Hi Cris, It can be done with the help of oxy_xpath : :root:before { display: block; color: red; content: oxy_xpath("if (contains(base-uri(), '/_warehouse/')) then ('REUSABLE TOPIC') else ('')", evaluate, static); } I've marked the XPath as static because otherwise Oxygen would recompute and relayout...
by alex_jitianu
Thu Mar 04, 2021 5:04 pm
Forum: Common Problems
Topic: Motivating users to move to a new Oxygen release
Replies: 7
Views: 394

Re: Motivating users to move to a new Oxygen release

Hi Chris, Unfortunately, such an editor variable doesn't exist. Moreover, we don't expand editor variables in selectors. An Oxygen plugin could use our Java API to detect the Oxygen version and present a notification to the user. The approved version could be in a configuration file or it could sit ...
by alex_jitianu
Tue Mar 02, 2021 9:50 am
Forum: SDK-API, Frameworks - Document Types
Topic: Extending frameworks that are extensions
Replies: 2
Views: 956

Re: Extending frameworks that are extensions

Hello,

Starting with Oxygen 23 you can extend a framework using a special customization script. This script allows you to extend extensions.

Best regards,
Alex
by alex_jitianu
Thu Feb 25, 2021 1:14 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Providing DITA plugins in an Oxygen project directory?
Replies: 11
Views: 1820

Re: Providing DITA plugins in an Oxygen project directory?

Hi Chris,

Thank you for sharing it with the community!

Best regards,
Alex
by alex_jitianu
Wed Feb 24, 2021 4:28 pm
Forum: Feature Request
Topic: Site-Wide Deployment of Addons
Replies: 7
Views: 607

Re: Site-Wide Deployment of Addons

Hi Chris, The Addons preferences page can already be saved at project level. I've added an issue to specify here a set of addons to install automatically . Saving all of these at project level will meet your installation requirements. The other issue I've mentioned, the possibility to save plugin op...
by alex_jitianu
Tue Feb 23, 2021 4:44 pm
Forum: Feature Request
Topic: Site-Wide Deployment of Addons
Replies: 7
Views: 607

Re: Site-Wide Deployment of Addons

Hi Chris, Usually, plugins use our API to store options inside Oxygen global options. Can you tell me for which plugins you have changed options? Maybe the "Notify me about new commits in remote repository". Perhaps we can think of a way to provide default values for a specific plugin. Best regards,...
by alex_jitianu
Fri Feb 19, 2021 3:00 pm
Forum: Feature Request
Topic: Site-Wide Deployment of Addons
Replies: 7
Views: 607

Re: Site-Wide Deployment of Addons

Hi Chris, Oxygen stores its user preferences in these locations: - Windows - Remove the directory: %APPDATA%\Roaming\com.oxygenxml (usually %APPDATA% has the value: [user-home-dir]\Application Data). Note that this directory is hidden. - OS X - Remove the directory: Library/Preferences/com.oxygenxml...
by alex_jitianu
Thu Feb 11, 2021 2:52 pm
Forum: Common Problems
Topic: Error running PDF transformation in recent Oxygen
Replies: 6
Views: 395

Re: Error running PDF transformation in recent Oxygen

Hello, Thank you all for all the detective work. First of all, the exception is harmless. If you take a look at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(MBeanServer) , you'll notice how it catches the exception, logs it, and moves forward without JMX support. The log...
by alex_jitianu
Mon Feb 08, 2021 1:23 pm
Forum: Feature Request
Topic: Site-Wide Deployment of Addons
Replies: 7
Views: 607

Re: Site-Wide Deployment of Addons

Hello, Unfortunately, currently the addons can't be installed other than by user interaction. I will add a feature request for such a behavior. An addon is basically a package that contains either a framework or a plugin. Option 1 An administrator could run a script that copies the addons in their c...
by alex_jitianu
Fri Jan 15, 2021 6:33 pm
Forum: Common Problems
Topic: Legacy Add-ons Update Site?
Replies: 1
Views: 300

Re: Legacy Add-ons Update Site?

Hello, We only keep the latest two versions in the update site, but you can still get hold of previous versions. The Addons Packager builds are all present in out Maven repository. To get it you need to: 1. Download the required build, for example 21.1 build . 2. Unzip it inside {oxygenInstallDir}/p...
by alex_jitianu
Thu Jan 14, 2021 3:48 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Can users specify the location of the preferences file used by Oxygen XML Author?
Replies: 1
Views: 209

Re: Can users specify the location of the preferences file used by Oxygen XML Author?

Hello, Yes, you can setup one of the Oxygen installations to use a different preferences directory through the com.oxygenxml.customOptionsDir system property: -Dcom.oxygenxml.customOptionsDir=absolute_file_path If you have space in the file path, use quotes: -Dcom.oxygenxml.customOptionsDir="absolut...
by alex_jitianu
Thu Jan 14, 2021 11:29 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Help with Authoring Action in Oxy 23.0
Replies: 5
Views: 309

Re: Help with Authoring Action in Oxy 23.0

Hi Christina,

There's no trouble at all! I'm the one that implemented the plugin a long time ago so I'm quite glad to see that it is still helpful! :)

Best regards,
Alex
by alex_jitianu
Thu Jan 14, 2021 10:58 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Help with Authoring Action in Oxy 23.0
Replies: 5
Views: 309

Re: Help with Authoring Action in Oxy 23.0

Hi Christina, An author action doesn't normally run when an editor is saved, so it must be some kind of a hook installed in your previous Oxygen version. It might be this plugin: ExecuteAuthorActionsOnSaveHook . To check if this the one, in oxygen 22.1 go to Options->Preferences... on page Plugins a...
by alex_jitianu
Wed Jan 13, 2021 5:04 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Help with Authoring Action in Oxy 23.0
Replies: 5
Views: 309

Re: Help with Authoring Action in Oxy 23.0

Hello, I've tested the action myself in version 23 and it worked as expected, at least how I expected it to work. here is what I did: - I open a DITA topic that has a revised element with an older date: <prolog> <critdates> <revised modified="2021-01-01"/> </critdates> </prolog> - I click the action...
by alex_jitianu
Mon Jan 11, 2021 10:43 am
Forum: SDK-API, Frameworks - Document Types
Topic: Showing javadocs to Oxygen SDK-API in an IDE
Replies: 3
Views: 367

Re: Showing javadocs to Oxygen SDK-API in an IDE

Hello,

We bundle both the SDK source code and the Javadoc as Maven artifacts published in the Maven repository. Please make sure that Eclipse is configured to download them by looking into Preferences:
image.png
image.png (33.84 KiB) Viewed 349 times
and I see that IntelliJ has similar options too.

Best regards,
Alex