Search found 1009 matches

by alex_jitianu
Tue Feb 11, 2014 2:48 pm
Forum: General XML Questions
Topic: Schema documentation pdf
Replies: 5
Views: 3795

Re: Schema documentation pdf

Hello, The schema documentation process first generates an temporary XML file. This XML file contains all the schema components and their meta information (like the annotation). On this XML format we apply XSLTs to obtain either HTML or Docbook output. These stylesheets are available in {INSTALLATIO...
by alex_jitianu
Mon Feb 03, 2014 11:56 am
Forum: Other Issues
Topic: oxy_textArea
Replies: 4
Views: 2977

Re: oxy_textArea

Hi, I'll send you the code on your email address. If you find the tags from the text mode more helpful than the markers from the author page then you can create a similar layout in author mode by adding these CSS rules: teiHeader *:before { content: "<" oxy_local-name() ">"; colo...
by alex_jitianu
Thu Jan 30, 2014 6:27 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Referencing list from another XML file
Replies: 9
Views: 6117

Re: Referencing list from another XML file

Hi, First thing to keep in mind is that oxy_xpath and oxy_replace are CSS functions while string-join is an XPath one. We use oxy_replace as a helper to build the final XPath expression that will be given to an oxy_xpath to execute. Combining these two functions (oxy_xpath and oxy_replace) can be qu...
by alex_jitianu
Thu Jan 30, 2014 12:05 pm
Forum: Other Issues
Topic: oxy_textArea
Replies: 4
Views: 2977

Re: oxy_textArea

Hello, All the built in form controls are designed to edit either an attribute value or the text content of an element. That's why the content you are entering in the text area is escaped before is inserted in the document. It's treated as plain text. If you want, you can create a custom form contro...
by alex_jitianu
Thu Jan 30, 2014 10:30 am
Forum: SDK-API, Frameworks - Document Types
Topic: Referencing list from another XML file
Replies: 9
Views: 6117

Re: Referencing list from another XML file

Hi, Using oxy_xpath and oxy_replace together should work just fine for your use case. If you try something like this do you get an error message? oxy_xpath(oxy_replace("string-join(doc('http://shared/config.xml')//family[name='$thisFamily']/product, ',')",'$thisFamily',oxy_xpath('../family...
by alex_jitianu
Wed Jan 29, 2014 3:40 pm
Forum: Other Issues
Topic: oxy_xpath function and large XML files
Replies: 1
Views: 1559

Re: oxy_xpath function and large XML files

Hello, If you are willing to help us investigate the problem, you can enable logging in Oxygen. I will send you the instructions by email. However, using such an expensive XPath query in the CSS does not result in a good user experience when editing the XML. While the query is executed the entire do...
by alex_jitianu
Mon Jan 27, 2014 6:09 pm
Forum: Common Problems
Topic: 'styles' Argument in oxy_label(): Difference between 14.2 an
Replies: 2
Views: 1404

Re: 'styles' Argument in oxy_label(): Difference between 14.

Hi, The styles property was introduced in Oxygen version 15 so prior versions do not recognize it as a supported property. Fortunately there is a dedicated property for setting the color and it will work in both versions: content: oxy_label(text, "(Print): Replace **** with Product Code", ...
by alex_jitianu
Mon Jan 27, 2014 5:55 pm
Forum: SDK-API, Frameworks - Document Types
Topic: quotation marks
Replies: 4
Views: 2980

Re: quotation marks

Hi,

The AutoCorrect options were indeed introduced in Oxygen v15.0. For version 14 you can still use the last approach (the one with AuthorDocumentFilter).

Best regards,
Alex
by alex_jitianu
Wed Jan 22, 2014 1:28 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Dynamic abbreviations
Replies: 1
Views: 1697

Re: Dynamic abbreviations

Hi, I believe that author actions can also be seen as "Dynamic abbreviations". The user presses ENTER then writes a part from the action's name (the abbreviation) and when executing the actions the expanded content is inserted. Another way would be through the Code templates support. You w...
by alex_jitianu
Wed Jan 22, 2014 12:11 pm
Forum: SDK-API, Frameworks - Document Types
Topic: quotation marks
Replies: 4
Views: 2980

Re: quotation marks

Hi, There is a built-in auto correct support that replaces simple quotes with a character of your choice. Since you are working with the author component there are a couple of possible approaches: - Configure the auto correct in an Oxygen standalone preferences and then provide the option file as de...
by alex_jitianu
Tue Jan 21, 2014 6:06 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Open file in Author Mode
Replies: 2
Views: 2294

Re: Open file in Author Mode

Hi, The value for the imposedPage parameter is one of the constants from the ro.sync.exml.editor.EditorPageConstants interface. If you want to open the editor in the author mode then the right value is EditorPageConstants.PAGE_AUTHOR. Thank you for pointing it out. I'll also update the documentation...
by alex_jitianu
Tue Jan 21, 2014 4:19 pm
Forum: SDK-API, Frameworks - Document Types
Topic: button control style
Replies: 4
Views: 3149

Re: button control style

Hi, I'm not sure how your CSS looks like but with the small CSS below the buttons are indeed placed higher than other form controls and the vertical-align property has no effect on them. para:before { content: "TEST" oxy_textfield(edit, '@bla') oxy_button(actionID, 'insert.table', transpar...
by alex_jitianu
Mon Jan 13, 2014 12:35 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Referencing list from another XML file
Replies: 9
Views: 6117

Re: Referencing list from another XML file

Hi, If you use PluginWorkspaceProvider.getPluginWorkspace().getUtilAccess() to get the UtilAccess the framework related editor variables are indeed not expanded. It's not an inherent limitation but just something we missed. Even more disturbing, the documentation states that these variables should b...
by alex_jitianu
Mon Jan 13, 2014 11:55 am
Forum: SDK-API, Frameworks - Document Types
Topic: StylesFilter fires many, many times
Replies: 2
Views: 2103

Re: StylesFilter fires many, many times

Hi, The StylesFilter is called many times because we don't cache it's results on our side and the styles for an element are requested a lot. So it's up to the implementation to do a caching if necessary. I suspect that you are using the node as the key in your cache. There might be a problem if this...
by alex_jitianu
Fri Jan 10, 2014 6:32 pm
Forum: Other Issues
Topic: Copying Values of Attributes in Author Mode
Replies: 1
Views: 1406

Re: Copying Values of Attributes in Author Mode

Hello, Unfortunately you can't copy static text in the Author mode. Even though the selection shows the static content as being selected, the copy action will skip the static content. Possible ways to get the value of the xml:id attribute: 1. you can use the Attributes View to select the xml:id attr...
by alex_jitianu
Wed Jan 08, 2014 11:24 am
Forum: SDK-API, Frameworks - Document Types
Topic: Referencing list from another XML file
Replies: 9
Views: 6117

Re: Referencing list from another XML file

Hello, This is indeed a common use case for Oxygen and we have several ways to achieve your goal. One of them is exactly the one you tried, namely by adding an combo box form control by using a StylesFilter. You are right, the documentation is a bit unclear about how to obtain the AuthorAccess insta...
by alex_jitianu
Mon Dec 30, 2013 12:52 pm
Forum: XHTML
Topic: Personalized templates
Replies: 2
Views: 5624

Re: Personalized templates

Hello, From what I understand you would like to create Document Templates. The steps to create these templates are: - for each template you have to create a new file. The name of the file is the template's name. For example a file named Book.xml will generate a template named Book and the extension ...
by alex_jitianu
Fri Nov 29, 2013 3:21 pm
Forum: Feature Request
Topic: oxy_editor: editing parent attributes
Replies: 1
Views: 1978

Re: oxy_editor: editing parent attributes

Hello Patrik, This behavior is not possible right now for the built-in form controls. But this looks like a nice feature so I've added an issue to get it implemented. Until then, a possible workaround for you would be to create custom a form control. If you want I can send you the source code for th...
by alex_jitianu
Thu Nov 21, 2013 11:06 am
Forum: SDK-API, Frameworks - Document Types
Topic: ExtensionsBundle Implementation
Replies: 10
Views: 4824

Re: ExtensionsBundle Implementation

Hi Sebastien,

I'm just curious, why you need an AuthorAccess object in a StylesFilter? What's the use case?

Best regards,
Alex
by alex_jitianu
Wed Nov 20, 2013 11:41 am
Forum: SDK-API, Frameworks - Document Types
Topic: ExtensionsBundle Implementation
Replies: 10
Views: 4824

Re: ExtensionsBundle Implementation

Hi Sebastien, We are aware that the ExtensionsBundle gets instantiated twice on document load and we already have added an issue to fix it. We also have an issue registered to provide the StylesFilter with an AuthorAccess instance. Meanwhile, if you want an AuthorAccess instance in the StylesFilter ...
by alex_jitianu
Tue Nov 19, 2013 12:07 pm
Forum: Common Problems
Topic: Oxygen looks for DTD every time I open a file
Replies: 3
Views: 1761

Re: Oxygen looks for DTD every time I open a file

Hello,

We also have a topic about how to integrate a DITA Specialization: Integration of a DITA Specialization.

Best regards,
Alex
by alex_jitianu
Tue Nov 19, 2013 11:02 am
Forum: Common Problems
Topic: Oxygen looks for DTD every time I open a file
Replies: 3
Views: 1761

Re: Oxygen looks for DTD every time I open a file

Hello, Normally Oxygen maps the DITA DTDs to copies from the local file system through catalogs. But you probably have a DITA specialization so the PUBLIC ID of the DTDs doesn't match and so the resources are not resolved. You should add some catalogs entries for those DTDs. A catalog is an XML file...
by alex_jitianu
Mon Nov 18, 2013 11:36 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Changing default values for table creation
Replies: 12
Views: 6567

Re: Changing default values for table creation

Hi, When inserting a table element Oxygen automatically generates an ID for it. So just remove the id attribute from the inserted fragment. This behavior is controlled by the ID Options... from the DITA menu. But if you want to be sure an ID is inserted no matter those options, you should explicitly...
by alex_jitianu
Fri Nov 15, 2013 11:44 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Changing default values for table creation
Replies: 12
Views: 6567

Re: Changing default values for table creation

Hi, You can't change the default values in the table wizard but what you can do is change the insert table action to always insert a table fragment with the specification you want. You should go to Preferences -> Document Type Associations and edit the DITA framework. On the Author/Actions tab ident...
by alex_jitianu
Tue Nov 12, 2013 12:52 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Force ID generation off in Oxygen configuration
Replies: 1
Views: 1990

Re: Force ID generation off in Oxygen configuration

Hi David, You will have to use the Java based API. You must extend DITAUniqueAttributesRecognizer and override the getDefaultOptions( ) method. You must return a GenerateIDElementsInfo object with only the class values for which you want to generate IDs. Next you must extend DITAExtensionsBundle and...
by alex_jitianu
Fri Oct 25, 2013 2:01 pm
Forum: Common Problems
Topic: CSS3 Validation Differs from Results Reported by W3C
Replies: 6
Views: 4016

Re: CSS3 Validation Differs from Results Reported by W3C

Hi, We already have an open issue to update the W3C CSS Validator that we use. I've added your vote to it and increase its priority. I've tried the following CSS rule in the CSS Validation Service but I'm also receiving the error you mentioned. Have I missed something? tr:hover td { background-color...
by alex_jitianu
Fri Oct 25, 2013 10:07 am
Forum: SDK-API, Frameworks - Document Types
Topic: Sharing Frameworks and Projects
Replies: 6
Views: 4227

Re: Sharing Frameworks and Projects

Hi, Your assumptions are correct. Just to make sure I've followed. The project is in the framework dir and the Additional frameworks directories option page is saved at project level and specifies the location like so: ${pd}/../ A possible issue that comes to mind is the fact that when the users mus...
by alex_jitianu
Fri Oct 18, 2013 2:29 pm
Forum: Other Issues
Topic: How to enable custom CSS properties in CSS validation
Replies: 1
Views: 1768

Re: How to enable custom CSS properties in CSS validation

Hi, It seams that the documentation is somewhat incomplete. Sorry about that... I'll add an issue to correct it but in the meantime here is what you must do: - the file must be named CustomProperties.xml and must looks like this: <?xml version="1.0" encoding="UTF-8"?> <css_keywor...
by alex_jitianu
Wed Oct 16, 2013 9:13 am
Forum: Other Issues
Topic: Displaying read-only attributes in Author
Replies: 4
Views: 2320

Re: Displaying read-only attributes in Author

Hi, I've tried this scenario and setting -oxy-editable:false on an element will also make it's attributes read-only. In the code snapshots I've posted, the attributes are editable but as soon as you set attr2 to value a both attributes become READ-ONLY. If you want to output the attributes in a colu...
by alex_jitianu
Fri Oct 11, 2013 10:26 am
Forum: Other Issues
Topic: Displaying read-only attributes in Author
Replies: 4
Views: 2320

Re: Displaying read-only attributes in Author

Hi, You can still use form controls, you just have to mark the element as READ_ONLY (using the -oxy-editable property). As a result the form controls will also be READ-ONLY: element:before { content: oxy_local-name() " " oxy_textfield(edit, '@attr1', columns, 10) " " oxy_textfiel...