Search found 604 matches

by alex_jitianu
Mon Nov 28, 2016 2:04 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Dynamic href and keyref!
Replies: 11
Views: 829

Re: Dynamic href and keyref!

Hi Shabeer, You can go in this direction too. I suggest adding a context menu customizer. Since you are in an Eclipse environment the easiest way would be to use the ActionBarContributorCustomizer extension point . On the customizeAuthorPageExtensionMenu() callback I recommend searching for the two ...
by alex_jitianu
Thu Nov 24, 2016 12:49 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Update framework from site on eclipse oxygen
Replies: 3
Views: 1742

Re: Update framework from site on eclipse oxygen

Hi Oscar, Ideally we would like to extend the frameworks in a similar way as we extend document types, by extensions. Possible? Well, both a framework and a document type refer to the same thing. We kind of use both terms to refer to the configuration associated with a specific XML vocabulary. how c...
by alex_jitianu
Thu Nov 24, 2016 12:20 pm
Forum: Common Problems
Topic: Author: open link to local folder
Replies: 8
Views: 643

Re: Author: open link to local folder

Hi Oscar, Well, both a framework and a document type refer to the same thing. We kind of use both terms to refer to the configuration associated with a specific XML vocabulary. So, if you've create a document type please make sure you set the Storage as External and select a directory from within th...
by alex_jitianu
Thu Nov 24, 2016 10:35 am
Forum: Common Problems
Topic: Author: open link to local folder
Replies: 8
Views: 643

Re: Author: open link to local folder

Hi, What happens is that a rule from a CSS, for which Oxygen can't guarantee that it's safe, tries to perform an action which is potentially dangerous. The solution is to move this CSS in a "safe" location, meaning the frameworks. Do you have a framework (or document type) created for your...
by alex_jitianu
Wed Nov 23, 2016 4:16 pm
Forum: Common Problems
Topic: Author: open link to local folder
Replies: 8
Views: 643

Re: Author: open link to local folder

