Search found 1008 matches

by alex_jitianu
Fri Mar 13, 2015 4:00 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS changes in oXygen eclipse 16.1!!
Replies: 11
Views: 5244

Re: CSS changes in oXygen eclipse 16.1!!

Hi Shabeer, The *oxy_editor* CSS function binds a form control in the document. There isn't a built-in form control for displaying documentation (there will be one in version 17.0) so if you want to go on that path you will have to implement a custom form control. Another aspect to consider is that ...
by alex_jitianu
Fri Mar 13, 2015 12:44 pm
Forum: Feature Request
Topic: Be able to sort DITA Simple List Items
Replies: 5
Views: 3912

Re: Be able to sort DITA Simple List Items

Hello Lief, I've added a feature request to offer the sort action for simple lists too. Until then, you could implement a sort author action based on an XSLT script, like this: 1. Create an Author action that uses the XSLTTransformOperation 2. Configuration details: - when this XPath expression is t...
by alex_jitianu
Mon Mar 09, 2015 6:08 pm
Forum: Common Problems
Topic: Debugging MarkLogic Rest Extensions
Replies: 1
Views: 1519

Re: Debugging MarkLogic Rest Extensions

Hello Peter, First of all, about why the debugger is not stopping in your extension module. I've looked inside the REST infrastructure and inside Modules\MarkLogic\rest-api\lib\endpoint-util.xqy I've noticed that your extension is invoked using xdmp:invoke() . Modules run using xdmp:invoke() are not...
by alex_jitianu
Wed Mar 04, 2015 3:46 pm
Forum: Common Problems
Topic: Profiling styles no longer showing in Editor
Replies: 5
Views: 3027

Re: Profiling styles no longer showing in Editor

Hello Dan,

I believe that you've disabled by accident the Show profiling colors and Styles option. On the toolbar there is a a funnel shaped icon that presents all profiling related options. Please make sure Show profiling colors and Styles it's selected.

Best regards,
Alex
by alex_jitianu
Tue Mar 03, 2015 10:39 am
Forum: SDK-API, Frameworks - Document Types
Topic: Folding a node via code in Author View
Replies: 3
Views: 2552

Re: Folding a node via code in Author View

Hello Dirk, One thing that doesn't seem right is this call: Styles styles = authorAccess.getEditorAccess().getStyles(currentNode); filter(styles, currentNode); Oxygen will call filter() automatically on the nodes on which you called refresh() . I expect you are having two types of extensions: 1. a W...
by alex_jitianu
Mon Mar 02, 2015 5:37 pm
Forum: Common Problems
Topic: Line break attributes not visible in the Author mode
Replies: 4
Views: 2320

Re: Line break attributes not visible in the Author mode

Hello Ewa, Yes, I think I've understood. By default the Author mode hides the processing instructions. To present them you have to go to Options->Preferences... on the Editor / Edit modes / Author page and select Show processing instructions . After doing this, all processing instructions will be pr...
by alex_jitianu
Mon Mar 02, 2015 4:46 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA menu customization
Replies: 14
Views: 7034

Re: DITA menu customization

Hello Shabeer, After some more research I can offer this workaround. It's a little better than the previous recommendation since there wont be any extra space: CoolItem[] items = coolbar.getItems(); CoolItem coolItem = items[1]; coolItem.setControl(new Label(coolbar, SWT.NONE)); coolItem.setMinimumS...
by alex_jitianu
Mon Mar 02, 2015 12:11 pm
Forum: Common Problems
Topic: Line break attributes not visible in the Author mode
Replies: 4
Views: 2320

Re: Line break attributes not visible in the Author mode

Hello Ewa, What vocabulary are you using? Can you provide a small XML block with in which I can see this line break attribute ? I basically work in the Author mode and cannot understand why all the other attributes have tags and are visible and these ones are not. From the phrase above, I tend to be...
by alex_jitianu
Thu Feb 26, 2015 11:50 am
Forum: Other Issues
Topic: Costumizing Toolbar with ToolbarButton
Replies: 4
Views: 2573

Re: Costumizing Toolbar with ToolbarButton

Hello Thomas, I think you are having a problem with ToolbarButton because it requires an additional jar file (jide-oss-3.5.6.jar). You can get all the required jar files from oxygen-sdk-16.1.2-all.zip . Alternatively, if you could have used the Maven based sample project as a starting point and all ...
by alex_jitianu
Wed Feb 25, 2015 9:37 am
Forum: Other Issues
Topic: Costumizing Toolbar with ToolbarButton
Replies: 4
Views: 2573

Re: Costumizing Toolbar with ToolbarButton

