Search found 97 matches

by NicoAMP
Fri Feb 25, 2022 4:31 pm
Forum: Common Problems
Topic: Get element value with javascript
Replies: 2
Views: 1234

Re: Get element value with javascript

Hi Michael,
Thanks a lot for these informations.
Regards,
Nicolas
by NicoAMP
Fri Feb 25, 2022 3:37 pm
Forum: Common Problems
Topic: InsertFragmentOperation on XHTML5
Replies: 1
Views: 918

InsertFragmentOperation on XHTML5

Hello, I created a custom framework to edit XHTML5 files, with OWA v24. I created a toolbar button to insert a XML fragment with following code: insertFragment(xml) { this.actionsManager_.invokeOperation( "ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation", { fragment: xml...
by NicoAMP
Tue Jan 25, 2022 5:32 pm
Forum: Common Problems
Topic: Get element value with javascript
Replies: 2
Views: 1234

Get element value with javascript

Hello,

In my custom framework, with javascript, I would like to get attibute value of a specific element of my opened XHTML document.
How can I do that?

Thanks a lot.
by NicoAMP
Fri Dec 03, 2021 6:37 pm
Forum: Common Problems
Topic: Perform actions with drag and drop
Replies: 4
Views: 1584

Re: Perform actions with drag and drop

Hi Mihaela,

Perfect! It works well :D

Thanks a lot for your help.

Regards,
Nicolas
by NicoAMP
Tue Nov 30, 2021 5:41 pm
Forum: Common Problems
Topic: Perform actions with drag and drop
Replies: 4
Views: 1584

Re: Perform actions with drag and drop

Hi Mihaela, Thanks for your answer, it was very helful. My goal is to have some buttons in a side view. When I click on a button, I want to insert an XML fragment. So I create an action in my framework (InsertFragmentOperation) and I call this action using ro.sync.ecss.extensions.commons.operations....
by NicoAMP
Mon Nov 29, 2021 5:57 pm
Forum: Common Problems
Topic: Perform actions with drag and drop
Replies: 4
Views: 1584

Perform actions with drag and drop

Hello, I created a custom side view in OWA with buttons to perform specific actions (insert XML fragment) on click. It works well. I would like also to perform these actions when I drag and drop these buttons on document. So I add a listener on my buttons: button.addEventListener( "dragstart&qu...
by NicoAMP
Mon Nov 08, 2021 6:54 pm
Forum: SDK-API, Frameworks - Document Types
Topic: 501 error on plugins server URL
Replies: 1
Views: 951

501 error on plugins server URL

Hello, I stored a plugin (Oxygen framework) here : https://ftp-eu01.XXX.com/home/oxygen-addons/ But when I try to install it on Oxygen with "Install new addons > Browse from remote file" I have the following error: ro.sync.net.protocol.http.HttpExceptionWithDetails: 501 Not Implemented for...
by NicoAMP
Fri Oct 15, 2021 12:20 pm
Forum: Common Problems
Topic: Outline on custom frameworks
Replies: 6
Views: 2421

Re: Outline on custom frameworks

Hello Mickael and Christian, I have a custom framework that extends NCX one and I would like to display outline view on Oxygen Web Author. I'm using the following webAuthorOutlineConfig.xml that is referenced in framework classpath: <?xml version="1.0" encoding="UTF-8"?> <outline...
by NicoAMP
Mon Oct 11, 2021 4:14 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Perform action from side view in Oxygen Web Author
Replies: 3
Views: 1348

Re: Perform action from side view in Oxygen Web Author

Hello Cristian, Thanks for you help, I start from the plugin and it works! I have another question. My goal is to manage a library of XML fragments that I could add from a side view (e.g. prefilled list, floating image with text, predefined legal text, etc.) as it is made for Templates (https://www....
by NicoAMP
Mon Oct 11, 2021 11:13 am
Forum: SDK-API, Frameworks - Document Types
Topic: Perform action from side view in Oxygen Web Author
Replies: 3
Views: 1348

Perform action from side view in Oxygen Web Author

Hello, I created a custom side view in OWA with following javascript. In this side view, I try to perform an action (insert fragment) when I click on a button. But nothing append when I click on it. "test-insert-fragment" action exist in my framework. Thanks for your help. workspace.getVie...
by NicoAMP
Tue May 04, 2021 4:26 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Map framework based on topics
Replies: 3
Views: 1283

Re: Map framework based on topics

Hi Radu, Thanks for your help. I tried quickly this solution: public class DITAMapResolvedReferencesCustomRuleMatcherMyTest extends DocumentTypeAdvancedCustomRuleMatcher { public boolean matches(final String systemID, final String rootNamespace, final String rootLocalName, final String doctypePublic...
by NicoAMP
Mon May 03, 2021 1:20 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Map framework based on topics
Replies: 3
Views: 1283

Map framework based on topics

Hello, I would like to create a custom framework that extend "DITA map". I would like that this framework runs when a specific topic (e.g. with "myCustomTopic" root name) is present in the map hierarchy. I tried to use DITAMapResolvedReferencesCustomRuleMatcher java class like th...
by NicoAMP
Thu Mar 11, 2021 11:27 am
Forum: SDK-API, Frameworks - Document Types
Topic: createXQueryUpdateTransformer API
Replies: 5
Views: 1697

Re: createXQueryUpdateTransformer API

Hi Radu, Thanks a lot for your help. I created 3 author actions corresponding to my 3 XQuery Update steps and I call them in javascript with their ID: function doOperation(){ //desactivate tracking change if necessary myReviewController = authorAccess.getReviewController(); trackingChangesState = my...
by NicoAMP
Tue Mar 09, 2021 4:29 pm
Forum: SDK-API, Frameworks - Document Types
Topic: createXQueryUpdateTransformer API
Replies: 5
Views: 1697

Re: createXQueryUpdateTransformer API

Hi Radu,

Thanks for these informations.

Could you say me if it's possible, in javascript, to call/execute a specific custom action using his ID?
If yes, could you provide me a sample?

Thanks.
by NicoAMP
Tue Mar 09, 2021 12:27 pm
Forum: SDK-API, Frameworks - Document Types
Topic: createXQueryUpdateTransformer API
Replies: 5
Views: 1697

createXQueryUpdateTransformer API

Hello, As I can read in release note for v23 (https://www.oxygenxml.com/xml_editor/whatisnew23.0.html) the API for creating XSLT and XQuery transformers (using the XMLUtilAccess interface) can no longer be used to create processors for Saxon Professional Edition (PE) or Saxon Enterprise Edition (EE)...
by NicoAMP
Thu Nov 26, 2020 5:20 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Status attribute specialization
Replies: 3
Views: 1085

Re: Status attribute specialization

Hi Radu, Thanks for your answer. It seems that @status attribute is not designed for filtering or flagging (https://www.oxygenxml.com/dita/1.3/specs/archSpec/base/conditional-processing-attributes.html#conditional-processing-attributes__other-metadata-attributes) . So I specialized @props to create ...
by NicoAMP
Tue Nov 24, 2020 2:13 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: WebHelp Responsive - output as an zip archive
Replies: 1
Views: 775

WebHelp Responsive - output as an zip archive

Hi,

Actually WebHelp Responsive scenario outputs a set of files and folders.

Is it possible to generate an ZIP archive instead, with this set of files and folders inside?
With a parameter maybe ?

Thanks for your help.

Regards,
Nicolas
by NicoAMP
Fri Oct 23, 2020 12:15 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Framework specific "Validate and check for completeness"
Replies: 2
Views: 1189

Re: Framework specific "Validate and check for completeness"

Hi Radu,

Thanks a lot for the clarification.

Regards,
Nicolas
by NicoAMP
Thu Oct 22, 2020 5:05 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Framework specific "Validate and check for completeness"
Replies: 2
Views: 1189

Framework specific "Validate and check for completeness"

Hi, I have 3 different DITA frameworks installed on my environment. I use "Validate and check for completeness" functionality in "Ditamap manager view" panel to validate my 3 kinds of maps. Is it possible to parameter this functionality based on which framework is currently used ...
by NicoAMP
Thu Oct 22, 2020 4:28 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Status attribute specialization
Replies: 3
Views: 1085

Status attribute specialization

Hi, I would like to manage a "draft" status on topics to have the possibility to filter its. So, I would like to add a new enumeration value to the @status attribute: "draft". I tried to do that with a subject scheme map, but I have the following message (with or without subject ...
by NicoAMP
Tue Aug 11, 2020 9:50 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Memory fail during "conref" preprocessing
Replies: 2
Views: 872

Re: Memory fail during "conref" preprocessing

Perfect, it works well :D

Thanks a lot Radu.

Regards,
Nicolas
by NicoAMP
Mon Aug 10, 2020 10:17 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Conkeyref XSLT processing
Replies: 2
Views: 1539

Re: Conkeyref XSLT processing

Thanks Radu for your help.

Regards,

Nicolas
by NicoAMP
Mon Aug 10, 2020 6:22 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Memory fail during "conref" preprocessing
Replies: 2
Views: 872

Memory fail during "conref" preprocessing

Hi, I launch treatment on a big ditamap using my custom plugin. This plugin generated the merged file and create a report (with XSL) based on it. When I launch this transformation with DITA-OT command line, it works. But when I launch this transformation with an Oxygen scenario I always have the fol...
by NicoAMP
Thu Jul 16, 2020 5:58 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Conkeyref XSLT processing
Replies: 2
Views: 1539

Conkeyref XSLT processing

Hi,

In a XSLT action, in my custom framework, I get and transform all titles of current DITA file. It's OK.

But I also want to get and transform all titles of content referenced in current DITA file thought <conkeyref>.

Do you know how I can do that?

Thanks
by NicoAMP
Thu Jul 16, 2020 4:03 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: XSLT Xpath schema aware in framework action
Replies: 2
Views: 960

XSLT Xpath schema aware in framework action

Hi, I created a new action in a framework using ro.sync.ecss.extensions.commons.operations.XSLTOperation This action process my current DITA file with a XSLT using the following xpath: //*[contains(@class, ' topic/title ')] This xpath doesn't return result because @class is a default schema value. I...
by NicoAMP
Tue Jun 23, 2020 3:06 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Custom inheritance of metadatas from maps to topics
Replies: 2
Views: 1031

Re: Custom inheritance of metadatas from maps to topics

Hi Radu, Thanks for these informations and for your help. But I just saw that my expected behavior is now implemented in DITA OT 3.5: https://www.dita-ot.org/3.5/release-notes/ . The DITA 1.x specification defines cascade behaviors for maps such that <othermeta> and <source> do not cascade to child ...
by NicoAMP
Thu Jun 18, 2020 6:14 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Custom inheritance of metadatas from maps to topics
Replies: 2
Views: 1031

Custom inheritance of metadatas from maps to topics

Hi,

I would like, for HTML5 output, to change behavior of inheritance of metadatas from maps to topics.
It seems that is made in move-meta-entries implemented in java.

I don't know where and how can I modify this behavior?

Thanks for any help.

Regards,
Nicolas
by NicoAMP
Fri May 29, 2020 4:09 pm
Forum: SDK-API, Frameworks - Document Types
Topic: dita dependency in maven project
Replies: 5
Views: 2319

Re: dita dependency in maven project

Hi Radu,

I will try this solution. Thanks a lot.

Regards,
Nicolas
by NicoAMP
Thu May 28, 2020 11:41 am
Forum: SDK-API, Frameworks - Document Types
Topic: dita dependency in maven project
Replies: 5
Views: 2319

Re: dita dependency in maven project

Hi Radu, I created a maven module with my custom framework and inside a java source I try to import ro.sync.ecss.extensions.dita.DITAExtensionsBundle But I have the following error when I try to build the complete project: error: package ro.sync.ecss.extensions.dita does not exist Do you know why? T...
by NicoAMP
Wed May 27, 2020 1:33 pm
Forum: SDK-API, Frameworks - Document Types
Topic: dita dependency in maven project
Replies: 5
Views: 2319

Re: dita dependency in maven project

The question in fact is: the dita.jar is available as a Maven artifact?

Nicolas