Search found 1008 matches

by alex_jitianu
Fri Dec 12, 2014 10:51 am
Forum: Common Problems
Topic: Hide indexterm in author view?
Replies: 1
Views: 1336

Re: Hide indexterm in author view?

Hello, I believe you are referring to the static content that is presented before/after an indexterm element. This content is added in the CSS so all you have to do is edit ${oxygenInstallDir}/frameworks/docbook/css/docbook.css and remove the following two rules: indexterm:before { content: "In...
by alex_jitianu
Fri Dec 12, 2014 10:26 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Creating dialog boxes in eclipse oxygen plug-in
Replies: 15
Views: 14125

Re: Creating dialog boxes in eclipse oxygen plug-in

Hello Shabeer, Most likely you are not seeing the dialog because you are instantiating a new display. You could just get the existing one Display.getDefault() or just use an org.eclipse.jface.dialogs.Dialog like in the code below: package simple.documentation.framework.operations; import org.eclipse...
by alex_jitianu
Wed Dec 10, 2014 4:59 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Creating dialog boxes in eclipse oxygen plug-in
Replies: 15
Views: 14125

Re: Creating dialog boxes in eclipse oxygen plug-in

Hello Shabeer, The exception tells you should perform a specific action on the SWT thread. The full exception should be available in Eclipse Error Log view. I don't know exactly how your code is intended to work but I suspect you are trying to modify/update the GUI from a thread. If these type of si...
by alex_jitianu
Wed Dec 10, 2014 1:34 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Creating dialog boxes in eclipse oxygen plug-in
Replies: 15
Views: 14125

Re: Creating dialog boxes in eclipse oxygen plug-in

Hello Shabeer, The reason you are not seeing the class is because you declared it as an abstract class so it can't be instantiated. ro.sync.ecss.extensions.api.AuthorOperation is an interface and in order for your custom operation to work properly you have to implement all of its methods. The dialog...
by alex_jitianu
Tue Dec 09, 2014 4:48 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Creating dialog boxes in eclipse oxygen plug-in
Replies: 15
Views: 14125

Re: Creating dialog boxes in eclipse oxygen plug-in

Hi Shabeer, Since you're having a Maven the easiest way to create a jar would be to use the Maven phases. You can invoke the contextual menu on the .pom file (in Eclipse) and select Run as->Maven Install . After the execution ends you will find a jar file in {projectDirectory}/target/ . Another way ...
by alex_jitianu
Tue Dec 09, 2014 10:53 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Accessing document content
Replies: 2
Views: 1441

Re: Accessing document content

Hello, The API you are using (WSXMLTextEditorPage) is intended for when the text page is the active page. I suspect that in your situation the author page is active. You can handle both cases like this: String currentPageID = editorAccess.getCurrentPageID(); Object[] values = null; if (EditorPageCon...
by alex_jitianu
Wed Dec 03, 2014 5:50 pm
Forum: Common Problems
Topic: How to copy-paste groups of cells, not whole column
Replies: 5
Views: 2857

Re: How to copy-paste groups of cells, not whole column

Hello, I can confirm this behavior. As I see it, we are just at the beginning with the cell selection. The main use case for it right now is to invoke the "Table Properties..." action on all of those cells. But in time we will add more and more uses for it. Let me see if I understood your ...
by alex_jitianu
Wed Dec 03, 2014 3:32 pm
Forum: Other Issues
Topic: Where is XSDSchemaDocumentationGenerator class ?
Replies: 2
Views: 1540

Re: Where is XSDSchemaDocumentationGenerator class ?

Hello Vince, The reason is that the oxygen.jar from the SDK is a subset of the oxygen.jar distributed in an Oxygen installation. It has all the API classes needed to compile the extensions as well as all the code needed to run the author component/applet. The solution is to make the Maven project us...
by alex_jitianu
Tue Dec 02, 2014 10:52 am
Forum: SDK-API, Frameworks - Document Types
Topic: Setting up Eclipse with Maven for Oxygen SDK
Replies: 3
Views: 7059

Re: Setting up Eclipse with Maven for Oxygen SDK

Hello, Just in case anyone else bumps into a similar issue this how Dirk managed to solve the issue: 1. delete archetype-catalog.xml from user.home/.m2 (it's next to settings.xml) 2. open a console, go to a test directory and run the following command: mvn archetype:generate -DarchetypeGroupId=com.o...
by alex_jitianu
Thu Nov 27, 2014 10:19 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Creating dialog boxes in eclipse oxygen plug-in
Replies: 15
Views: 14125

Re: Creating dialog boxes in eclipse oxygen plug-in

Hello Shabeer, Yes, you can just just take the source files that interest you. For example you can: 1. copy InsertlinkOperation inside *oxygen-sample-framework/src/main/java*. Prior to that you might want to create the correct package location for this class. Because this class has reference to othe...
by alex_jitianu
Thu Nov 27, 2014 10:01 am
Forum: DocBook
Topic: How to customize InsertXrefOperation?
Replies: 3
Views: 5652

Re: How to customize InsertXrefOperation?

Hello Patrick,

I'm sorry but I don't have a solution for you. The source code for the dialog is not public and it uses a lot of obfuscated code.

Best regards,
Alex
by alex_jitianu
Tue Nov 25, 2014 5:02 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Creating dialog boxes in eclipse oxygen plug-in
Replies: 15
Views: 14125

Re: Creating dialog boxes in eclipse oxygen plug-in

Hi Shabeer, I'm glad to hear you solved the problem. You should focus on the oxygen-sample-framework sub-module. Inside samples/Oxygen Default Frameworks/ you can find the source files for the build-in frameworks extensions. Here is what you can do: 1. copy the files you need inside oxygen-sample-fr...
by alex_jitianu
Tue Nov 25, 2014 10:50 am
Forum: DocBook
Topic: How to customize InsertXrefOperation?
Replies: 3
Views: 5652

Re: How to customize InsertXrefOperation?

Hello Patrick,

Unfortunately the dialog is not customizable through the API. You will have to implement one starting from scratch. What did you want to change in it, though?

Best regards,
Alex
by alex_jitianu
Mon Nov 24, 2014 1:07 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Remove Namespace from selected node
Replies: 6
Views: 4025

Re: Remove Namespace from selected node

Hi Denis, Like my colleague Dan said, right now you have to post process the fragment. What I wanted to add is that you could just execute a replace on the existing string. Something like this: AuthorDocumentFragment fragment = documentController.createDocumentFragment(authorNode, copyContent); Stri...
by alex_jitianu
Mon Nov 24, 2014 12:52 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Setting up Eclipse with Maven for Oxygen SDK
Replies: 3
Views: 7059

Re: Setting up Eclipse with Maven for Oxygen SDK

Hello Dirk,

First thing to check is if the repository http://www.oxygenxml.com/maven is correctly added to .m2/settings.xml. If you send us settings.xml on support@oxygenxml.com we can also take a look to see if there's any problems on how the repository is declared.

Best regards,
Alex
by alex_jitianu
Mon Nov 24, 2014 10:56 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Creating dialog boxes in eclipse oxygen plug-in
Replies: 15
Views: 14125

Re: Creating dialog boxes in eclipse oxygen plug-in

Hi Shabeer, I'm not sure what happened. Are the archives corrupted? can you open them manually? If you've managed to create the sample project then your maven should be configured correctly. Please try this procedure: - delete the directory C:/Users/mu258770/.m2/repository/com/oxygenxml - Go to Ecli...
by alex_jitianu
Mon Nov 24, 2014 10:41 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Changing default values for table creation
Replies: 12
Views: 6524

Re: Changing default values for table creation

Hello Gary, First of all, you should make sure that you've saved the extension as external, for example in: OXYGEN_INSTALL_DIR\frameworks\ext_dita\ext_dita.framework This new ext_dita folder should contain all additional resources that your framework requires. All of your authors already have the bu...
by alex_jitianu
Fri Nov 14, 2014 5:23 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: XML menu customization
Replies: 25
Views: 16533

Re: XML menu customization

Hi, I recommend to start by reading Eclipse IDE Integration . This topic will guide you on how to create a Maven based SDK based project. After you follow the procedure you should focus on project oxygen-sample-eclipse-plugin . In this project there is plugin.xml . You should add in it something lik...
by alex_jitianu
Mon Nov 10, 2014 5:10 pm
Forum: SDK-API, Frameworks - Document Types
Topic: EmptyStackException
Replies: 3
Views: 2597

Re: EmptyStackException

Hello Denis, My colleague Radu is currently away on a conference so I will try to help you while he's not here. This node is a reference not so you are probably inside a conref-ed content. I tried the same scenario and I didn't get an exception. This exception can happen if this node is not part of ...
by alex_jitianu
Mon Nov 03, 2014 12:13 pm
Forum: Common Problems
Topic: Problem using new editor variables
Replies: 1
Views: 1294

Re: Problem using new editor variables

Hello Martin, The first use of the variable is the correct one: ${frameworkDir(TEI P5)} Judging form the error message I tend to believe that the parameter is not actually received by the ANT process (so no connection with the use of the $frameworkDir variable). To see if this assumption is correct,...
by alex_jitianu
Thu Oct 30, 2014 4:39 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen component slownes performance
Replies: 2
Views: 2189

Re: Oxygen component slownes performance

Hello Sébastien, No, I don't think the size of the framework file is to blame. Do you have custom form controls or are just using the built-in ones? This bad performance happens when you type some characters? When you hover the form controls or scrolling through the document? I suggest profiling a b...
by alex_jitianu
Wed Oct 29, 2014 9:48 am
Forum: SDK-API, Frameworks - Document Types
Topic: Using custom functions defined in an external xsl file in ox
Replies: 6
Views: 3992

Re: Using custom functions defined in an external xsl file i

Hello Dirk, Well, all of us are using Eclipse and we have a number of topics in our documentation that describe how to use Eclipse for various tasks. Starting with version 16.0 the SDK we have a Maven repository for the SDK and we found an Eclipse IDE for Java EE Developers very helpful when working...
by alex_jitianu
Tue Oct 28, 2014 4:19 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Using custom functions defined in an external xsl file in ox
Replies: 6
Views: 3992

Re: Using custom functions defined in an external xsl file i

Hello Dirk, I don't have much knowledge of such conversions from C# to Java. Searching on-line does produce some tools that do that but I can't really envision how that would work. Our API is Java based and in the code you write you have to use this API, is not like you just write a generic C# code ...
by alex_jitianu
Tue Oct 28, 2014 9:39 am
Forum: SDK-API, Frameworks - Document Types
Topic: Using custom functions defined in an external xsl file in ox
Replies: 6
Views: 3992

Re: Using custom functions defined in an external xsl file i

Hello Dirk, Unfortunately I can't think of a way to do that... Just to make things clearer, you want this because the XPath language in itself imposes limitations or just because it is convoluted to express some complex things? What you can currently do is to move this code from the CSS to a StylesF...
by alex_jitianu
Tue Oct 07, 2014 12:14 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Possible to determine available attributes on not yet insert
Replies: 1
Views: 1847

Re: Possible to determine available attributes on not yet in

Hello, You can get the possible attribute of an element (without it being actually in the document) like this: WhatElementsCanGoHereContext whatElementsCanGoHereContext = authorSchemaManager.createWhatElementsCanGoHereContext(offset); List<CIElement> whatElementsCanGoHere = authorSchemaManager.whatE...
by alex_jitianu
Thu Oct 02, 2014 11:01 am
Forum: SDK-API, Frameworks - Document Types
Topic: Seraching for words with the Author API
Replies: 1
Views: 1768

Re: Seraching for words with the Author API

Hello, There is no such API method to search for a text, but you can implement one yourself with the help of the API. I'm talking about using a TextContentIterator to iterate through all the text intervals. For each interval you can get the text and search for the token or apply a regular expression...
by alex_jitianu
Fri Sep 26, 2014 4:32 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Creating dialog boxes in eclipse oxygen plug-in
Replies: 15
Views: 14125

Re: Creating dialog boxes in eclipse oxygen plug-in

Hello, You are correct, you need to create a custom AuthorOperation. You should start with the Author Framework Development procedure. After following the procedure needed to install the oxygen SDK , you should focus on project oxygen-sample-framework . This project contains a sample framework and i...
by alex_jitianu
Fri Sep 12, 2014 1:53 pm
Forum: Common Problems
Topic: Chaining transformations
Replies: 7
Views: 3671

Re: Chaining transformations

Hello Frank, 1. Using the multiple scenarios approach, you must have two scenarios: - one scenario that takes the current file, transforms it and saves the output in a predefined location. For example to ${userHome}/toBeProcessed.dita . - the second scenario, a DITA type scenario, modified to take a...
by alex_jitianu
Fri Aug 29, 2014 9:11 am
Forum: Common Problems
Topic: Best way to deploy Global Options?
Replies: 23
Views: 8434

Re: Best way to deploy Global Options?

Hello, The fact that the Project Options radio button is selected was not an intended behavior. Just an annoying side effect that we didn't notice. I'll add a request to investigate the issue. If you put multiple *.xpr , *.xml file inside the preferences folder, only one of them will be loaded. Whic...