Search found 1008 matches

by alex_jitianu
Thu Aug 28, 2014 3:20 pm
Forum: SDK-API, Frameworks - Document Types
Topic: PluginWorkspaceTCBase class moved?
Replies: 3
Views: 2725

Re: PluginWorkspaceTCBase class moved?

Hello, Something like that. Unfortunately you are forced to use the system scope on the dependency (is required when using systemPath ) so you can't just use it for tests. You'll always use these jars instead of the default one. But that's why I've excluded the default oxygen jar: <dependency> <grou...
by alex_jitianu
Thu Aug 28, 2014 11:20 am
Forum: Common Problems
Topic: Best way to deploy Global Options?
Replies: 23
Views: 8421

Re: Best way to deploy Global Options?

Hello, It's always a good thing clarify any uncertainties in the documentation, so you're not disturbing at all! - You are correct. If some pages can't be stored at project level then you wont be able to use an *.xpr file. In this case you'll probably be better with exporting the global options. Per...
by alex_jitianu
Tue Aug 26, 2014 5:08 pm
Forum: SDK-API, Frameworks - Document Types
Topic: PluginWorkspaceTCBase class moved?
Replies: 3
Views: 2725

Re: PluginWorkspaceTCBase class moved?

Hello Martin, First of all I'm sorry for the late reply. The Oxygen SDK tries to be as lightweight as possible and we didn't add PluginWorkspaceTCBase in it because this class needs a lot more JARs and classes. But I agree that it should be possible in the Maven project to write tests and PluginWork...
by alex_jitianu
Tue Aug 26, 2014 1:18 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DVFactoryException
Replies: 5
Views: 2839

Re: DVFactoryException

Hello, I still suspect this is a two Xerces libraries issue... You have a framework extension, right? Do you distribute a xerces.jar with it? Is this Xerces added in the framework Classpath ? If the answer is yes, then you shouldn't do that. Oxygen already has a Xerces. The exception arises when tes...
by alex_jitianu
Mon Aug 25, 2014 2:01 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DVFactoryException
Replies: 5
Views: 2839

Re: DVFactoryException

Hello, I understand that you have followed the instructions for the oXygen SDK to create a Maven based project based on the existing archetype. If that is true, then there should be no need to explicitly add a Xerces dependency in the POM. A dependency already exists in the a super POM. At a first g...
by alex_jitianu
Thu Aug 21, 2014 9:27 am
Forum: Other Issues
Topic: checkbox Action
Replies: 2
Views: 1436

Re: checkbox Action

Hello, Using an ro.sync.ecss.extensions.api.AuthorDocumentFilter to catch the event was also my first thought! It's true that its methods don't receive an AuthorAccess instance, but such a filter it's usually created and set in a context where an AuthorAccess is available. For example on a ro.sync.e...
by alex_jitianu
Tue Aug 05, 2014 2:08 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Content creation/generation with the AuthorSchemaManager
Replies: 3
Views: 3265

Re: Content creation/generation with the AuthorSchemaManager

Hello Simon, I agree that the solution is by far the most elegant one... but unfortunately it's all you can do with the current API... I've added an issue regarding a dedicated API as you suggested. We don't have an API for getting the existing value of an option because of security reasons (the val...
by alex_jitianu
Tue Aug 05, 2014 10:22 am
Forum: SDK-API, Frameworks - Document Types
Topic: Content creation/generation with the AuthorSchemaManager
Replies: 3
Views: 3265

Re: Content creation/generation with the AuthorSchemaManager

