Search found 37 matches

by vishwavaranasi
Tue May 04, 2021 11:17 am
Forum: SDK-API, Frameworks - Document Types
Topic: How to make this MyWorkspaceAccessPluginExtension as singleton
Replies: 1
Views: 100

How to make this MyWorkspaceAccessPluginExtension as singleton

Hello Team , We already have a Workspace plugin, MyWorkspaceAccessPluginExtension implements WorkspaceAccessPluginExtension and we have added // add a View to the StandalonePluginWorkspace pluginWorkspaceAccess.addViewComponentCustomizer(new ViewComponentCustomizer() { /*created JPanel and added JBu...
by vishwavaranasi
Tue Mar 30, 2021 3:02 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen editor variables is not picked up to generate a id for the topic
Replies: 3
Views: 289

Re: Oxygen editor variables is not picked up to generate a id for the topic

Thanks Sorin Carbunaru.

is there any way to uncheck the checkbox Options menu > Preferences > DITA page > Topics sub-page and deactivate the Use the file name as the value of the root ID attribute option.

using Oxygen Plugin API?

Thanks,
vishwa
by vishwavaranasi
Tue Mar 30, 2021 10:55 am
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen editor variables is not picked up to generate a id for the topic
Replies: 3
Views: 289

Oxygen editor variables is not picked up to generate a id for the topic

Hello Team , We have this custom topic template xml to create a new topic uses custom variable customtoipcID ' to create a unique topic id for a newly created topic <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE topic PUBLIC "-//xxxx//DTD xxx DITA Topic//EN" "xxxtopic.dtd"> <topic id="${customtoip...
by vishwavaranasi
Mon Mar 29, 2021 8:54 am
Forum: SDK-API, Frameworks - Document Types
Topic: REST API call from oxygen plugin using org.springframework.web.client.RestTemplate
Replies: 2
Views: 420

Re: REST API call from oxygen plugin using org.springframework.web.client.RestTemplate

Thanks Radu , this debug tip "You can start Oxygen using the "oxygen.bat" executable from the Oxygen installation folder if you want to see the logging in the Windows Command Prompt window" helped me to know the errors. it's nothing to do with Oxygen , i have fixed with using some other 3rd party ja...
by vishwavaranasi
Wed Feb 10, 2021 2:52 pm
Forum: SDK-API, Frameworks - Document Types
Topic: REST API call from oxygen plugin using org.springframework.web.client.RestTemplate
Replies: 2
Views: 420

REST API call from oxygen plugin using org.springframework.web.client.RestTemplate

