Search found 206 matches

by SSC
Fri Nov 08, 2013 2:33 pm
Forum: Other Issues
Topic: Use TextTransfer in an AuthorDnDListener
Replies: 15
Views: 7215

Re: Use TextTransfer in an AuthorDnDListener

Hi Radu, one important thing I forgot to mention is that the Eclipse internal org.eclipse.swt.browser.Browser is used and not an external browser like firefox. The org.eclipse.swt.browser.Browser internally used the Microsoft Internet-Explorer, but unfortunately with the standalone Microsoft Interne...
by SSC
Fri Nov 08, 2013 2:12 pm
Forum: Other Issues
Topic: Use TextTransfer in an AuthorDnDListener
Replies: 15
Views: 7215

Re: Use TextTransfer in an AuthorDnDListener

Hello Radu, could you please add the new HTML 5 draggable="true" attribute to your <p> xml element? <p id="para" draggable="true">THIS IS PARA </p> I recognised that it works without the draggable attribute, but in case the draggable attribute is set I do only once get ...
by SSC
Wed Nov 06, 2013 6:04 pm
Forum: Other Issues
Topic: Schema aware content inseration with required content
Replies: 6
Views: 3536

Re: Schema aware content inseration with required content

Hello Radu, the problem about your solution is that I just get the ro.sync.contentcompletion.xml.WhatElementsCanGoHereContext for the caret position. But in case the caret position is not valid for the element, which is supposed to be inserted, and the dialog with alternatives appears, the caret pos...
by SSC
Mon Nov 04, 2013 1:43 pm
Forum: Other Issues
Topic: Schema aware content inseration with required content
Replies: 6
Views: 3536

Re: Schema aware content inseration with required content

Hi Radu,

or is it somehow possible to get only the required elements of an existing element, so that I can add those elements afterwards? After the node with the schema aware dialog is used?

Best regards,

Simon
by SSC
Mon Nov 04, 2013 1:18 pm
Forum: Other Issues
Topic: Schema aware content inseration with required content
Replies: 6
Views: 3536

Re: Schema aware content inseration with required content

Hello Radu, I do use the ro.sync.ecss.extensions.api.AuthorDocumentController.insertXMLFragmentSchemaAware("<CertainElementWithConrefAttribute", desiredOffset) , because of the nice Dialog, which comes up if the new content is not inserted at a correct offset according to the schema and th...
by SSC
Fri Nov 01, 2013 3:52 pm
Forum: Other Issues
Topic: Schema aware content inseration with required content
Replies: 6
Views: 3536

Schema aware content inseration with required content

Hello, I do use the ro.sync.ecss.extensions.api.AuthorDocumentController.insertXMLFragmentSchemaAware(String, int) to insert certain xml elements with DITA conrefs. When I insert a conref of an <ul>, I do call something similar like that: ro.sync.ecss.extensions.api.AuthorDocumentController.insertXM...
by SSC
Fri Nov 01, 2013 11:54 am
Forum: Feature Request
Topic: Support for transparent images(gif and png)
Replies: 1
Views: 2260

Support for transparent images(gif and png)

Hello, we use the Oxygen Author Eclipse Plugin and want to use transparent images. For instance, when we want to style the before content: .note:BEFORE{ content: url(transparent-image.png); background-color: blue; } I guess there is already a feature request for this feature, but I did not find it. ...
by SSC
Wed Oct 16, 2013 11:16 am
Forum: Other Issues
Topic: [15.1] Index out of bounds Exception, when inserting a PI an
Replies: 5
Views: 3281

Re: [15.1] Index out of bounds Exception, when inserting a P

This happened during a drag and drop, correct? Yes, but the drag is from the editor onto an object on our side.(so it has nothing to do with an com.oxygenxml.editor.editors.author.AuthorDnDListener ) This means that we turn tags on in the Author View and drag AuthorNodes out of the editor. Do you u...
by SSC
Tue Oct 15, 2013 6:31 pm
Forum: Other Issues
Topic: [15.1] Index out of bounds Exception, when inserting a PI an
Replies: 5
Views: 3281

[15.1] Index out of bounds Exception, when inserting a PI an