Hello, You can make sure the options are set to the required value before executing the code: PluginWorkspaceProvider.getPluginWorkspace().setGlobalObjectProperty("code.insight.add.first.choice", true); PluginWorkspaceProvider.getPluginWorkspace().setGlobalObjectProperty("code.insight...
by alex_jitianu
Mon Aug 04, 2014 11:40 am
Forum: Common Problems
Topic: Action for changing multiple elements at once
Replies: 3
Views: 1946

Re: Action for changing multiple elements at once

Hello Frank, ChangeAttributeOperation has an argument named elementLocation . Its value is an XPath expression that identifies the element to process. Unfortunately for you use case, ChangeAttributeOperation processes only one element (so even if you use an XPath expression that identifies multiple ...
by alex_jitianu
Tue Jul 29, 2014 12:13 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Author view adds white-space unintended
Replies: 1
Views: 2015

Re: Author view adds white-space unintended

Hello Stefan, From what I understand that extra space remains from the indent inside Inhalt : <Inhalt> <Kursivtext> Inhalt is mixed (both child elements and text content). It's probably also declared inside the schema as being mixed. Because it's being seen as mixed, that starting indent is consider...
by alex_jitianu
Tue Jul 29, 2014 10:41 am
Forum: SDK-API, Frameworks - Document Types
Topic: Accessing the Unsaved Changes dialog within a plugin?
Replies: 1
Views: 1685

Re: Accessing the Unsaved Changes dialog within a plugin?

Hello Kit, Unfortunately that dialog is not reachable through the public API. Also, I have noticed if you have modifications int he Dita Map Editing area that file does not show up in the list of unsaved changes when exiting Oxygen. If there are modified resources both in the main editing area and i...
by alex_jitianu
Mon Jul 28, 2014 5:15 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Inserting a new Action
Replies: 3
Views: 2370

Re: Inserting a new Action

Hello, 1) From what I understand, you want this action to appear inside the content completion window, which appears when you press ENTER. Once you've configured an author action , you add it inside this menu as described inside topic: Customize Content Completion . This action will be presented onl...
by alex_jitianu
Mon Jul 28, 2014 4:37 pm
Forum: Common Problems
Topic: Specifying a root map for key references resolving programma
Replies: 15
Views: 7013

Re: Specifying a root map for key references resolving progr

Hello Alex, I can't tell you how glad I am that we are making progress! First of all, I understand you continued on the KeyDefinitionManager path. One aspect that I feel necessary to be mentioned is that the getContextKeyDefinitions() method can be called quite often so it might be a good idea to im...
by alex_jitianu
Mon Jul 28, 2014 11:21 am
Forum: Common Problems
Topic: MathFlow Concurrent Licenses Warning
Replies: 2
Views: 1824

Re: MathFlow Concurrent Licenses Warning

Hello Patrick,

I agree that these type of messages should be presented to the user. What Oxygen version are you using? Could you send us the log file on our support email address (support@oxygenxml.com) so that we can get a better understanding on what it's happening?

Best regards,
Alex
by alex_jitianu
Fri Jul 25, 2014 4:19 pm
Forum: Common Problems
Topic: Specifying a root map for key references resolving programma
Replies: 15
Views: 7013

Re: Specifying a root map for key references resolving progr

Hi Alex, I really expected the resolver to solve the problem. You set the URI resolver before loading the map, right? Please try to set it again just before loading the topic that uses the keys... perhaps there is some code that resets the resolvers (if that happens, that would be a problem on our p...
by alex_jitianu
Thu Jul 24, 2014 4:35 pm
Forum: Common Problems
Topic: Specifying a root map for key references resolving programma
Replies: 15
Views: 7013

Re: Specifying a root map for key references resolving progr

Hi Alex, That's just an example on how I tested to see if it works. In my case I had to resolve to something that made sense on my machine. In your case you should probably resolve into something like: [pre]http://nobrui.com:8888/repository_root?sourceDocPath=null&destDocPath=%2FDitaWorks+Root+F...
by alex_jitianu
Thu Jul 24, 2014 3:40 pm
Forum: Common Problems
Topic: Specifying a root map for key references resolving programma
Replies: 15
Views: 7013

Re: Specifying a root map for key references resolving progr

Hi Alex, Oxygen should have no problem reading from an URL like that. One thing that wont work well with it though, is the relative path resolving. When the URL to reuseTopic.xml will be computed, it will be done similar with the code below. String mapLocation = "http://nobrui.com:8888/reposito...
by alex_jitianu
Thu Jul 24, 2014 2:20 pm
Forum: General XML Questions
Topic: Simple DITA topic validation question
Replies: 6
Views: 4308

Re: Simple DITA topic validation question

Hello, The Schematron involved in examining the IDs needs access to the class attributes. Because when running a Schematron we are using Saxon 9 PE, the schema is not loaded and the class attribute values are unknown. To make it schema aware, please go to Preferences, page XML / XML Parser / Schemat...
by alex_jitianu
Wed Jul 23, 2014 11:28 am
Forum: SDK-API, Frameworks - Document Types
Topic: Author component: Create an action to move a node
Replies: 2
Views: 2242

Re: Author component: Create an action to move a node

Hello, Such a behavior is not possible to implement in an author author action (in a general fashion) by using only the existing author operations (an action consists in one or more operations). The good news is that such a move AuthorOperation can be implemented using the public API. Basically this...
by alex_jitianu
Wed Jul 23, 2014 10:19 am
Forum: Common Problems
Topic: Specifying a root map for key references resolving programma
Replies: 15
Views: 7013

Re: Specifying a root map for key references resolving progr

Hi Alex, What version of Author Component are you using? I've also tested the sample files inside our sample applet implementation and it worked just fine. Could you try it too (the scenario inside the sample project) and tell me if it works for you too? Inside AuthorComponentSample, I've changed DE...
by alex_jitianu
Tue Jul 22, 2014 5:25 pm
Forum: Common Problems
Topic: Specifying a root map for key references resolving programma
Replies: 15
Views: 7013

Re: Specifying a root map for key references resolving progr

Hi Alex, What I've noticed in the given snapshots: 1. Inside the map the href attribute value is reuseTopic. dita and a little further down, you talk about reuseTopic. xml (so the extensions differ). Please make sure the correct extension is being used in the keydef . 2. Inside the topic file, the r...
by alex_jitianu
Tue Jul 22, 2014 4:38 pm
Forum: Common Problems
Topic: How to save xml using oxygen aplet
Replies: 1
Views: 1077

Re: How to save xml using oxygen aplet

Hello, First of all, using EditorComponentProvider.getWSEditorAccess() you get access to the following API: 1. ro.sync.exml.workspace.api.editor.WSEditorBase.save() - this methods opens an output stream to the URL of the editor and saves in it. The protocol must support output writing. You said you ...
by alex_jitianu
Tue Jul 22, 2014 8:52 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: 16.0 Extend Framework
Replies: 13
Views: 5975

Re: 16.0 Extend Framework

Hi,

I'm sorry for not making it clear... What I meant is that there are two independent solutions, both using CSS resolving through catalog approaches.

Best regards,
Alex
by alex_jitianu
Mon Jul 21, 2014 5:38 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: 16.0 Extend Framework
Replies: 13
Views: 5975

Re: 16.0 Extend Framework

Hi John, Radu is currently on leave so I'll try to help you while he's away. First, I just want to make sure I understood the question. You are extending the built-in DITA framework and you want add changes to the built-in CSS rules. So you want to create a new CSS that imports the original one, lik...
by alex_jitianu
Fri Jul 18, 2014 3:20 pm
Forum: Feature Request
Topic: Adding some Paged Media Module Features
Replies: 3
Views: 2893

Re: Adding some Paged Media Module Features

Hi Patrick, The source code of the built-in frameworks is packed as a Maven artifact/classifier. The SDK based sample project has a module named oxygen-sample-framework . Amongst other things, this module also contains the source files for the built-in frameworks. These sources are automatically bro...
by alex_jitianu
Fri Jul 18, 2014 8:45 am
Forum: TEI
Topic: form controls using attribute @xml:id
Replies: 3
Views: 7971

Re: form controls using attribute @xml:id

Hello,

I don't think the sample files are necessary anymore. I was asking them in the event that none of suggestions helped...

Best regards,
Alex
by alex_jitianu
Thu Jul 17, 2014 3:01 pm
Forum: Other Issues
Topic: Copy XPath of an AuthorNode
Replies: 2
Views: 2245

Re: Copy XPath of an AuthorNode

Hello Simon, Unfortunately we don't have such a method in the API but just like you've mentioned you can computed this expression using the existing API. To help you little, here is how we do it ourselves (I had to replace some private code with API so you should test it yourself in case I've missed...
by alex_jitianu
Thu Jul 17, 2014 2:43 pm
Forum: TEI
Topic: form controls using attribute @xml:id
Replies: 3
Views: 7971

Re: form controls using attribute @xml:id

Hello, First of all it's important to know what Oxygen version are you using? Prior to version 15.2, property edit was not viewed as a qualified name. If the attribute has a namespace, you had to give the name or QName of the attribute just like it appeared in the XML instance. In order for the CSS ...
by alex_jitianu
Thu Jul 17, 2014 9:56 am
Forum: Common Problems
Topic: File Chooser That Understands oXygen Preferences
Replies: 3
Views: 1635

Re: File Chooser That Understands oXygen Preferences

Hello,

You could use one of the "choose" methods inside WorkspaceUtilities, like chooseFile. If you are working with plugin API, PluginWorkspace implements WorkspaceUtilities. If you are using framework level API, you can use AuthorAccess.getWorkspaceAccess.
Best regards,
Alex
by alex_jitianu
Wed Jul 16, 2014 4:22 pm
Forum: SDK-API, Frameworks - Document Types
Topic: WSAuthorEditorPage - proper way to modify popup menu?
Replies: 2
Views: 2009

Re: WSAuthorEditorPage - proper way to modify popup menu?

Hi Kit, As far as I remember, setPopUpMenuCustomizer() was deprecated because there wasn't possible for multiple plugins to register their own customizer. That's why we deprecated it and added two more methods: addPopUpMenuCustomizer() and removePopUpMenuCustomizer() . Could you please give us more ...