[oXygen-user] [oXygen XML Editor Blog] - Sharing Application Settings
oXygen XML Editor Blog
Wed Nov 25 23:25:28 CST 2015
oXygen XML Editor Blog
///////////////////////////////////////////
Sharing Application Settings
Posted: 24 Nov 2015 11:44 PM PST
http://feedproxy.google.com/~r/AboutOxygenXmlEditor/~3/ijz2ztr8NGQ/sharing-application-settings.html?utm_source=feedburner&utm_medium=email
There are varios ways in the Oxygen standalone version through which a
team of writers can share and use a set of common settings. Below I
will try to list each of these possibilities along with useful
links: Save the settings at project level and have all
users use the same project "projectName.xpr" file in the
Project view when editing. Most of the Oxygen Preference pages
have a switch radio button which allows you to pass the settings
to Project level and save them in the current project
configuration file opened in the Project view. If you commit
that Project configuration file to a version control system
like GIT or SVN, all writers can open and use that project when
working with the repository content. For example,
when we work on the Oxygen User's Manual using our common
GitHub repository, we all open in the Project view
the "userguide.xpr" project which comes with various fixed
options (eg: enabling automatic spell
checking):https://github.com/oxygenxml/userguide You can find out
more details about sharing projects here:
https://www.oxygenxml.com/doc/versions/17.1/ug-editor/#topics/sharing-projects.html.
Create and then provide a default options XML document to others. When
placed in a specific place in the Oxygen installation or
referenced via a specific property in the application startup
script, this default options XML document will be used by the
application to provide default values for certain settings. You can find
out more about how default options work
here:https://www.oxygenxml.com/doc/versions/17.1/ug-editor/#topics/default-options.html.
Have others manually import an options XML document which you
exported from
Oxygen:https://www.oxygenxml.com/doc/versions/17.1/ug-editor/#topics/import-export-preferences.html.
An Oxygen plugin could use our Java API to impose fixed options when
the application starts using the API method:
PluginWorkspaceProvider.getPluginWorkspace().setGlobalObjectProperty(key,
value). In our Maven-based SDK we have a sample plugin called
ImposeOptions which imposes a fixed set of options when the application
starts. If you want to share document type
configurations (for editing certain XML vocabulary) you can find more
details in this older blog post:
http://blog.oxygenxml.com/2015/08/document-type-extension-sharing.html.
--
You are subscribed to email updates from "oXygen XML Editor Blog."
To stop receiving these emails, you may unsubscribe now:
https://feedburner.google.com/fb/a/mailunsubscribe?k=y_tRXtumvTurKTedh51JnlYsGXw
Email delivery powered by Google.
Google Inc., 1600 Amphitheatre Parkway, Mountain View, CA 94043, United
States
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20151126/62e81c03/attachment.html>
More information about the oXygen-user
mailing list