Hi, Ups, my bad! I mistook the XPath concat() function in your example for our oxy_concat() CSS function... Anyway, instead of relying on the link property you could use a button form control like this: localFolder:after { content:oxy_button(action, oxy_action( name, 'Open', description, 'Open the f...
by alex_jitianu
Wed Nov 23, 2016 2:57 pm
Forum: Common Problems
Topic: Author: open link to local folder
Replies: 8
Views: 643

Re: Author: open link to local folder

Hello, I think you should compose the link like this: link: oxy_concat("file:///Q:/Digitalisate/Bayreuth_Bamberg/_jpeg_Bayreuth Digi/",oxy_xpath('./text()')); You need oxy_xpath() to get the text of <localFolder> and you use oxy_concat() to merge the two parts together. Best regards, Alex
by alex_jitianu
Wed Nov 23, 2016 2:49 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: An additional value in dropdown for oXygen 18
Replies: 7
Views: 477

Re: An additional value in dropdown for oXygen 18

Hi, But in oxygen18 it is not showing as empty space in stead it is showing <Empty> (I donot want this). What version and build are you using? To find out, go to Help->About. I've tested in <oXygen/> XML Editor 18.1, build 2016102619 and I don't see this label. Please use the CSS Inspector to make s...
by alex_jitianu
Wed Nov 23, 2016 1:11 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: An additional value in dropdown for oXygen 18
Replies: 7
Views: 477

Re: An additional value in dropdown for oXygen 18

Hi Mounika, For the dropdown issue, to remove that empty entry you must remove the starting comma from the values and labels properties. They should be like this: labels, "condensed, pgwide, cond pgwide" values, "condensed, pgwide, condensed pgwide", For the font issue. From the ...
by alex_jitianu
Tue Nov 22, 2016 5:42 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Dynamic href and keyref!
Replies: 11
Views: 829

Re: Dynamic href and keyref!

Hi Shabeer, What you could do is to create you own action that will always delegate to the default "Paste as link(keyref)" action. It can do that by calling: DITAAccess.pasteAsReference(authorAccess, PasteInfo.PASTE_AS_KEYREF); if no exception was thrown and no error message was returned t...
by alex_jitianu
Tue Nov 22, 2016 3:41 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: An additional value in dropdown for oXygen 18
Replies: 7
Views: 477

Re: An additional value in dropdown for oXygen 18

Hi Mounika, In version 18 the combo box has received a new parameter: canRemoveValue. If the value is set to true and the combo box is not editable, then a new <Empty> value is added in that combo box. This clears or removes the value being edited, depending on if it edits an element or attribute. H...
by alex_jitianu
Thu Nov 17, 2016 4:58 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Update framework from site on eclipse oxygen
Replies: 3
Views: 1742

Re: Update framework from site on eclipse oxygen

Hi Oscar, You probably already have your own Eclipse plugin that uses the extension points provided by our oXygen XML Eclipse plug-in. if that's the case, then your plugin can set an additional frameworks location using our API: PluginWorkspaceProvider.getPluginWorkspace().setGlobalObjectProperty( &...
by alex_jitianu
Wed Nov 16, 2016 6:15 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Copy paste Microsoft words to docbook xml
Replies: 1
Views: 231

Re: Copy paste Microsoft words to docbook xml

Hello, The Smart Paste support is configurable . Underneath the scenes there is an XSLT that converts the HTML flavor put into clipboard into the specific format. In case of DocBook, this file is {oxygenInstallDir}/frameworks/docbook/resources/xhtml2db5Driver.xsl . So what you should do is: 1. First...
by alex_jitianu
Fri Nov 04, 2016 4:05 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XPath contexts in MultipleActionsOperation
Replies: 9
Views: 2330

Re: XPath contexts in MultipleActionsOperation

Hi Stefan, The sample chains two actions together: 1. The first action will insert a 'b' element and will ask for the value of an attribute (uninspired called @attr). 2. The second action looks at the value of the attribute (.[@attr='A']) and if its value is 'A' it will set another attribute @other=...
by alex_jitianu
Wed Oct 19, 2016 4:37 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Implement a button to open a keyref
Replies: 2
Views: 271

Re: Implement a button to open a keyref

Hi, You could use a button bound to a JSOperation, like this: *[keyref]:before { text-decoration-line : underline ; content: oxy_action( name, attr(keyref), operation, 'ro.sync.ecss.extensions.commons.operations.JSOperation', arg-script, oxy_concat('function doOperation(){ var url = Packages.ro.sync...
by alex_jitianu
Mon Oct 17, 2016 3:48 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: GUI Customization
Replies: 1
Views: 185

Re: GUI Customization

Hi Mounika, I've tested with an 'ex' element both inside and outside a 'title' element and, as far as I could tell, both labels ("scale" and "scalefit") were rendered with the same font. What Oxygen version are you using? Can you give me a small XML snapshot on which the labels d...
by alex_jitianu
Mon Oct 17, 2016 3:28 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Difference between 17 and 17.1
Replies: 1
Views: 157

Re: Difference between 17 and 17.1

Hi Mounika, I think that what changed in this case were the built-in DITA CSSs. I suggest to start both versions and use the CSS Inspector to see what rules apply in both versions. You should be able to identify the additional rule (or change) introduced in 17.1 that doesn't interact well with your ...
by alex_jitianu
Mon Oct 17, 2016 11:08 am
Forum: SDK-API, Frameworks - Document Types
Topic: Copy/Paste fail when XML contains comment
Replies: 1
Views: 1591

Re: Copy/Paste fail when XML contains comment

Hi Johann, The fragment contains just that XML comment? Is there any exception or error message present inside the console? I tried to reproduce this behavior but in my case it worked as expected. I've tested on the sample Author Component project on which I've made sure the SDK version is 18.0.0.3:...
by alex_jitianu
Tue Oct 11, 2016 3:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: DITALinkTextResolver.resolveReference sample
Replies: 3
Views: 1437

Re: DITALinkTextResolver.resolveReference sample

Hello, Unfortunately DITAAccess code is not API but more of a gateway between API and private code. I will file in a request to enhance our API to allow you to extract additional content from the target of the link. Meanwhile, you probably have to identify the case where the link is a topic (from th...
by alex_jitianu
Tue Oct 11, 2016 10:24 am
Forum: SDK-API, Frameworks - Document Types
Topic: DITALinkTextResolver.resolveReference sample
Replies: 3
Views: 1437

Re: DITALinkTextResolver.resolveReference sample

Hello, The code for DITALinkTextResolver is open source and it's available in the oxygen-sample-framework module from our SDK sample project. After you set up the project, you need to run mvn generate-resources (the sample project is a Maven multi-module project) inside the oxygen-sample-framework m...
by alex_jitianu
Mon Oct 10, 2016 11:21 am
Forum: Common Problems
Topic: How to view xhtml body content in Bangla
Replies: 10
Views: 1763

Re: How to view xhtml body content in Bangla

Hello, Unfortunately I can't recommend a specific font from that page because I haven't worked with Bangla language myself. After installing the font and setting up Oxygen to use that font, take a look inside your documents wand see if the correct glyph is presented in the places where a box was bef...
by alex_jitianu
Fri Sep 30, 2016 4:19 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to review all comments in a collection
Replies: 4
Views: 477

Re: How to review all comments in a collection

Hello,

Alongside the Find/Replace Dialog introduced in the above presentation, you should also take a look at the Review view which presents all the tracked changes and comments from the current document.

Best regards,
Alex
by alex_jitianu
Tue Sep 27, 2016 9:22 am
Forum: SDK-API, Frameworks - Document Types
Topic: insertFragment in AuthorMode is pretty
Replies: 1
Views: 1394

Re: insertFragment in AuthorMode is pretty

Hi Andy, When the Author page serializes its content, it automatically applies some pretty print rules. These rules can be controlled from the Author Preferences page. Once you arrive on this page, focus on the Compatibility with other tools section. if you select Do not break lines, do not indent ,...
by alex_jitianu
Wed Sep 14, 2016 2:45 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Reducing the font size in dropdowns,checkboxes,textfield
Replies: 6
Views: 323

Re: Reducing the font size in dropdowns,checkboxes,textfield

Hi Mounika, Let's say you have something like this: p:before { content: "My Label" oxy_combo(....) } If you want to reduce the size of the combo but keep "My Label" at a bigger size, you can do this: p:before { font-size:12px; content: oxy_label(text, "My Label", styles...
by alex_jitianu
Tue Sep 13, 2016 5:12 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Multilevel checkbox similar to Apply Profile dialog in Author view
Replies: 10
Views: 1737

Re: Multilevel checkbox similar to Apply Profile dialog in Author view

Hi Ashu, When configuring the actions inside the framework, don't put anything in the "When this XPath expression is true" nor in the "elementLocation" parameter. The master action, the one configured inside the CSS, is bounded on the table element (through the selector) so the a...
by alex_jitianu
Tue Sep 13, 2016 5:00 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Reducing the font size in dropdowns,checkboxes,textfield
Replies: 6
Views: 323

Re: Reducing the font size in dropdowns,checkboxes,textfield

Hi Mounika, You can use multiple pseudo elements: *[class ~= "topic/note"]:before(10){ content: " Note: "; font-weight: bold; } note:not(*[conkeyref]):before(5) { font-size: 0.7em; content: oxy_combobox(edit, "@type", editable, false, values, ", ,other,tip", c...
by alex_jitianu
Tue Sep 13, 2016 3:20 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Reducing the font size in dropdowns,checkboxes,textfield
Replies: 6
Views: 323

Re: Reducing the font size in dropdowns,checkboxes,textfield

Hi Mounika,

Since these form controls are added on a "before" element, you can use fontInherit as this:
p:before {
font-size:0.6em;
content: oxy_textfield(...., fontInherit, true)
}

Best regards,
Alex
by alex_jitianu
Tue Sep 13, 2016 3:16 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Multilevel checkbox similar to Apply Profile dialog in Author view
Replies: 10
Views: 1737

Re: Multilevel checkbox similar to Apply Profile dialog in Author view

Hi Ashu, No problem! In the CSS you have a rule like this: table:before{ content: oxy_button(action, oxy_action( name, 'Insert', operation, 'ro.sync.ecss.extensions.commons.operations.ExecuteMultipleActionsOperation', arg-actionIDs, 'setFrame\A setRowsep\A setColsep' )) !important; } Please note tha...
by alex_jitianu
Tue Sep 13, 2016 12:27 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Load programmatically alternative CSS
Replies: 5
Views: 1664

Re: Load programmatically alternative CSS

Hi Johann, Thank you for reporting this issue. It looks like when you disable the layout events, as an undesired side effect, the selection model and caret also remain stale. I will add an issue to resolve this problem. Meanwhile, if you still want to use disableLayoutUpdate() you'll have to directl...
by alex_jitianu
Tue Sep 13, 2016 9:29 am
Forum: Other Issues
Topic: Hiding xi:fallback contents in Author mode
Replies: 2
Views: 451

Re: Hiding xi:fallback contents in Author mode

Hi,

Yes, fortunately you can do it from the CSS using a rule like this:

Code: Select all

*:-oxy-referenced-content ~ fallback {
    display : none !important;
}


Best regards,
Alex
by alex_jitianu
Tue Sep 13, 2016 9:26 am
Forum: SDK-API, Frameworks - Document Types
Topic: Multilevel checkbox similar to Apply Profile dialog in Author view
Replies: 10
Views: 1737

Re: Multilevel checkbox similar to Apply Profile dialog in Author view

Hi Ashu, What I've told you so far should work in version 17 too. Have you encountered any problems? Another important thing, if I need to find the actionID, how can I find them? I assume you are taloking about the actionID parameter of the button form control , right? The value of this parameter is...

Go to advanced search