Hello, Since Oxygen Author version 15.1 we get an java.lang.IllegalArgumentException: Index out of bounds. This occurs, when I do add a certain PI inside an AuthorNode and then refresh the parent of the AuthorNode: private void adjustDataToAuthorNode(WSAuthorEditorPage editorPage, AuthorDocumentCont...
by SSC
Tue Oct 15, 2013 5:07 pm
Forum: Other Issues
Topic: Use TextTransfer in an AuthorDnDListener
Replies: 15
Views: 7215

Re: Use TextTransfer in an AuthorDnDListener

Hello Radu, just as you suggested I printed the stacktrace. Here is the console output, when I just enter the editor area. kguPreviewRefNodenote java.lang.Exception at de.kgucms.kgu.tps.client.oxygen.extensions.pimod.authordndlistener.PIModAuthorDndListener.isAuthorEventOfInterest(PIModAuthorDndList...
by SSC
Tue Oct 15, 2013 12:14 pm
Forum: Other Issues
Topic: Use TextTransfer in an AuthorDnDListener
Replies: 15
Views: 7215

Re: Use TextTransfer in an AuthorDnDListener

Hello Radu, I´d just testet this DnD functionality of Oxygen 15.1 and recognized that the de.kgucms.kgu.tps.client.oxygen.extensions.pimod.authordndlistener.PIModAuthorDndListener.isAuthorEventOfInterest(DropTargetEvent) is called two times. The first time, the isAuthorEventOfInterest is invoked, I ...
by SSC
Wed Sep 25, 2013 11:46 am
Forum: Other Issues
Topic: Use TextTransfer in an AuthorDnDListener
Replies: 15
Views: 7215

Re: Use TextTransfer in an AuthorDnDListener

Hello Radu, that sounds great. :) Yesterday I´d spend some time in copying the functionality of your SDKs DITAExtensionsBundle and DITASchemaAwareEditingHandler in order to provide my own implemenentation for the handlePasteFragment method, which cumbersome and ugly. So if the isAuthorEventOfInteres...
by SSC
Tue Sep 24, 2013 11:51 am
Forum: Other Issues
Topic: Use TextTransfer in an AuthorDnDListener
Replies: 15
Views: 7215

Re: Use TextTransfer in an AuthorDnDListener

Maybe we could offer the possibility to set in the Extensions tab (Document Type Edit Dialog) an individual AuthorSchemaAwareEditingHandler implementation (which would still need to extend the proper base XML vocabulary implementation) instead of extending the entire extensions bundle. What would y...
by SSC
Tue Sep 17, 2013 4:15 pm
Forum: Other Issues
Topic: Use TextTransfer in an AuthorDnDListener
Replies: 15
Views: 7215

Re: Use TextTransfer in an AuthorDnDListener

Hello Radu, this would mean that I have to extend every custom AuthorSchemaAwareEditingHandlerAdapter of every Framework. Here is my suggested sample code for DITA. public class TextPasteModifyingExtensionsBundle extends DITAExtensionsBundle{ private AuthorSchemaAwareEditingHandlerAdapter authorSche...
by SSC
Mon Sep 16, 2013 3:13 pm
Forum: Other Issues
Topic: Use TextTransfer in an AuthorDnDListener
Replies: 15
Views: 7215

Use TextTransfer in an AuthorDnDListener

Hello, we are using the Eclipse embedded Oxygen Author version 15. It seems that the org.eclipse.swt.dnd.TextTransfer cannot be used in an com.oxygenxml.editor.editors.author.AuthorDnDListener I just tried to extend our existing AuthorDnDListener and added the TextTransfer to it. But when I try to d...
by SSC
Thu Jul 18, 2013 5:40 pm
Forum: Feature Request
Topic: PDF files as graphic objects in Author-View of the Editor
Replies: 6
Views: 4085

PDF files as graphic objects in Author-View of the Editor

Hello, we have got customers, who use PDF as graphic objects in their XML content. Could you somehow imagine to also view PDFs similar to the common graphic files in the Author-View of the Editor. The Antenna House Formatter is also able to use PDF files as graphics in the PDF publish and therefore ...
by SSC
Thu Jul 11, 2013 6:04 pm
Forum: Other Issues
Topic: Editor gains focus, while conref is edited
Replies: 3
Views: 1956

Re: Editor gains focus, while conref is edited

I cannot quite reproduce the behavior on my side. So you are referring to the Author mode, right? That´s right. Did you create some kind of custom Attributes view which uses our AuthorDocumentController API to set attributes to the current XML element? Yes we have our own properties view for all pr...
by SSC
Thu Jul 11, 2013 12:57 pm
Forum: Other Issues
Topic: Editor gains focus, while conref is edited
Replies: 3
Views: 1956

Editor gains focus, while conref is edited

Hello, in our cms we allow the user to edit the attributes of a xml document directly. This means while the user is typing the new value for an attribute the typed letters are directly inserted. The problem is when the user types a new value for the conref attribute, the editor gains the focus so th...
by SSC
Thu Jun 13, 2013 3:26 pm
Forum: Other Issues
Topic: Transform Document in Author at runtime
Replies: 1
Views: 1251

Transform Document in Author at runtime

Hello, is it somehow possible to do a XSL transformation of a document, which is currently shown in the oXygen Author? I mean parse it at runtime and then directly show the result in the Editor? So that die currently opened document is chanced, instead of creating a new document, which contains the ...
by SSC
Fri May 31, 2013 2:07 pm
Forum: Other Issues
Topic: Is there a custom Paste-Handler for certain Java objects?
Replies: 1
Views: 1255

Is there a custom Paste-Handler for certain Java objects?

Hello, I wanted to alternate the paste operation in order to paste certain data into the content. I found the ro.sync.ecss.extensions.api.AuthorExternalObjectInsertionHandler and wonder if it could also be possible to paste a Java object and insert individual data according to the java objects prope...
by SSC
Tue Apr 30, 2013 11:22 am
Forum: Other Issues
Topic: Omit showing XML elements in content assist, which are not a
Replies: 2
Views: 1279

Omit showing XML elements in content assist, which are not a

Hello, We have a DTD, which defines a certain order of the child elements of a XML element, but all the childelements are optional. The problem we just faced is that the content assist and the elements view also offers those XML elements, which would cause a validation error, because of a wrong orde...
by SSC
Thu Mar 28, 2013 11:02 am
Forum: Other Issues
Topic: DTD for Templates in the New Wizard
Replies: 3
Views: 1850

Re: DTD for Templates in the New Wizard

Hello Radu,

thank you, that was exactly what I wanted. :)

Best regards,

Simon
by SSC
Wed Mar 27, 2013 5:08 pm
Forum: Other Issues
Topic: DTD for Templates in the New Wizard
Replies: 3
Views: 1850

Re: DTD for Templates in the New Wizard

Or can I define a schema folder for the document type, so that the schemas, which are defined in the XML document, can be looked up there?
by SSC
Wed Mar 27, 2013 5:05 pm
Forum: Other Issues
Topic: DTD for Templates in the New Wizard
Replies: 3
Views: 1850

DTD for Templates in the New Wizard

Hello, we´ve got a custom Document Type Association for PI-Mod and I just created some templates and defined them in our pi-mod.framework file. PI-Mod itself has several topic types and each of them got a different DTD. When I try to use a template the dtd, which is defined in the head of the XML te...
by SSC
Wed Mar 20, 2013 12:22 pm
Forum: Other Issues
Topic: oxy-label()
Replies: 12
Views: 5107

Re: oxy-label()

Hello Radu, in some cases we add a line break to the :BEFORE content. public static final String SYSTEM_LINE_BREAK = System.getProperty("line.separator"); //$NON-NLS-1$ When I passed text with line breaks to the ro.sync.ecss.css.StringContent.StringContent("text with line breaks"...
by SSC
Thu Mar 14, 2013 4:45 pm
Forum: Other Issues
Topic: oxy-label()
Replies: 12
Views: 5107

Re: oxy-label()

Hi Radu,

unfortunately it seems that the ro.sync.ecss.css.functions.LabelCSSConstants are obfuscated. :(
Could you please also make the LabelCSSConstants non obfuscated?

Best regards,

Simon
by SSC
Thu Mar 14, 2013 4:34 pm
Forum: Other Issues
Topic: oxy-label()
Replies: 12
Views: 5107

Re: oxy-label()

Hi, Well done, the ro.sync.ecss.css.LabelContent works. :) Just one little enhancement would be great for the LabelContent class. Could you provide some constants in your LabelContent class for the Map, which is passed to the LabelContent? That would be better than putting plain Strings as keys to t...
by SSC
Tue Mar 05, 2013 4:35 pm
Forum: Other Issues
Topic: ro.sync.ecss.extensions.api.AuthorAccess in the ro.sync.ecss.extensions.api.StylesFilter
Replies: 3
Views: 2225

ro.sync.ecss.extensions.api.AuthorAccess in the ro.sync.ecss.extensions.api.StylesFilter

Hello, in our Eclipse embedded ro.sync.ecss.extensions.api.StylesFilter we use the localization mechanism of Eclipse. Now we also got customers, who use the standalone version of the oXygen Author and should also use our custom StyleFilter, where some localization is necessary. In this case we came ...
by SSC
Tue Mar 05, 2013 4:08 pm
Forum: Other Issues
Topic: oxy-label()
Replies: 12
Views: 5107

Re: oxy-label()

Hi Radu,

ok, I see :)

Looking forward to the next 14.2 minor bug fix release.

Best regards,

Simon
by SSC
Tue Mar 05, 2013 12:04 pm
Forum: Other Issues
Topic: oxy-label()
Replies: 12
Views: 5107

Re: oxy-label()

Hello Radu, is this oxy_label() function also available in a StylesFilter? So that I can distinguish between the CSS content by for instance changing its color? Could you please explain how it can be used? Currently I add new CSS content like that: StaticContent[] existingMixedContent = styles.getMi...