Search found 47 matches

by Denis
Tue Feb 24, 2015 7:08 pm
Forum: Common Problems
Topic: Hunspell UnsatisfiedLinkError
Replies: 8
Views: 4269

Re: Hunspell UnsatisfiedLinkError

Additional information:
I used the jna 3.4.1 from http://www.java2s.com/Code/Jar/j/Downloadjna341jar.htm

Is there another solution to fix the issue?
by Denis
Tue Feb 24, 2015 6:20 pm
Forum: Common Problems
Topic: Hunspell UnsatisfiedLinkError
Replies: 8
Views: 4269

Hunspell UnsatisfiedLinkError

Hi, we are using Eclipse Oxygen Author in version 15.2. If I want to use the hunspell spell checker I get the following error: 6:02:06,374 0 ERROR [ main ] ro.sync.azcheck.ui.spellcontrol.hunspell.d - The hunspell library or dictionary could not be loaded, due to java.lang.UnsatisfiedLinkError: jnid...
by Denis
Fri Feb 20, 2015 5:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Customize Content Completion
Replies: 1
Views: 1706

Re: Customize Content Completion

Hi, we are using the Eclipse Oxygen Author in Version 15.2. What would be the best approach, if I want to extend the content completion. The use case: I want to create this structure: <h1> <p></p></h1> So everytime, if the author choose a <h1> element, the content completion has to add a <p>-element...
by Denis
Fri Nov 21, 2014 4:01 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Remove Namespace from selected node
Replies: 6
Views: 4029

Re: Remove Namespace from selected node

Hi

In our case the user can also open the copied content. So if he does so, the root element is this one with the namespace declaration in it. So the opened document is not valid and he has to remove it. This is quite annoying for a user.

Best regards
Denis
by Denis
Fri Nov 21, 2014 1:00 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Remove Namespace from selected node
Replies: 6
Views: 4029

Re: Remove Namespace from selected node

Hi Dan

Is there another way to copy the content from a node and its childs without to generating the namespace?

From my point of view its seems to be an bug, because I only want to copy the content and the namespace will be set on your side silently.

Best regards,
Denis
by Denis
Fri Nov 21, 2014 11:38 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Remove Namespace from selected node
Replies: 6
Views: 4029

Remove Namespace from selected node

Hi, we are using the Eclipse Oxygen Author in Version 15.2. My use case is to copy the content from a selected node and save it. I get the node, which content will be copied from this method: authorEditorPageBase.getFullySelectedNode() Then I create AuthorDocumentFragment with this method: documentC...
by Denis
Mon Nov 10, 2014 11:59 am
Forum: SDK-API, Frameworks - Document Types
Topic: EmptyStackException
Replies: 3
Views: 2600

Re: EmptyStackException

Hi Radu, the error.println get this information <#reference href="file:path/To/Reference" ,> (3678, 3678) The method works often without a problem, but sometimes I get the exception and I do not see the difference between the element which throws the exception and the elements, which not. ...
by Denis
Fri Nov 07, 2014 4:52 pm
Forum: SDK-API, Frameworks - Document Types
Topic: EmptyStackException
Replies: 3
Views: 2600

EmptyStackException

Hi, we are using the Eclipse Oxygen Author in Version 15.2. I use this method: whatPossibleValuesHasAttributeContext = authorSchemaManager .createWhatPossibleValuesHasAttributeContext( authorElement, attributeAtIndex); I get a EmptyStackException sometimes. at java.util.Stack.peek(Stack.java:85) at ...
by Denis
Fri Oct 24, 2014 3:28 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Get next valid position to insert a fragment
Replies: 1
Views: 1756

Get next valid position to insert a fragment

Hi, we are using the Eclipse Oxygen Author in Version 15.2. I am using the try { documentController.insertFragmentSchemaAware(offset, fragment); } catch (AuthorOperationException e) {} method to insert a fragment. If the exception will be thrown, the method will not insert anything of course. My que...
by Denis
Wed Oct 15, 2014 4:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Best Practice to check readOnly elements
Replies: 1
Views: 1714

