Search found 624 matches

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: 1821

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: 291

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: 2493

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: 321

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: 231

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: 198

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: 1681

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: 1512

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: 1512

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: 1897

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: 560

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: 3
Views: 1630

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: 387

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: 1866

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: 387

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: 387

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: 1866

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: 1775

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: 520

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: 1866

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...
by alex_jitianu
Mon Sep 12, 2016 9:18 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Hiding prolog in No-tag mode
Replies: 2
Views: 269

Re: Hiding prolog in No-tag mode

Hello, Unfortunately you can't style the author mode depending on the tags display mode. Hiding the prolog is easy: *[class~=" topic/prolog "] { display:none; } You can put this rule inside a new alternate CSS named "Hide prolog". The user will select this CSS from the Styles ite...
by alex_jitianu
Tue Sep 06, 2016 4:12 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Multilevel checkbox similar to Apply Profile dialog in Author view
Replies: 10
Views: 1866

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

Hi Ashutosh, This current implementation will only work in oXygen 18 or will it workin in oXygen 17 as well? The button invokes an XQueryUpdateOperation and that operation was introduced in version 17.1. So as long as you use version 17.1 or later it will work. For prior versions, you'll have to inv...
by alex_jitianu
Tue Sep 06, 2016 9:25 am
Forum: SDK-API, Frameworks - Document Types
Topic: Multilevel checkbox similar to Apply Profile dialog in Author view
Replies: 10
Views: 1866

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

Hi Ashu, You can use button form controls that will execute an author action. For example an XQueryUpdateOperation can change multiple attributes: table:before { content: oxy_button(action, oxy_action( name, 'Table', operation, 'XQueryUpdateOperation', arg-script, "if (@frame) then (replace nod...
by alex_jitianu
Fri Aug 26, 2016 9:27 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Changing the color of label in oxy_checkbox
Replies: 6
Views: 348

Re: Changing the color of label in oxy_checkbox

Hi Mounika, Here is a variant that will make the form controls look the same in both contexts. What you should be aware of: - if you take a look at 'booktitle' class attribute you will see that it is a specialization of topic 'title'. This means that if you want to style them equally, only one rule ...
by alex_jitianu
Wed Aug 24, 2016 2:14 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: To remove checkbox in imagemap
Replies: 1
Views: 199

Re: To remove checkbox in imagemap

Hi Mounika, The "imagemap" element is a specialization of the "fig" element. To ensure that @pgwide form control is not presented for the imagemap, add this CSS rule after the rule that sets form control on the "fig" element: *[class~="ut-d/imagemap"]:after { ...
by alex_jitianu
Wed Aug 24, 2016 12:15 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Changing the color of label in oxy_checkbox
Replies: 6
Views: 348

Re: Changing the color of label in oxy_checkbox

Hi Mounika, That's strange. The "color" property, when set on a check box form control, will apply on the check box label. I suspect that you accidentally put the property in the CSS rule (instead of inside the oxy_checkbox() function) and that's why it affected the label before the form c...
by alex_jitianu
Wed Aug 24, 2016 12:11 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Change in textbox size
Replies: 1
Views: 209

Re: Change in textbox size

Hi Mounika, You can't impose a height for form controls but you can make them inherit the font size from the element they are bound to: text:before { font-size:20px; content: "Label" oxy_textfield(edit, '@scale', width, 10em, fontInherit, true); } In the previous example, the label precedi...
by alex_jitianu
Tue Aug 23, 2016 4:12 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Changing the color of label in oxy_checkbox
Replies: 6
Views: 348

Re: Changing the color of label in oxy_checkbox

Hi Mounika, The check box form control accepts a 'color' property. You can use this together with a proper selector: *[class~="bookmap/booktitle"] *[class~="topic/image"]:before { content: "Scale: " oxy_textfield(edit, '@scale', width, 10em) "Scalefit: " oxy_c...
by alex_jitianu
Wed Aug 17, 2016 4:57 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Disabling one attribute on selecting other
Replies: 3
Views: 239

Re: Disabling one attribute on selecting other

Hi Mounika, @scalefit is indeed hidden when selecting @scale but as soon as you remove the value from @scale it will be presented again. This applies to both of them: as soon as you input a value in one the other disappears. As soon as you remove the value both of them are presented. Unfortunately y...
by alex_jitianu
Wed Aug 17, 2016 2:11 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Disabling one attribute on selecting other
Replies: 3
Views: 239

Re: Disabling one attribute on selecting other

Hi, This looks to be the same requirement you've described in: https://www.oxygenxml.com/forum/viewtopic.php?f=20&t=13416 I expected the CSS block I provided there to give you this exact behavior: *[class~="topic/image"]:before { content: "Scale: " oxy_textfield(edit, '@scale...

Go to advanced search