Search found 191 matches

by mihaela
Fri Sep 14, 2012 12:10 pm
Forum: Other Issues
Topic: Preventing Invalid Xml
Replies: 16
Views: 2812

Re: Preventing Invalid Xml

Hi, Have you created a framework for your document or are you trying to edit a simple XML that has a schema associated? What I suspect is that you have a schema directly associated with your document (not through a framework) and the schema does not apply when the document is opened in the Author Co...
by mihaela
Thu Sep 13, 2012 4:40 pm
Forum: Other Issues
Topic: Preventing Invalid Xml
Replies: 16
Views: 2812

Re: Preventing Invalid Xml

Hi,

By default, the "Schema Aware Editing" option is set to "ON". This means that if you remove the entire "author.editing.mode" entry from oxygen.xml all the operations should be schema-aware. Can you try this and tell me if this is happening?

Regards,
Mihaela
by mihaela
Thu Sep 13, 2012 4:06 pm
Forum: Other Issues
Topic: Preventing Invalid Xml
Replies: 16
Views: 2812

Re: Preventing Invalid Xml

Hi, Are you sure that any of your options set in options.xml are applied to the Author component? You can try to do a simple test with changing the Author background color for example. If you add the following entry to your oxygen.xml, is the background color changed to red in the Author component? ...
by mihaela
Thu Sep 13, 2012 3:13 pm
Forum: Other Issues
Topic: Preventing Invalid Xml
Replies: 16
Views: 2812

Re: Preventing Invalid Xml

Hi, The value of the "isVerifyDeleteElementTagsAction" field is taken into consideration only if the "schemaAwareEditingMode" field value is set to "schema_aware_editing_custom". Make sure that you have this field set in your options.xml. <entry> <String>author.editing....
by mihaela
Thu Sep 13, 2012 12:59 pm
Forum: Common Problems
Topic: Customize track changes
Replies: 15
Views: 3530

Re: Customize track changes

Hi, I'm glad that the code sample helped you. I have a question for you. From your requests it seems that you are trying to mark the content as deleted or as inserted, by using your own mechanism (through custom processing instructions). Why don't you use the oXygen Change Tracking mechanism? Best R...
by mihaela
Thu Sep 13, 2012 10:53 am
Forum: General XML Questions
Topic: Adding an attribute to every instance of an element
Replies: 9
Views: 7030

Re: Adding an attribute to every instance of an element

Hi, What you can do to be able to concentrate more on the semantics of the document is to switch to Author mode. See here the description of the Author mode of the <oXygen/> XML Editor: http://www.oxygenxml.com/wysiwyg_xml_editor.html The Outline view and XPath toolbar fields are also available for ...
by mihaela
Wed Sep 12, 2012 4:31 pm
Forum: Common Problems
Topic: Customize track changes
Replies: 15
Views: 3530

Re: Customize track changes

