Search found 1008 matches

by alex_jitianu
Fri Jul 17, 2015 3:43 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customized CSS in DITA framework add-on
Replies: 3
Views: 2880

Re: Customized CSS in DITA framework add-on

Hello Pascale, Yes, editor variables are not resolved inside CSS imports. Possible solutions: - Inside your extension, when you add the new CSS, leave it without a title. The Alternate check box should not be selected either. What will happen is that this CSS will now contribute to all other main CS...
by alex_jitianu
Fri Jul 17, 2015 10:13 am
Forum: SDK-API, Frameworks - Document Types
Topic: addCustomEditorVariablesResolver exception in trasformation
Replies: 2
Views: 2176

Re: addCustomEditorVariablesResolver exception in trasformat

Hello, What happens is that at some point, in CustomUUIDResolver .resolveEditorVariables() , parameter contentWithEditorVariables has a null value. Just check it for null before trying to expand: public String resolveEditorVariables(String contentWithEditorVariables, String currentEditedFileURL){ if...
by alex_jitianu
Fri Jul 17, 2015 9:38 am
Forum: SDK-API, Frameworks - Document Types
Topic: Implementing listeners & custom breadcrumbs.
Replies: 1
Views: 2020

Re: Implementing listeners & custom breadcrumbs.

Hello, There are two major customization concepts in Oxygen: the framework and the plugin . If you are customizing the Eclipse distribution, then the plugins are actually the Eclipse plugins and you can look at the Eclipse IDE Integration Sample Project to see how an Eclipse plugin can interact with...
by alex_jitianu
Wed Jul 15, 2015 8:58 am
Forum: Other Issues
Topic: overriding display of certain elements in Author View
Replies: 9
Views: 4657

Re: overriding display of certain elements in Author View

Hi Patrik,

I hope so... It will have the features you've mentioned. But I can't guarantee that it will be completely the same experience because we also want to keep the component as lightweight as possible.

Best regards,
Alex
by alex_jitianu
Tue Jul 14, 2015 4:56 pm
Forum: Other Issues
Topic: overriding display of certain elements in Author View
Replies: 9
Views: 4657

Re: overriding display of certain elements in Author View

Hi Toma, I think that I should also mention the text area form control , which right now can only edit the text content of an element. Starting with version 17.1 (the next version) this form control will also be able to edit the entire XML content of an element (so also structure). So it will look l...
by alex_jitianu
Tue Jul 14, 2015 4:40 pm
Forum: Other Issues
Topic: Maven repository configuration in Nexus
Replies: 4
Views: 2514

Re: Maven repository configuration in Nexus

Hi, The Maven repository from http://www.oxygenxml.com/maven/ is not intended to be accessed directly. Maven builds URLs that identify each artifact. For example: http://oxygenxml.com/maven/com/oxygenxml/oxygen/16.1.0/oxygen-16.1.0.jar I don't have much experience with Nexus server but I think you c...
by alex_jitianu
Fri Jul 10, 2015 1:48 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Custom actions/menu/toolbar in text view
Replies: 4
Views: 3318

Re: Custom actions/menu/toolbar in text view

Hi Martin, I've added you vote for the feature but we don't have a estimation yet. It's not a trivial feature and it will involve some architectural changes. I've sent you on your email address a sample plugin that should help you. It reads some scenario names from a file and puts actions on the too...
by alex_jitianu
Fri Jul 10, 2015 8:39 am
Forum: Other Issues
Topic: Author mode, change attributes
Replies: 2
Views: 2048

Re: Author mode, change attributes

Hello,

You can use form controls instead of just static content, like this:

Code: Select all

content:oxy_textfield(edit, '@lang', columns, 40);
There is also the Attributes View which can be used to the same extent.

Best regards,
Alex
by alex_jitianu
Thu Jul 09, 2015 9:26 am
Forum: SDK-API, Frameworks - Document Types
Topic: ${baseFramework} in CSS oxy_url()
Replies: 6
Views: 4393

Re: ${baseFramework} in CSS oxy_url()

Hello, The icons are not exactly API so from version to version they might suffer some minor changes. For example, at some point we change the format from GIF to PNG. As a result, it might be wiser to have a copy of the icons you need in the extended framework. I will still investigate the ${baseFra...
by alex_jitianu
Wed Jul 08, 2015 10:34 am
Forum: SDK-API, Frameworks - Document Types
Topic: Custom actions/menu/toolbar in text view
Replies: 4
Views: 3318

Re: Custom actions/menu/toolbar in text view

Hello Martin, We have an already recorded feature request for this. I will add your vote for it. Meanwhile, you can use our Java based API to add something similar through an Workspace Access plugin. Such a plugin can add actions in a toolbar and from these action you can access the Text page and ma...
by alex_jitianu
Wed Jul 08, 2015 9:52 am
Forum: SDK-API, Frameworks - Document Types
Topic: ${baseFramework} in CSS oxy_url()
Replies: 6
Views: 4393

Re: ${baseFramework} in CSS oxy_url()

Hello,

${baseFramework} is indeed not resolved. I guess is just something we've overlooked. I'll add a feature request for it. Meanwhile, can you give me more insight on the actual use case. Are you referring an icon from the base framework location?

Best regards,
Alex
by alex_jitianu
Tue Jul 07, 2015 3:28 pm
Forum: Common Problems
Topic: Best way to deploy Global Options?
Replies: 23
Views: 8421

Re: Best way to deploy Global Options?

Hello Frank, 1. The fact that the writers don't have write access to oXygen's installation folder is not necessary a bad thing. They are not intended to put the default options file there. A system administrator should put the file there to make sure the writers are working in the right environment ...
by alex_jitianu
Fri Jun 26, 2015 2:38 pm
Forum: Common Problems
Topic: Content Completion Config with XSLT
Replies: 10
Views: 5165

Re: Content Completion Config with XSLT

Hi Toma, The idea is the same but the API differs a bit (please see the code below). I've also added an issue and in version 17.1 (hopefully) the XSLT script will receive an XPath expression that will identify the context element. <?xml version="1.0" encoding="UTF-8"?> <xsl:style...
by alex_jitianu
Fri Jun 26, 2015 10:47 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Changing default values for table creation
Replies: 12
Views: 6509

Re: Changing default values for table creation

Hello Gary, From what I remember you created an extension and defined an author action in it. I did the same and the extension was loaded correctly in version 17.0. Can you send us the extension on support@oxygenxml.com so that we can take a look at it? I can assure you we will only use it to search...
by alex_jitianu
Fri Jun 26, 2015 10:34 am
Forum: Common Problems
Topic: Content Completion Config with XSLT
Replies: 10
Views: 5165

Re: Content Completion Config with XSLT

Hi, You can access the context by using Java extension functions. Basically by calling our Java API from the XSLT. Here is how to treat the case when the user invokes Content Completion from the text page(if you also need the author page please let me know): <?xml version="1.0" encoding=&q...
by alex_jitianu
Tue Jun 16, 2015 10:16 am
Forum: Other Issues
Topic: Configuring oXygen debugger with MarkLogic?
Replies: 1
Views: 1485

Re: Configuring oXygen debugger with MarkLogic?

Hello, So you are trying to do what we call a Remote debugging which means intercepting an HTTP request on the server and debug it in Oxygen. In this type of scenario there are two AppServers involved: 1. The HTTP server that normally receives requests and executes XQuery 2. An XDBC server that Oxyg...
by alex_jitianu
Tue Jun 16, 2015 8:46 am
Forum: Other Issues
Topic: visibility:-oxy-collapse-text; Element Insert Side-effect?
Replies: 5
Views: 3502

Re: visibility:-oxy-collapse-text; Element Insert Side-effec

Hi Manish,

You can use button form controls to insert elements in areas marked as -oxy-text-collapse. I've given a more detailed answer on this thread: http://www.oxygenxml.com/forum/post34341.html#p34341 . Hope it helps.

Best regards,
Alex
by alex_jitianu
Mon Jun 15, 2015 9:15 am
Forum: Feature Request
Topic: AuthorActionGroup-Button
Replies: 2
Views: 2339

Re: AuthorActionGroup-Button

Hello Patrik,

As it happens we already have such a buttons group form control. If you are using version 16.1 please use the actionIDs parameter to populate the pop-up with actions (in version 17.0 we've added a new property named actions).

Best regards,
Alex
by alex_jitianu
Wed Jun 03, 2015 12:40 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Implementing and extending autocorrect functionality
Replies: 3
Views: 2596

Re: Implementing and extending autocorrect functionality

Hello, 1.As long as you surround all the code like this, you should have just one UNDO... This code executes from an AuthorDocumentFilter event, right? AuthorDocumentController ctrl = ...; ctrl.beginCompoundEdit(); try { // My code } finally { ctrl.endCompoundEdit(); } 2. From the snippet I see a su...
by alex_jitianu
Tue Jun 02, 2015 2:25 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Implementing and extending autocorrect functionality
Replies: 3
Views: 2596

Re: Implementing and extending autocorrect functionality

Hello, As far as I can tell you have started on the right path by using an AuthorDocumentFilter. 1. For spellcheck we are using Hunspell but unfortunately there is no API to allow you to use it. You could use a library like Lucene. 2. I'll add an issue to add some API on the auto-correct side. Maybe...
by alex_jitianu
Tue Jun 02, 2015 10:24 am
Forum: SDK-API, Frameworks - Document Types
Topic: Hide Author tab?
Replies: 3
Views: 2429

Re: Hide Author tab?

Hello Scott,

I'm not sure why the 16.1 wouldn't work since that API is quite old. I've tested on the 16.1 SDK and in my case it worked. But, if version 17.0 is O.K. then I wont chance this any further.

Best regards,
Alex
by alex_jitianu
Tue Jun 02, 2015 10:22 am
Forum: SDK-API, Frameworks - Document Types
Topic: Put the Applet on a diet
Replies: 11
Views: 5458

Re: Put the Applet on a diet

Hello Scott, The unzipped TEI framework has 42MB. If you have a deeper knowledge than I about what each resource is about you could try and remove from them. For example there are a lot of schema (for different flavours or TEI) and you could just keep the ones that you work with. I see that there is...
by alex_jitianu
Tue Jun 02, 2015 8:45 am
Forum: SDK-API, Frameworks - Document Types
Topic: setEditable odd behavior
Replies: 6
Views: 4159

Re: setEditable odd behavior

Hello, Ups! I'm sorry for sending you on a wild goose chase... You can try a KeyListener instead. I've tested such a listener and it receives events: JTextComponent comp = (JTextComponent) page.getTextComponent(); comp.addKeyListener(new KeyListener() { public void keyTyped(KeyEvent e) { System.out....
by alex_jitianu
Mon Jun 01, 2015 11:02 am
Forum: SDK-API, Frameworks - Document Types
Topic: setEditable odd behavior
Replies: 6
Views: 4159

Re: setEditable odd behavior

Hello, Unfortunately that message doesn't come from a common place. It is specific to the Author mode. You could use the API to present a similar message when the user edits in the text mode: // Create the AuthorComponent editorComponent = factory.createEditorComponentProvider( new String[] {EditorP...
by alex_jitianu
Mon Jun 01, 2015 10:47 am
Forum: SDK-API, Frameworks - Document Types
Topic: Put the Applet on a diet
Replies: 11
Views: 5458

Re: Put the Applet on a diet

Hello, The frameworks.jar contains specific support for a number of XML vocabularies (DITA, TEI etc). Since you are only interested in TEI you can remove all other frameworks from it. You could look for *.framework files and you remove all directories that contain such a file (except for the tei dir...
by alex_jitianu
Mon Jun 01, 2015 10:34 am
Forum: SDK-API, Frameworks - Document Types
Topic: Hide Author tab?
Replies: 3
Views: 2429

Re: Hide Author tab?

Hello, You want to present only the TEXT mode? If that's the case, when creating the editor component you can specify which pages to be presented. In your case you should give the TEXT mode. http://www.oxygenxml.com/InstData/Editor/SDK/javadoc/ro/sync/ecss/extensions/api/component/AuthorComponentFac...
by alex_jitianu
Wed May 27, 2015 12:15 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Save document event
Replies: 1
Views: 1621

Re: Save document event

Hello,

Can you give me more details about the context in which you want to trigger the "save" event? For example, is it when the user clicks on an action on the toolbar? Do you have a framework? Or are you developing a plugin?

Best regards,
Alex
by alex_jitianu
Mon May 25, 2015 1:31 pm
Forum: DocBook
Topic: Creating Author Mode Custom CSS Layer for Docbook
Replies: 2
Views: 5484

Re: Creating Author Mode Custom CSS Layer for Docbook

Hello Steve, First of all you should remove the import of docbook.css from tmwbook.css . Afterwards, edit your document type extension and on the CSS tab add a new entry with tmwbook.css in one of the following way: 1. When specifying the tmwbook.css , make sure you give it the title Default (the sa...
by alex_jitianu
Wed May 13, 2015 2:46 pm
Forum: Common Problems
Topic: CSS @page marked invalid?
Replies: 2
Views: 1647

Re: CSS @page marked invalid?

Hello Martin, Thank you for reporting this issue. There are two aspects to correct here: 1. we need to update the W3C CSS Validator from within Oxygen 2. the error message tries to help you but it doesn't take into account the at-rule when looking for the property in other profiles. Best regards, Alex