quotation marks
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 124
- Joined: Tue May 29, 2012 5:42 pm
quotation marks
Post by sebastienlavandier »
Hi,
I use the Oxygen component, and I want to know how I can change the default value of the quotation marks.
I want change the "" to << >>.
Do you have an idea for do that ?
Thanks in advance for your help.
Sébastien
I use the Oxygen component, and I want to know how I can change the default value of the quotation marks.
I want change the "" to << >>.
Do you have an idea for do that ?
Thanks in advance for your help.
Sébastien
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: quotation marks
Post by alex_jitianu »
Hi,
There is a built-in auto correct support that replaces simple quotes with a character of your choice. Since you are working with the author component there are a couple of possible approaches:
- Configure the auto correct in an Oxygen standalone preferences and then provide the option file as default options.
- You can use the API to set the auto correct option:
- You can implement this auto correct behavior yourself on the AuthorDocumentFilter.insertText() or the AuthorSchemaAwareEditingHandler.handleTyping() callback. We already have some sample code on how to replace quotes using an AuthorDocumentFilter in the User guide.
Best regards,
Alex
There is a built-in auto correct support that replaces simple quotes with a character of your choice. Since you are working with the author component there are a couple of possible approaches:
- Configure the auto correct in an Oxygen standalone preferences and then provide the option file as default options.
- You can use the API to set the auto correct option:
Code: Select all
AuthorComponentFactory.getInstance().setObjectProperty("auto.correct.double.quotes", new AutoCorrectQuotesOptions('\u00AB', '\u00BB', true));
Best regards,
Alex
-
- Posts: 124
- Joined: Tue May 29, 2012 5:42 pm
Re: quotation marks
Post by sebastienlavandier »
Hi,
Thanks for your quick answer.
I only have a licence for the 14.X version
The AutoCorrect options are in the 15.X version ?
Thanks in advance.
Seb
Thanks for your quick answer.
I only have a licence for the 14.X version
The AutoCorrect options are in the 15.X version ?
Thanks in advance.
Seb
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: quotation marks
Post by alex_jitianu »
Hi,
The AutoCorrect options were indeed introduced in Oxygen v15.0. For version 14 you can still use the last approach (the one with AuthorDocumentFilter).
Best regards,
Alex
The AutoCorrect options were indeed introduced in Oxygen v15.0. For version 14 you can still use the last approach (the one with AuthorDocumentFilter).
Best regards,
Alex
-
- Posts: 124
- Joined: Tue May 29, 2012 5:42 pm
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service