Best Practice to check readOnly elements

Hi we are using the Eclipse Oxygen Author in Version 15.2 I want to drag an element. If I move the cursor over an readOnly element, there will be no DND.DROP_NONE symbol. So I implemented this: AuthorViewToModelInfo authorViewToModelInfo = getAuthorViewToModelInfo(event); AuthorNode node = authorVie...
by Denis
Tue Sep 30, 2014 7:02 pm
Forum: Other Issues
Topic: Graphic is disposed
Replies: 3
Views: 3233

Re: Graphic is disposed

Hi Radu,

I use the

Code: Select all

closeEditors(IEditorReference[], boolean)
method from the

Code: Select all

IWorkbenchPage
.
Is there a watchdog on your side, which holds the file? And if how long he holds the file?

Best regards,
Denis
by Denis
Thu Sep 25, 2014 12:23 pm
Forum: Other Issues
Topic: Graphic is disposed
Replies: 3
Views: 3233

Graphic is disposed

Hi we are using the Eclipse Oxygen Author in Version 15.2 I close a editor tab programmatically. Now I get a SWT.Exception back, which tells me the graphic is disposed. It is difficult for me to debug, because I can not see which graphic will be disposed to early: Caused by: org.eclipse.swt.SWTExcep...
by Denis
Fri Sep 05, 2014 3:16 pm
Forum: Other Issues
Topic: Problem with @ in conref
Replies: 1
Views: 1049

Problem with @ in conref

Hi we are using the Eclipse Oxygen Author in Version 15.2. I use the insertFragmentSchemaAware method to insert a fragment, which contains a conref attribute. So far so good. Now I want to refer a file, which contains a »@« symbol in the filename, but in the editor occurs a »Error while parsing exte...
by Denis
Fri Aug 08, 2014 6:55 pm
Forum: Other Issues
Topic: getFullySelectedNode throws NullPointerException
Replies: 4
Views: 1621

Re: getFullySelectedNode throws NullPointerException

Hi Radu, you are right, I did add a contribution item to the internal toolbar. This item is only available, when a fullySelectedNode is selected. For that reason I add the property Tester. if (currentPage instanceof WSAuthorEditorPage) { WSAuthorEditorPage authorEditorPage = (WSAuthorEditorPage) cur...
by Denis
Fri Aug 08, 2014 11:01 am
Forum: Other Issues
Topic: getFullySelectedNode throws NullPointerException
Replies: 4
Views: 1621

Re: getFullySelectedNode throws NullPointerException

Hi

The exception occurs only, when I switch from the Text editor mode to the Author editor mode (I check if the page is an WSAuthorEditorPage). So you are right.

Is it possible to fix this NullPointerException and get null back, in the next version?

Best regards,
Denis
by Denis
Thu Aug 07, 2014 4:03 pm
Forum: Other Issues
Topic: getFullySelectedNode throws NullPointerException
Replies: 4
Views: 1621

getFullySelectedNode throws NullPointerException

Hi we are using the Eclipse Oxygen Author in Version 15.2 I create a PropertyTester, which check if a node is fullySelected AuthorNode fullySelectedNode = authorEditorPage.getFullySelectedNode(); . Now I load a file with this content: <?xml version="1.0" encoding="UTF-8"?><note n...
by Denis
Thu Jun 19, 2014 4:57 pm
Forum: Other Issues
Topic: How to change the message, if a href is empty?
Replies: 1
Views: 996

How to change the message, if a href is empty?

Hello Oxygen Team, We are using the Oxygen Author Eclipse plugin in version 15.2. We want to change the "Empty URL reference" message of an image XML element in a Dita Task. http://i62.tinypic.com/a4omt2.png We can not figure out where to change the message? the href is validated? Best reg...