Hi, Here is the code sample: AuthorPersistentHighlighter highlighter = authorAccess.getEditorAccess().getPersistentHighlighter(); highlighter.setHighlightRenderer(new PersistentHighlightRenderer() { public String getTooltip(AuthorPersistentHighlight highlight) { return null; } public HighlightPainte...
by mihaela
Wed Sep 12, 2012 3:16 pm
Forum: Common Problems
Topic: Customize track changes
Replies: 15
Views: 3530

Re: Customize track changes

Hello, By using the API that I have described you before (the AuthorPersistentHighlighter) you can insert and render only the PIs with the following form: <?oxy_custom_start prop1="val1"....?> xml content <?oxy_custom_end?> Do you want to handle only the processing instructions having exac...
by mihaela
Wed Sep 12, 2012 3:02 pm
Forum: General XML Questions
Topic: Adding an attribute to every instance of an element
Replies: 9
Views: 7030

Re: Adding an attribute to every instance of an element

Hi, A simple way to see a list with all the "q" elements from your document, with all other elements filtered out is to use the Outline view (if it is not visible you can open it from Window menu -> Show View -> Outline) and write "q" in the filter field found above the Outline e...
by mihaela
Wed Sep 12, 2012 11:13 am
Forum: Common Problems
Topic: Customize track changes
Replies: 15
Views: 3530

Re: Customize track changes

Hi,

If you need a code sample, you have to give me more details about your use-case.
For example, when you want to mark the text content with a different color? Do you need an action that can be executed by the user to highlight the selection?

Best regards,
Mihaela
by mihaela
Wed Sep 12, 2012 11:06 am
Forum: Common Problems
Topic: Rendering Processing Instructions
Replies: 1
Views: 810

Re: Rendering Processing Instructions

Hi, For the moment you can use the oxy|processing-instruction only to match all the processing instructions, regardless their cotnent. Starting with the next version of oXygen (14.1) you will be able to match all the attributes of a processing instruction using the oxy|processing-instruction[attribu...
by mihaela
Tue Sep 11, 2012 3:16 pm
Forum: Common Problems
Topic: Customize track changes
Replies: 15
Views: 3530

Re: Customize track changes

Hi, No, it is not possible in 11.2 to customize the rendering of the text content found between two processing instructions. If you want to do this in oXygen version 14 you can use the ro.sync.ecss.extensions.api.highlights.AuthorPersistentHighlighter API that offers the possibility to add, manage a...
by mihaela
Tue Sep 11, 2012 12:55 pm
Forum: Common Problems
Topic: Customize track changes
Replies: 15
Views: 3530

Re: Customize track changes

Hi, From what I see the AuthorPopupMenuCustomizer is available starting with version 11.2 so you can customize the popup menu entries. The PersistentHighlightRenderer was introduced in oXygen version 12. This means that there is no API available for version 11.2 to customize the appearance of the ch...
by mihaela
Fri Sep 07, 2012 4:40 pm
Forum: Common Problems
Topic: Customize track changes
Replies: 15
Views: 3530

Re: Customize track changes

Hi, If you already have a custom document type configured then you probably have an ExtensiondBundle configured for this document type. If not, you can read the following topic from our online documentation: http://oxygenxml.com/doc/ug-editor/tasks/dg-extensions-bundle.html In your ExtensionsBundle ...
by mihaela
Mon Aug 27, 2012 3:53 pm
Forum: Other Issues
Topic: ro.sync.ecss.extensions.api.node.AuthorNode#getTextContent() throws NullPointer
Replies: 4
Views: 1498

Re: ro.sync.ecss.extensions.api.node.AuthorNode#getTextContent() throws NullPointer

Hi Simon, This is a known issue and we work to fix it. The problem is that a processing instruction node has no content information the first time when the styles are applied on it. The only thing that you can do for now (until the fix is available) is to catch the NullPointerException and ignore it...
by mihaela
Thu Aug 23, 2012 5:45 pm
Forum: Feature Request
Topic: New functionalities for the AuthorPersistentHighlighter
Replies: 12
Views: 3580

Re: New functionalities for the AuthorPersistentHighlighter

Hi Simon, Maybe you could try to just draw the border around the desired |xmlnode> to which the border belongs Indeed, the border should include only the tags of the element on which the border is set. We will take your request into consideration and we will try in the future to change this behavior...
by mihaela
Wed Aug 22, 2012 12:24 pm
Forum: Feature Request
Topic: New functionalities for the AuthorPersistentHighlighter
Replies: 12
Views: 3580

Re: New functionalities for the AuthorPersistentHighlighter

Hi Simon, There is an option in Preferences, Editor / Edit modes / Author page, called "Compact tag layout". This option is used for the "full-tags" display mode of the Author mode, to obtain a layout that is much more ergonomic, placing multiple XML tags on the same line. By def...
by mihaela
Fri Aug 17, 2012 3:44 pm
Forum: Feature Request
Topic: New functionalities for the AuthorPersistentHighlighter
Replies: 12
Views: 3580

Re: New functionalities for the AuthorPersistentHighlighter

Hi Simon, First some short answers to your points: [1.] The CSS display:block; makes in the Oxygen XML Editor put the :before and :after "nodes" outside the border, which is defined for the actual node. Other XML Editors do it diffrently. Yes, you are right. We'll investigate if we can cha...
by mihaela
Thu Aug 16, 2012 5:25 pm
Forum: Feature Request
Topic: New functionalities for the AuthorPersistentHighlighter
Replies: 12
Views: 3580

Re: New functionalities for the AuthorPersistentHighlighter

Hi Simon, To add a border to your custom highlights you can extend the ro.sync.ecss.extensions.api.highlights.ColorHighlightPainter and add the paint border functionality. Here is a small sample (you can improve this painter to use a specific stroke width or type): public class CustomHighlightPainte...
by mihaela
Thu Aug 16, 2012 3:17 pm
Forum: Other Issues
Topic: How to style StringContent with the ro.sync.ecss.css.Styles class
Replies: 16
Views: 3289

Re: How to style StringContent with the ro.sync.ecss.css.Styles class

Hi Simon,

Since your last message is related to http://www.oxygenxml.com/forum/topic7103.html, please see our answers (and questions) on that topic.

Best regards,
Mihaela
by mihaela
Thu Aug 16, 2012 3:09 pm
Forum: Feature Request
Topic: New functionalities for the AuthorPersistentHighlighter
Replies: 12
Views: 3580

Re: New functionalities for the AuthorPersistentHighlighter

Hi Simon, We´d like to have a possibility to draw a border around the XML tags, which should be highlighted and add some text before and after the hightlighted XML tag. For the next version of oXygen (14.1) we have worked on some CSS customizations that allows you to change the background and foregr...
by mihaela
Tue Aug 14, 2012 2:48 pm
Forum: Other Issues
Topic: Author CSS Stylesheets
Replies: 10
Views: 3039

Re: Author CSS Stylesheets

Hi,

Just set the content for the Type element:

Code: Select all

Type {
    content: "Type: ";   
}


Regards,
Mihaela
by mihaela
Tue Aug 14, 2012 10:18 am
Forum: Other Issues
Topic: Author CSS Stylesheets
Replies: 10
Views: 3039

Re: Author CSS Stylesheets

Hi, The before selector for Environments will be rendered if you add the "display:block;" line: Environments:before { display: block; content:"Editor"; border-bottom: 0.1em solid navy; padding: 0.3em; font-size:large; font-weight:bold; } The before selector for Environment elemen...
by mihaela
Wed Aug 08, 2012 10:19 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Problem with Glossary
Replies: 3
Views: 1289

Re: Problem with Glossary

Hi,

oXygen uses the DITA-OT to generate the output so we cannot help you with problems encountered when using the DITA Converter tool.

Best regards,
Mihaela
by mihaela
Tue Aug 07, 2012 12:45 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Document Types in XML Developer
Replies: 2
Views: 1530

Re: Document Types in XML Developer

Hi Aled, Indeed, the "Extensions" tab is added only in oXygen XML Author and oXygen XML Editor but we plan to add it also in oXygen XML Developer, in a future version. Meanwhile you can download oXygen XML Editor and use it to edit your framework (add the SchemaManagerFilter extension). Be...
by mihaela
Tue Aug 07, 2012 12:18 pm
Forum: Common Problems
Topic: Custom Action for Text View, not Author View
Replies: 1
Views: 926

Re: Custom Action for Text View, not Author View

Hello, The Author SDK can be used to add extensions for a specific document type, in Author mode. To extend the oXygen functionality for Text mode you can use the plugin SDK. Here you can find the OxygenPluginsDevelopmentKit.zip that contains the plugins SDK, javadoc and sample source codes: http://...
by mihaela
Thu Aug 02, 2012 11:34 am
Forum: XSLT and FOP
Topic: editing the xslt style sheet so that tables display on separate pages
Replies: 5
Views: 1429

Re: editing the xslt style sheet so that tables display on separate pages

Hi, You can find the answers to your questions below: I have tables within reference topics within a map and when i generate the output in pdf the tables "append" one another. I would like to have each table on a separate page on the pdf. How can i edit the stylesheet to do this? In the XS...
by mihaela
Fri Apr 27, 2012 12:39 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to change what is inserted for an element
Replies: 3
Views: 1610

Re: How to change what is inserted for an element

Hi, This type of restrictions must be imposed from schema associated with document type (in your case DITA). For example, the DITA-OT schema specifies that the <p> element is optional in a <stepresult> context (see [DITA_OT_dir]/dtd/technicalContent/dtd/task.mod). So, to change the type of p child f...
by mihaela
Wed Apr 18, 2012 8:58 am
Forum: XSLT and FOP
Topic: Is there an XSL sheet corresponding to oxygen's xml formatter?
Replies: 2
Views: 1069

Re: Is there an XSL sheet corresponding to oxygen's xml formatter?

No, there is no XSL stylesheet that could help you (A stylesheet looses character entities for instance). However, we have a feature request that is already registered in our issue tracking system, for a formatting action available on the project files. The idea is to simply select a set of files (o...
by mihaela
Tue Apr 17, 2012 12:28 pm
Forum: Feature Request
Topic: about adding custom toolbar in the applet
Replies: 2
Views: 1449

Re: about adding custom toolbar in the applet

Hi, Here you can find an oXygen sample applet: http://www.oxygenxml.com/demo/AuthorDemoApplet/author-component-dita.html that also includes a custom toolbar with actions like cut/copy/paste or undo/redo. The page contains links to the entire sample source code (http://www.oxygenxml.com/demo/AuthorDe...

Go to advanced search