Hello Thomas, The ro.sync.exml.workspace.api.standalone.ui.ToolbarButton is actually an extension of JButton and indirectly a JComponent. So you should be able to add it inside that array of JComponent. We actually use it in one of our sample plugins ( oxygen-sample-plugin-workspace-access ): if(&qu...
by alex_jitianu
Mon Feb 23, 2015 10:45 am
Forum: SDK-API, Frameworks - Document Types
Topic: Customize Content Completion
Replies: 1
Views: 1699

Re: Customize Content Completion

Hello Denis, The easiest way would be to replace the default entries with author actions . If we were to take your sample as a starting point: 1. you must create an author action . THe action must use the operation ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation and the fragment t...
by alex_jitianu
Fri Feb 20, 2015 9:36 am
Forum: Common Problems
Topic: how can I use 'smart paste' from the TEI framework in anothe
Replies: 2
Views: 1751

Re: how can I use 'smart paste' from the TEI framework in an

Hello, From what you've described I expect the Paste to work. TEIP5ExtensionsBundle creates the handler for both URL DnD and smart paste (TEIP5ExternalObjectInsertionHandler). This handler looks for xhtml2tei5Driver.xsl inside classpath. I see that you've added ${frameworks}/tei/resources/ in the cl...
by alex_jitianu
Thu Feb 19, 2015 11:29 am
Forum: SDK-API, Frameworks - Document Types
Topic: Identifying the Version Running
Replies: 4
Views: 2986

Re: Identifying the Version Running

Hello, You can look at a system property: System.getProperty("com.oxygenxml.app.descriptor"). Possible values are: - ro.sync.exml.AuthorFrameDescriptor - ro.sync.exml.DeveloperFrameDescriptor - ro.sync.exml.EditorFrameDescriptor Other than expecting a specific value, all these values are c...
by alex_jitianu
Tue Feb 03, 2015 3:30 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Profiling Condition Sets don't show in menu anymore
Replies: 6
Views: 3115

Re: Profiling Condition Sets don't show in menu anymore

Hi Frank, You are right, right now it is not possible to give the profiling attributes at the document type level. We do have a requested feature for it though, so I will add your vote for it. Another idea would be to use a Subject Scheme to define the profiling attributes . If you use such a subjec...
by alex_jitianu
Mon Feb 02, 2015 2:58 pm
Forum: SDK-API, Frameworks - Document Types
Topic: updateSite.oxygen files
Replies: 2
Views: 2336

Re: updateSite.oxygen files

Hello Martin, To include multiple versions you must add multiple extension elements, each one having the same ID but a different version: <xt:extension id="tei"> <xt:location href="teioxygen-2.7.0-7.29.0.zip"/> <xt:version>2.7.2</xt:version> ...... </xt:extension> <xt:extension i...
by alex_jitianu
Fri Jan 30, 2015 4:36 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Profiling Condition Sets don't show in menu anymore
Replies: 6
Views: 3115

Re: Profiling Condition Sets don't show in menu anymore

Hi Frank, Go to Window->Show view... and select the Properties view. You can check in this view if the matched document type is the expected one. Profiling condition sets are associated with a document type so if the document doesn't match that document type anymore then that might be the reason it'...
by alex_jitianu
Fri Jan 30, 2015 12:52 pm
Forum: Common Problems
Topic: oxy_editor CSS: Empty string as value for labels not possibl
Replies: 3
Views: 2361

Re: oxy_editor CSS: Empty string as value for labels not pos

Hi Jörg,

Thank you for reporting this situation. It is indeed something that was lost between the two versions. Fortunately the workaround to use a space if easy to use instead. We will fix it for the next version.

Best regards,
Alex
by alex_jitianu
Wed Jan 28, 2015 2:51 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Creating dialog boxes in eclipse oxygen plug-in
Replies: 15
Views: 14102

Re: Creating dialog boxes in eclipse oxygen plug-in

Hi Shabeer, The document controller has all the methods you need to alter the document (delete, insert etc.): AuthorNode currentNode = getDocumentController().getNodeAtOffset(caretOffset); if (currentNode != null && currentNode.getType() == AuthorNode.NODE_TYPE_ELEMENT) { getDocumentControll...
by alex_jitianu
Thu Jan 22, 2015 10:49 am
Forum: SDK-API, Frameworks - Document Types
Topic: Folding a node via code in Author View
Replies: 3
Views: 2552

Re: Folding a node via code in Author View

Hello Dirk, Since you are developing a plugin I suggest to use a StylesFilter Plugin Extension . A plugin can have any number of extensions. From this extension you can set fold information like this: public Styles filter(Styles styles, AuthorNode authorNode) { styles.setProperty(Styles.KEY_FOLDED, ...
by alex_jitianu
Wed Jan 21, 2015 12:43 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: XML menu customization
Replies: 25
Views: 16472

Re: XML menu customization

Hi Shabeer, I've noticed an java.lang.OutOfMemoryError: PermGen space error so the first thing you should do is to edit the configuration , go to Arguments and add to the VM arguments: -XX:MaxPermSize=300m . I also see a lot of org.osgi.framework.BundleException complaining about various packages. I...
by alex_jitianu
Wed Jan 21, 2015 10:00 am
Forum: SDK-API, Frameworks - Document Types
Topic: Unable to deploy plugin via plugin.xml
Replies: 5
Views: 3272

Re: Unable to deploy plugin via plugin.xml

Hello Dirk, I'm glad that you were successful in deploying the plugin! I agree that the two jars there are a bit confusing... The first one contains the compiled JAVA classes and the one with the plugin suffix is the actual package (contains all the required resources together with the compiled clas...
by alex_jitianu
Tue Jan 20, 2015 5:41 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Unable to deploy plugin via plugin.xml
Replies: 5
Views: 3272

Re: Unable to deploy plugin via plugin.xml

Hi Dirk, After building the project (using either mvn package or mvn install ) the plugin is packed at target/oxygen-sample-plugin-uppercase-0.0.1-SNAPSHOT-plugin.jar . Unzip this archive in the plugins folder making sure not to create any additional folders. Basically the structure should look like...
by alex_jitianu
Tue Jan 20, 2015 4:38 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA menu customization
Replies: 14
Views: 7034

Re: DITA menu customization

Hi Shabeer,

Starting with version 17.0 the com.oxygenxml.author.actionBarContributorCustomizer extension point will be able to intercept and customize this menu too. Until then I think you could use Eclipse mechanisms for the filtering.

Best regards,
Alex
by alex_jitianu
Tue Jan 20, 2015 4:25 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: XML menu customization
Replies: 25
Views: 16472

Re: XML menu customization

Hello Shabeer, I've followed the same procedure as you did and in my case the output was generated. Are you saying that yo've checked the MANIFEST.MF and it has a dependency on the com.oxygenxml.author plugin? When running the Eclipse application you usually get a lot of output in the *Console* view...
by alex_jitianu
Fri Jan 16, 2015 9:37 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customizing oxygen eclipse
Replies: 21
Views: 8355

Re: Customizing oxygen eclipse

Hi Shabeer, You can intercept the Check Wellformed action from the menu and add it in the toolbar (luckily the customize menu callback comes first). Like this: public class CustomActionBarContributorCustomizer extends ActionBarContributorCustomizer { IAction wellformed = null; @Override public List<...
by alex_jitianu
Wed Jan 14, 2015 2:42 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customizing oxygen eclipse
Replies: 21
Views: 8355

Re: Customizing oxygen eclipse

Hi, The exception is probably because the validate action is not identified and my code doesn't cover that case (like I said in my situation I'm able to find it). Just add a NULL test: if (validateAction != null) { final IAction va = validateAction; actions.add(new Action(validateAction.getText(), v...
by alex_jitianu
Tue Jan 13, 2015 5:08 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customizing oxygen eclipse
Replies: 21
Views: 8355

Re: Customizing oxygen eclipse

Hi Shabeer, I have tried the method you have suggested, but was unsuccessful. I personally tried this code with an Author 16.1 and it worked: @Override public List<IAction> customizeActionsContributedToDocumentToolbar(List<IAction> actions) { for (Iterator iterator2 = actions.iterator(); iterator2.h...
by alex_jitianu
Mon Jan 12, 2015 1:06 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: XML menu customization
Replies: 25
Views: 16472

Re: XML menu customization

Hi, Oxugen requires the Eclipse Platform XML Compare plugin. Depending on which Eclipse distribution you are using this plugin should be already present inside the workbench. On the Package Explorer view, contextual menu, select Run as->Run Configurations. Select the Eclipse Application you have con...
by alex_jitianu
Mon Jan 12, 2015 12:15 pm
Forum: Other Issues
Topic: Is it possible to use Oxygen Diff Files Tool from Author Com
Replies: 3
Views: 2492

Re: Is it possible to use Oxygen Diff Files Tool from Author

Hello Vince, The Diff support is not available in the Author Component. The main reason for that is that it uses some third-party components that are incompatible with the Author Component licensing model. The Compare... action should not have been presented for the component so I will add an issue ...
by alex_jitianu
Mon Jan 12, 2015 10:38 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customizing oxygen eclipse
Replies: 21
Views: 8355

Re: Customizing oxygen eclipse

Hi Shabeer, From the previous messages I understand that you were able to filter other toolbar items, right? If that's the case I suggest logging each item like this: public List<IAction> customizeActionsContributedToDocumentToolbar( List<IAction> actions) { for (Iterator iterator2 = actions.iterato...