Search found 23 matches

by dvezina
Wed Aug 12, 2015 7:11 pm
Forum: Other Issues
Topic: Disable opening of conrefs when page is not editable
Replies: 2
Views: 1576

Disable opening of conrefs when page is not editable

Hello, I have a page that is not editable. authorPage.setEditable(false); If the DITA document contains conrefs, the user is able to open them. I want to disable the link - preferably without changing the style sheet and preferably through the plugin (not ExtensionBundle). Ideas? Thanks, D Oxygen 17...
by dvezina
Wed Aug 05, 2015 4:03 pm
Forum: Other Issues
Topic: Comments and Track Changes don't work as expected
Replies: 2
Views: 1708

Comments and Track Changes don't work as expected

Hello, I have a document that has many comments. The editor then edits the document whilst reviewing the comments. Track changes is on. When the editor deletes text that is highlighted for a comment, the highlighted region for the comment changes. <?oxy_comment_start?>Now is the time<?oxy_comment_en...
by dvezina
Fri Jul 31, 2015 6:18 pm
Forum: Other Issues
Topic: Load Layout on editorOpened
Replies: 7
Views: 3317

Re: Load Layout on editorOpened

Hi,
Is there a fix for this yet?
Thanks
by dvezina
Thu Jul 02, 2015 6:31 pm
Forum: Other Issues
Topic: Load Layout on editorOpened
Replies: 7
Views: 3317

Re: Load Layout on editorOpened

Hi Radu, This brings up a point I forgot to share with you. This code works in 15.2 but when I switched to 17, it throws a JavaNullPointer at setGlobalObjectProperty the first time a layout is loaded. Open Oxygen Window > Load Layout > Default Close Oxygen Open Oxygen >> Exception Thrown Close Oxyge...
by dvezina
Wed Jul 01, 2015 5:10 pm
Forum: Other Issues
Topic: Load Layout on editorOpened
Replies: 7
Views: 3317

Re: Load Layout on editorOpened

Hi Radu, Rather than doing it this way - one toolbar and view at a time, is there a way to invoke the "Load Layout" action? Similar to the user clicking on Window > Load Layout > Custom ... > "name of my layout" This behaviour wouldn't be something that happens all the time - onl...
by dvezina
Wed Jul 01, 2015 1:38 am
Forum: Other Issues
Topic: Load Layout on editorOpened
Replies: 7
Views: 3317

Load Layout on editorOpened

Hello, I hope this is not a duplicate as I lost my browser earlier. I'm writing an OxygenWorkspaceAccessPlugin / Oxygen 17.0 I know how to impose a layout on applicationStarted. I want to take it a step further and switch the layout based on the document type. That is, call Load Layout passing it th...
by dvezina
Wed May 20, 2015 9:02 pm
Forum: Common Problems
Topic: Find to End button grayed out
Replies: 5
Views: 2566

Re: Find to End button grayed out

Thanks Radu.
Just glad it wasn't me. :D
by dvezina
Wed May 20, 2015 4:23 pm
Forum: Common Problems
Topic: Find to End button grayed out
Replies: 5
Views: 2566

Re: Find to End button grayed out

I'm sorry. I misspoke. I meant [Replace to End]
by dvezina
Wed May 20, 2015 12:07 am
Forum: Common Problems
Topic: Find to End button grayed out
Replies: 5
Views: 2566

Find to End button grayed out

One of our customers is complaining that the Find to End button in the Find/Replace menu is grayed out and never available. It was suggested that our plugins might be the problem. However, I installed a fresh copy of Oxygen 17 with no customizations installed and get the same behaviour. How is this ...
by dvezina
Wed Oct 22, 2014 9:45 pm
Forum: Other Issues
Topic: Arranging Toolbars
Replies: 11
Views: 5203

Re: Arranging Toolbars

Thanks. This is what I was after.
Best regards
by dvezina
Tue Oct 21, 2014 6:06 pm
Forum: Other Issues
Topic: Arranging Toolbars
Replies: 11
Views: 5203

Re: Arranging Toolbars

Hi Radu, Correct. I'm trying to position the Oxygen Search toolbar and set its properties "Hidable, Rearrangable, Floatable". My question is how do I position Oxygen stock toolbars like Search, File, Edit, Author_review, etc from the plugin. I have no difficulty with my own toolbars. Thank...
by dvezina
Mon Oct 20, 2014 11:39 pm
Forum: Other Issues
Topic: Arranging Toolbars
Replies: 11
Views: 5203