Hello Team , We have a oxygen Plugin , where We have a REST API to be called , used the client org.springframework.web.client.RestTemplate String RestEndpoint ="http://servername:8080/RestAPI/names"; RestTemplate restTemplate = new RestTemplate(); List<Name> allNames=Arrays.stream(restTemplate.getFo...
by vishwavaranasi
Mon Jan 18, 2021 4:33 pm
Forum: SDK-API, Frameworks - Document Types
Topic: schematron rule for bookmap
Replies: 6
Views: 817

Re: schematron rule for bookmap

Thanks Radu , We have figured out the problem we have , the issue resolved.

Thanks,
vishwa
by vishwavaranasi
Mon Jan 18, 2021 4:29 pm
Forum: SDK-API, Frameworks - Document Types
Topic: It's preferable to use tm element instead of ® character.
Replies: 1
Views: 299

It's preferable to use tm element instead of ® character.

Hello Team , we have our custom DITMAP and topics from extension of DITAMAP and DITA , and we have our own schematron rules to validate. when we validate our files we have seen these warnings It's preferable to use tm element instead of ® character. It's preferable to use tm element instead of ™ cha...
by vishwavaranasi
Tue Dec 22, 2020 2:49 pm
Forum: SDK-API, Frameworks - Document Types
Topic: schematron rule for bookmap
Replies: 6
Views: 817

Re: schematron rule for bookmap

yes , checked class value it showing this - map/map bookmap/bookmap and rule tried like this <sch:pattern id="isbookmaphasid"> <sch:rule context="/*[contains(@class, ' map/map bookmap/bookmap ')]" role="warn"> <sch:report test="@id"> testing id is there or not </sch:report> </sch:rule> </sch:pattern...
by vishwavaranasi
Tue Dec 22, 2020 1:05 pm
Forum: SDK-API, Frameworks - Document Types
Topic: schematron rule for bookmap
Replies: 6
Views: 817

Re: schematron rule for bookmap

Yes Radu , we have custom DTD of DITA bookmap <!DOCTYPE bookmap PUBLIC "-//XXXXX//DTD XXX DITA Bookmap//EN" "xxxBookmap.dtd"> and similarly for task and other DITA types for example for task have this <!DOCTYPE task PUBLIC "-//XXXXX//DTD EPM DITA Task//EN" xxxTask.dtd"> We have mapped validation to ...
by vishwavaranasi
Mon Dec 21, 2020 3:27 pm
Forum: SDK-API, Frameworks - Document Types
Topic: schematron rule for bookmap
Replies: 6
Views: 817

schematron rule for bookmap

Hi Team , our plugin has rule files , the rules for topics was working fine ,the rule for example <sch:pattern id="shortdesc_length"> <sch:rule context="*[contains(@class, ' topic/shortdesc ')]"> <sch:let name="text" value="normalize-space(.)"/> <sch:assert role="warning" test="string-length($text) ...
by vishwavaranasi
Tue Nov 17, 2020 10:28 am
Forum: SDK-API, Frameworks - Document Types
Topic: Batch Validate referenced DITA resources
Replies: 4
Views: 717

Re: Batch Validate referenced DITA resources

Thanks for the reply. I have tried as below 1 SerializableList<String> ditavalFilePaths=null; 2 String additionalSchematronChecksURL=null; 3 CheckCompletnessOptionsPO settigs=ro.sync.ecss.dita.mapeditor.actions.checkcompleteness.CheckCompletnessOptionsPO (true,false,false,false,false,false,false,fal...
by vishwavaranasi
Fri Nov 13, 2020 10:29 am
Forum: SDK-API, Frameworks - Document Types
Topic: Batch Validate referenced DITA resources
Replies: 4
Views: 717

Batch Validate referenced DITA resources

Hello team , We want the option "Batch Validate referenced DITA resources" to checked automatically under the dialog box "DITA Map Completeness check" we want to set this through the oxygen API something like pluginWorkspaceAccess.setGlobalObjectProperty(); or similar would you please help us here? ...
by vishwavaranasi
Mon Nov 02, 2020 3:59 pm
Forum: SDK-API, Frameworks - Document Types
Topic: hiding views
Replies: 3
Views: 486

Re: hiding views

Thanks Radu ..that worked for me.

is this same applicable to hiding toolbar also?
pluginWorkspaceAccess.hideToolbar("Project");?


Thanks,
vishwa
by vishwavaranasi
Mon Nov 02, 2020 2:38 pm
Forum: SDK-API, Frameworks - Document Types
Topic: hiding views
Replies: 3
Views: 486

hiding views

Hello team , am using the PAI to hide the views in Oxygen Editor , the following lines of code added to our xxxxxWorkspaceAccessPluginExtensionimplements WorkspaceAccessPluginExtension public void applicationStarted(StandalonePluginWorkspace pluginWorkspaceAccess) { //hiding views pluginWorkspaceAcc...
by vishwavaranasi
Wed Oct 28, 2020 4:30 pm
Forum: Common Problems
Topic: oXygen_XML_Editor22.0_Windows_x64_Named_setup
Replies: 1
Views: 237

oXygen_XML_Editor22.0_Windows_x64_Named_setup

install_error.jpg Hello team , i am trying to install the oXygen_XML_Editor22.0_Windows_x64_Named_setup , and after the preparing install screen ..it's showing up the next screen attached here and after that installation screen disappearing. would you please help us here to fix the same. Thanks, vi...
by vishwavaranasi
Wed Sep 16, 2020 4:40 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Configuring the insert tag selector
Replies: 5
Views: 646

Re: Configuring the insert tag selector

Thanks Radu , that worked for us.
by vishwavaranasi
Tue Sep 15, 2020 4:05 pm
Forum: SDK-API, Frameworks - Document Types
Topic: is there a way to avoid id attribute when inserting an image
Replies: 2
Views: 518

is there a way to avoid id attribute when inserting an image

Hello team ,

is there a way to avoid id attribute when inserting an image,

<image href="../../../../test_path/oxygen/Oxygen128.png" id="image_u3c_x4d_1nb" />

i don't want "id" should be automatically inserted here , how to stop this.

Thanks,
vishwa
by vishwavaranasi
Thu Sep 10, 2020 8:35 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Configuring the insert tag selector
Replies: 5
Views: 646

Re: Configuring the insert tag selector

Hi Radu,

what is the parameter name for this "showAllPossibleElementsInCCList" to make "false" using pluginWorkspaceAccess.setGlobalObjectProperty?


Thanks,
vishwa
by vishwavaranasi
Tue Sep 01, 2020 3:27 pm
Forum: General XML Questions
Topic: schematron replace-curly-doublequotes
Replies: 1
Views: 509

schematron replace-curly-doublequotes

Hello team , we have implemented a schematron rule for replacing curly double quotes. <sch:pattern id="isTopicContainsCurlyDoubleQuotes"> <sch:rule context="/*[contains(@class, ' topic/topic ')]"> <sch:let name="text" value="normalize-space(.)"/> <sch:report test=".//text()[contains(., '“')]"...
by vishwavaranasi
Tue Aug 18, 2020 12:57 pm
Forum: SDK-API, Frameworks - Document Types
Topic: create a DITA "topic" from command line
Replies: 3
Views: 643

Re: create a DITA "topic" from command line

Thanks Radu for your reply. I have tried copying our custom topic template xml to create a new topic and saved but our topic template uses custom variable customtoipcID to create a unique topic id for a newly created topic <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE topic PUBLIC "-//xxxx//DTD x...
by vishwavaranasi
Tue Aug 18, 2020 11:09 am
Forum: SDK-API, Frameworks - Document Types
Topic: create a DITA "topic" from command line
Replies: 3
Views: 643

create a DITA "topic" from command line

Hello Team , I want to create a DITA "topic" from command line or from java , instead from Editor File -> New , is there any way to create like this?

Thanks,
vishwa
by vishwavaranasi
Fri Jul 24, 2020 10:57 am
Forum: SDK-API, Frameworks - Document Types
Topic: is there a way to call schematron rules from plugin
Replies: 1
Views: 642

is there a way to call schematron rules from plugin

hello team , is there a way to call our own schematron rules from a workspace plugin API ro.sync.exml.workspace.api.Plugin? from a swing component - on click of button like "Validate" - it should validate all the topics of the MAP and want to give the errors or warnings in a swing window back to the...
by vishwavaranasi
Fri Jun 19, 2020 12:58 pm
Forum: SDK-API, Frameworks - Document Types
Topic: want to fill automatically values for attributes Format , scope , type and Navigation title for topicref
Replies: 2
Views: 945

want to fill automatically values for attributes Format , scope , type and Navigation title for topicref

Hello , i was trying to use api to set the global options pluginWorkspaceAccess.setGlobalObjectProperty(APIAccessibleOptionTags.DITA_FILL_TOPICREF_FORMAT_ATTR,Boolean.TRUE); but this giving error "can not be resolved or is not a field" the API available here https://www.oxygenxml.com/InstData/Editor...
by vishwavaranasi
Wed Jun 17, 2020 9:35 am
Forum: SDK-API, Frameworks - Document Types
Topic: ignore or filter DITA error messages
Replies: 2
Views: 726

ignore or filter DITA error messages

Hi Team , we have a custom DITA doc types for the <topic> , so we have created a template file <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE topic PUBLIC "-//COMPANY//DTD myCustom DITA Topic//EN" "myCustomTopic.dtd"> <topic id="${customUUID}" format="dita" type="topic"> <title></title> <body></bo...
by vishwavaranasi
Mon May 18, 2020 11:43 am
Forum: Common Problems
Topic: on insert of an image i need to show a custom swing to add more properties to image
Replies: 1
Views: 324

on insert of an image i need to show a custom swing to add more properties to image

Hi team , we have a requirement where we need to listen a user try to adds an image to xml document, and allows them to edit or some more options by shown a swing component where choose for more options and then insert the image? is there any listener API available and example to look in? Thanks, vi...
by vishwavaranasi
Thu May 07, 2020 9:54 am
Forum: Common Problems
Topic: how to fix the error The content of elements must consist of well-formed character data or markup for <codeblock>
Replies: 2
Views: 807

how to fix the error The content of elements must consist of well-formed character data or markup for <codeblock>

Hello team , i am getting the following error when i try to insert the clipboardData content. my insert code is :fragment="<codeblock>"+clipboardData+"</codeblock>"; Error : The content of elements must consist of well-formed character data or markup. and the clipboardData is int main() { double sco...