Search found 10 matches
Search found 10 matches
• Page 1 of 1
- by daniel7
- Thu Feb 23, 2017 6:12 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: is my add-on running in XML Author or XL Editor?
- Replies: 4
- Views: 2463
Re: is my add-on running in XML Author or XL Editor?
Thanks, this workaround seems to work nicely.Radu wrote: 1) ro.sync.exml.workspace.api.WorkspaceUtilities.getParentFrame(), cast it to java.awt.Frame and get its title.
- by daniel7
- Thu Feb 23, 2017 4:59 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: is my add-on running in XML Author or XL Editor?
- Replies: 4
- Views: 2463
Re: is my add-on running in XML Author or XL Editor?
PluginWorkspaceProvider.getPluginWorkspace().getApplicationName() getApplicationName() isn't found here when I use this dependency in Maven, am I missing something? <dependency> <groupId>com.oxygenxml</groupId> <artifactId>oxygen</artifactId> <version>18.1.0.2</version> <scope>provided</scope> </de...
- by daniel7
- Thu Feb 23, 2017 4:02 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: is my add-on running in XML Author or XL Editor?
- Replies: 4
- Views: 2463
is my add-on running in XML Author or XL Editor?
Hi, how can my add-on find out whether it's running in XML Author or XML Editor? The reason I need to know is that their preference files seem to be independent, either "oxyOptionsSa18.1.xml" or "oxyAuthorOptionsSa18.1.xml" is used. I need to find the setting for the spell checke...
- by daniel7
- Wed Apr 08, 2015 2:58 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: TextContentIterator return processing instructions?
- Replies: 2
- Views: 2096
Re: TextContentIterator return processing instructions?
Thanks, that's working nicely.alex_jitianu wrote: You can check the context node and skip PIs like this:
- by daniel7
- Wed Apr 08, 2015 12:46 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: TextContentIterator return processing instructions?
- Replies: 2
- Views: 2096
TextContentIterator return processing instructions?
Hi, I'm using Oxygen Author 16.1, build 2015012213 with code like this: AuthorDocumentController docController = authorEditorPage.getDocumentController(); AuthorDocument authorDocumentNode = docController.getAuthorDocumentNode(); TextContentIterator textContentIterator = docController.getTextContent...
- by daniel7
- Fri Mar 13, 2015 5:45 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: accessing text in Text Mode
- Replies: 3
- Views: 2574
Re: accessing text in Text Mode
Thanks for your fast reply. I actually have a timer so that the check doesn't start when the key is pressed but after a timeout of (currently) 500ms. I'll see if that works good enough.
- by daniel7
- Fri Mar 13, 2015 5:00 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: accessing text in Text Mode
- Replies: 3
- Views: 2574
accessing text in Text Mode
Hi, is there a recommended way to get the text content of a document in Text mode, similar to what TextContentIterator does in Author mode? I see I could just parse the XML myself, but I'm trying to write a grammar checker for text mode, so I'd need to re-parse the whole XML on almost every key pres...
- by daniel7
- Wed May 28, 2014 10:54 am
- Forum: Common Problems
- Topic: highlighting/underlining in text mode?
- Replies: 3
- Views: 1784
Re: highlighting/underlining in text mode?
Thanks, that does the trick.Radu wrote:The Text editing mode is based on a regular Java Swing javax.swing.JTextArea and can be obtained using the API ro.sync.exml.workspace.api.editor.page.text.WSTextEditorPage.getTextComponent() and then use the regular Swing API for adding highlights:
- by daniel7
- Tue May 27, 2014 11:43 pm
- Forum: Common Problems
- Topic: highlighting/underlining in text mode?
- Replies: 3
- Views: 1784
highlighting/underlining in text mode?
Hi,
I can get a highlighter in author mode like this:
Is there anything like that for text mode? It seems to exist, as this is what the spell checker does, but I could not find it in the API.
Thanks,
Daniel
I can get a highlighter in author mode like this:
Code: Select all
authorAccess.getEditorAccess().getHighlighter()
Thanks,
Daniel
- by daniel7
- Tue May 27, 2014 10:12 am
- Forum: Common Problems
- Topic: highlight a single character
- Replies: 2
- Views: 1490
highlight a single character
Hi, I cannot seem to highlight a single character. Here's what I'm doing: AuthorHighlighter highlighter = ... highlighter.addHighlight(61, 61, new ColorHighlightPainter(), null); Nothing gets highlighted. If I use start position = 61 and end position = 62, two characters get highlighted. Is that a b...
Search found 10 matches
• Page 1 of 1
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