Search found 57 matches

by NicoAMP
Tue May 04, 2021 4:26 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Map framework based on topics
Replies: 3
Views: 187

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

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 this but it doesn't wo...
by NicoAMP
Thu Mar 11, 2021 11:27 am
Forum: SDK-API, Frameworks - Document Types
Topic: createXQueryUpdateTransformer API
Replies: 5
Views: 535

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

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

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

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

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

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

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 (check or uncheck op...
by NicoAMP
Thu Oct 22, 2020 4:28 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Status attribute specialization
Replies: 3
Views: 416

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 scheme map): Attribu...
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: 413

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

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

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

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

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

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

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

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

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

Re: dita dependency in maven project

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

Nicolas
by NicoAMP
Wed May 27, 2020 12:51 pm
Forum: SDK-API, Frameworks - Document Types
Topic: dita dependency in maven project
Replies: 5
Views: 1029

dita dependency in maven project

Hi,

In my project (manage under Maven) I would like to extends following classes : DITAExtensionsBundle and DitaLinkTextResolver.

Which dependency I have to add in my pom.xml to make it works?

Thanks a lot.

Nicolas
by NicoAMP
Wed May 06, 2020 2:35 pm
Forum: Other Issues
Topic: Image Map PDF output
Replies: 7
Views: 3082

Re: Image Map PDF output

Hi Namita, Right now the default PDF output for DITA does not show hotspots for image maps: https://github.com/dita-ot/dita-ot/issues/1458 As sometimes the PDF is intended for print this is a feature which may not be implemented. Regards, Radu Hi Radu, Now a plugin is available here to manage image...
by NicoAMP
Tue Apr 14, 2020 9:38 am
Forum: Common Problems
Topic: Web Author "Paste as XML" shortcuts
Replies: 7
Views: 1399

Re: Web Author "Paste as XML" shortcuts

Thanks a lot Cristian.

Just a last remark: I still have the problem with Ctrl+Alt+X (message "Synchronizing with server" indefinitely and page freeze).

If I use an other shortcut for this action (e.g. Ctrl+Alt+P) I don't have the problem anymore.
Maybe it have a conflict with Ctrl+Alt+X shorcut...
by NicoAMP
Thu Apr 09, 2020 7:59 pm
Forum: Common Problems
Topic: Web Author "Paste as XML" shortcuts
Replies: 7
Views: 1399

Re: Web Author "Paste as XML" shortcuts

Hi Cristian,

Did you commit it on github?

Regards,
Nicolas
by NicoAMP
Thu Apr 09, 2020 5:54 pm
Forum: Common Problems
Topic: Web Author "Paste as XML" shortcuts
Replies: 7
Views: 1399

Re: Web Author "Paste as XML" shortcuts

Hi Cristian, I installed your plugin on my Web Author server but something strange appends. When I used custom actions "Paste as text" and "Paste as XML" in right click menu, all is OK. Perfect :) But when I try to use shortcuts : Ctrl+Alt+T works only one time. When I try to reuse it nothing append...
by NicoAMP
Wed Apr 08, 2020 11:23 am
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen Toolbar DITA icons
Replies: 2
Views: 593

Re: Oxygen Toolbar DITA icons

Yes they are in oxygen.jar.

Thanks a lot :D

Regards,
Nicolas
by NicoAMP
Wed Apr 08, 2020 11:02 am
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen Toolbar DITA icons
Replies: 2
Views: 593

Oxygen Toolbar DITA icons

Hi,

In my Oxygen framework I can see reference to specific icons in "insert.topicref" action : /images/Topicref24.png and /images/Topicref24.png

But I don't find them in Oxygen installation directory. Where can I get them?

Thanks.
by NicoAMP
Wed Apr 08, 2020 10:22 am
Forum: Common Problems
Topic: URL chooser for a custom action
Replies: 2
Views: 757

Re: URL chooser for a custom action

Hi Cristian,

IFragmentOperation is a typo error, I use a classic InsertFragmentOperation.

I follow your advice using an action in Document Type Configuration Dialog box, with the following fragment:

Code: Select all

<mapref href="${ask('DITA Map', relative_url, '')}"/>
Thanks for your help.

Regards,
Nicolas
by NicoAMP
Tue Apr 07, 2020 5:51 pm
Forum: Common Problems
Topic: URL chooser for a custom action
Replies: 2
Views: 757

URL chooser for a custom action

Hi, I would like to add a custom action to add a mapref in a ditamap. So I add this code, but I don't know how to invoke an "URL chooser" to get get link to .ditamap and use the result with ro.sync.ecss.extensions.commons.operations.IFragmentOperation (see "var url = ????"). MaprefAction = function(...
by NicoAMP
Tue Apr 07, 2020 10:17 am
Forum: Common Problems
Topic: Web Author "Paste as XML" shortcuts
Replies: 7
Views: 1399

Web Author "Paste as XML" shortcuts

Hi, In Oxygen Web Author, I would like to create a shortcut to "Paste special / Paste as XML" directly? It seems that this operation doesn't exist in Author Action Dialog Box, so I can't associate a shortcut. Is it possible to create this shortcut simply in a framework? If not, is it possible at lea...