Re: [oXygen-user] Update element on save?

2018-04-12 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Tobias,

Oxygen has API to modify the Text editing mode (not as evolved as the 
modification API we have for the Author mode).
For example this sample plugin adds a DITA prolog in both the Text or 
the Author visual editing modes using the available APIs:


https://github.com/oxygenxml/oxygen-dita-prolog-updater

Also another drawback for working in the Text editing mode is that 
unfortunately we do not have this concept of actions definable at 
framework level.


Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 4/12/2018 11:58 AM, Tobias Fischer | pagina GmbH wrote:

Hi Radu,

however, I bet David want's to use it in text mode...

It's really a pitty that so many of your plugin API's are only available
in Author Mode.
There's so many power users who could need those API's also in text mode!

Best,
Tobias



Oxygen XML Editor Support (Radu Coravu) 
12. April 2018 um 10:14via Postbox

Hi David,

You would need to implement an Oxygen plugin for this.
Maybe you can take a look at this plugin:

https://github.com/oxygenxml/ExecuteAuthorActionsOnSaveHook

When content is saved in the Author visual editing mode, the plugin
can invoke a previously defined Author action.
So you do not need to modify the plugin's Java code, just the action
ID which should get called on save.

Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
David Levy 
11. April 2018 um 18:07via Postbox


The current discussion "When a  is inserted, it should contain a
 element" prompts me to ask what I'm sure is a trivial question.



I am using Oxygen to edit XML in text mode.



I would like an XML element  to be updated automatically
on save.



I am aware of the of the ${date(pattern)} editor variable, but don't
know how to trigger an action on the save event or indeed what type of
code can be run once the event is detected.



The online example

seemed to be in a DITA context and require the Plugins SDK, neither of
which I'm familiar with.



With thanks,



David Levy





___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user




___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Update element on save?

2018-04-12 Thread Tobias Fischer | pagina GmbH

Hi Radu,

however, I bet David want's to use it in text mode...

It's really a pitty that so many of your plugin API's are only available 
in Author Mode.

There's so many power users who could need those API's also in text mode!

Best,
Tobias



Oxygen XML Editor Support (Radu Coravu) 
12. April 2018 um 10:14via Postbox 


Hi David,

You would need to implement an Oxygen plugin for this.
Maybe you can take a look at this plugin:

https://github.com/oxygenxml/ExecuteAuthorActionsOnSaveHook

When content is saved in the Author visual editing mode, the plugin 
can invoke a previously defined Author action.
So you do not need to modify the plugin's Java code, just the action 
ID which should get called on save.


Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
David Levy 
11. April 2018 um 18:07via Postbox 



The current discussion "When a  is inserted, it should contain a 
 element" prompts me to ask what I'm sure is a trivial question.


I am using Oxygen to edit XML in text mode.

I would like an XML element  to be updated automatically 
on save.


I am aware of the of the ${date(pattern)} editor variable, but don't 
know how to trigger an action on the save event or indeed what type of 
code can be run once the event is detected.


The online example 
 
seemed to be in a DITA context and require the Plugins SDK, neither of 
which I'm familiar with.


With thanks,

David Levy



___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Update element on save?

2018-04-12 Thread Oxygen XML Editor Support (Radu Coravu)

Hi David,

You would need to implement an Oxygen plugin for this.
Maybe you can take a look at this plugin:

https://github.com/oxygenxml/ExecuteAuthorActionsOnSaveHook

When content is saved in the Author visual editing mode, the plugin can 
invoke a previously defined Author action.
So you do not need to modify the plugin's Java code, just the action ID 
which should get called on save.


Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 4/11/2018 7:07 PM, David Levy wrote:

The current discussion "When a  is inserted, it should contain a
 element" prompts me to ask what I'm sure is a trivial question.



I am using Oxygen to edit XML in text mode.



I would like an XML element  to be updated automatically on
save.



I am aware of the of the ${date(pattern)} editor variable, but don't
know how to trigger an action on the save event or indeed what type of
code can be run once the event is detected.



The online example

seemed to be in a DITA context and require the Plugins SDK, neither of
which I'm familiar with.



With thanks,



David Levy





___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] DITA & Author 17.1: Displaying topic titles in Editor view

2018-04-12 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Kris,

If you edit the DITA map in the main editing area in the Author visual 
editing mode the "Styles" drop-down toolbar button has a "Show topic 
titles" alternate CSS layer.

This should be available also in 17.1.

Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 4/11/2018 7:10 PM, Kristen James Eberlein wrote:

My client is using oXygen XML Author 17.1 and the SDL Authoring Bridge.

While topic titles are displayed when a DITA map is open in the DITA
Maps Manager view, they are not displayed in the Editor view.

Is there a configuration option to enable this? I seem to remember one,
but it might be in later versions of oXygen.

Many thanks.


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user