Re: Arranging Toolbars

Hi Radu, I tried that but it seems to only work with custom toolbars. Trying to position an Oxygen toolbar throws an error: [ AWT-EventQueue-0 ] - java.lang.IllegalArgumentException: The DockableBar exists with name "Search". Please specify a new name for the dockable bar. java.lang.Illega...
by dvezina
Fri Oct 17, 2014 11:51 pm
Forum: Other Issues
Topic: Arranging Toolbars
Replies: 11
Views: 5203

Arranging Toolbars

Hi, I've written a Workspace Access Plugin. On applicationStarted() I hide the toolbars that I do not want. The toolbars I do want are awkwardly placed in the first three rows. From the plugin I would like to specify the toolbar position, pack them and then turn off Rearrangeable, Hidable, Floating ...
by dvezina
Fri Aug 29, 2014 1:24 am
Forum: Other Issues
Topic: How do I catch a close event?
Replies: 1
Views: 1230

How do I catch a close event?

Hello,
I'm using an WSEditorListener to override the method editorAboutToBeSavedVeto.

I need to do something similar with a close. I need to perform an action before the document closes. How do I catch this event?

Thanks
by dvezina
Fri Aug 22, 2014 2:03 am
Forum: Other Issues
Topic: checkbox Action
Replies: 2
Views: 1440

Re: checkbox Action

Thanks Alex. This was very helpful and worked perfectly!
by dvezina
Wed Aug 20, 2014 5:39 pm
Forum: Other Issues
Topic: checkbox Action
Replies: 2
Views: 1440

checkbox Action

Hi, I'm using a checkbox form control in my CSS. I want to launch an action when this is clicked. oxy_editor( type, check, edit, "@ready", values, "true", uncheckedValues, "false", labels, "") My first thought was to catch the attribute change in the DocumentM...
by dvezina
Fri Apr 25, 2014 7:56 pm
Forum: General XML Questions
Topic: CSS select previous sibling
Replies: 3
Views: 3251

Re: CSS select previous sibling

There is a StyleFilter and DocumentModificationFilter (setAttribute) in play. If CITY and NEIGBORHOOD are in LISTING, they are form controls. If they are a chapter, I render them as normal text. Everything seems to work but the xpath with the attribte that doesnt work. My StyleFilter code is: else i...
by dvezina
Fri Apr 25, 2014 2:30 am
Forum: General XML Questions
Topic: CSS select previous sibling
Replies: 3
Views: 3251

CSS select previous sibling

Hi, My CSS looks like this: CITY + NEIGHBORHOOD[name=""] { display:inline; font-style:italic; content: oxy_xpath("//CITY/@name"); } My XML looks like this: <LISTING> <COUNTRY geo_id="0" id="1051" name="Canada"/> <STATE geo_id="0" id="4...
by dvezina
Tue Mar 18, 2014 5:17 am
Forum: Other Issues
Topic: validate of attributes from CSS
Replies: 3
Views: 1848

Re: validate of attributes from CSS

Worked like a charm.
Thanks!
by dvezina
Sun Mar 16, 2014 8:40 pm
Forum: Other Issues
Topic: validate of attributes from CSS
Replies: 3
Views: 1848

validate of attributes from CSS

I'm setting a @name attribute with contents of a text field. When a user types in "&" I end up with an invalid attribute value. LISTING:before{ display:table-row; padding-top:4px; padding-bottom:8px; font-size:120%; font-weight:bold; text-align:left; content:oxy_editor( type, text, edi...
by dvezina
Sun Mar 16, 2014 8:35 pm
Forum: Other Issues
Topic: CSS recursive oxy_substring
Replies: 2
Views: 1412

Re: CSS recursive oxy_substring

THANK YOU. This is what I needed.
by dvezina
Sat Mar 08, 2014 12:24 am
Forum: Other Issues
Topic: CSS recursive oxy_substring
Replies: 2
Views: 1412

CSS recursive oxy_substring

Hello, XML input: <NEIGHBORHOOD name="North America|Canada|British Columbia|Vancouver|Downtown"/> I need to output only "Downtown" from my CSS. I've tried a combination of nested oxy_indexof and oxy_substring with no luck. Will someone please send me the correct syntax for this? ...