Search found 37 matches

by bpopp
Mon Jan 29, 2018 6:48 pm
Forum: SDK-API, Frameworks - Document Types
Topic: insertXMLFragment w/ Processing Instructions
Replies: 3
Views: 2898

Re: insertXMLFragment w/ Processing Instructions

Actually, all I'm trying to do is add change-tracking processing instructions surrounding the current expression. It's admittedly a little goofy adding "insert" processing instructions around changes , but for our particular use case, we don't need to know exactly what was changed (ie. cha...
by bpopp
Sat Jan 27, 2018 12:51 am
Forum: SDK-API, Frameworks - Document Types
Topic: ExternalObjectInsertionHandler Not Firing for Dragged XML Files
Replies: 5
Views: 3214

Re: ExternalObjectInsertionHandler Not Firing for Dragged XML Files

That's awesome and worked perfectly. Thanks for following up!
by bpopp
Fri Jan 26, 2018 9:15 pm
Forum: SDK-API, Frameworks - Document Types
Topic: insertXMLFragment w/ Processing Instructions
Replies: 3
Views: 2898

insertXMLFragment w/ Processing Instructions

Hopefully someone can help me. I'm trying to add a processing instruction using an AuthorOperation around the current selection. My code looks like: int selStart = authorAccess.getEditorAccess().getSelectionStart(); int selEnd = authorAccess.getEditorAccess().getSelectionEnd(); if ( selEnd != selSta...
by bpopp
Tue Jan 23, 2018 5:35 pm
Forum: SDK-API, Frameworks - Document Types
Topic: ExternalObjectInsertionHandler Not Firing for Dragged XML Files
Replies: 5
Views: 3214

Re: ExternalObjectInsertionHandler Not Firing for Dragged XML Files

Thanks for the tip re: copy/paste from Windows, by the way. That's a good work around.
by bpopp
Tue Jan 23, 2018 5:31 pm
Forum: SDK-API, Frameworks - Document Types
Topic: ExternalObjectInsertionHandler Not Firing for Dragged XML Files
Replies: 5
Views: 3214

Re: ExternalObjectInsertionHandler Not Firing for Dragged XML Files

Thanks Radu. Obviously I'm bias, but I think it would be very useful for all drags to go through the extension, and then allow the use of a return code or overridden function to determine whether the extension should or has dealt with the event. For my particular use case, my "project" fil...
by bpopp
Mon Jan 22, 2018 7:29 pm
Forum: SDK-API, Frameworks - Document Types
Topic: ExternalObjectInsertionHandler Not Firing for Dragged XML Files
Replies: 5
Views: 3214

ExternalObjectInsertionHandler Not Firing for Dragged XML Files

I've written a custom ExternalObjectInsertionHandler to add references from one XML to another (both files have .xml extensions). This extension is working fine when dragging files from the project window, but when I drag an XML file from the Windows File Explorer (more typical use case), the XML fi...
by bpopp
Tue Sep 26, 2017 7:02 pm
Forum: Common Problems
Topic: Keyboard Shortcut to Select Parent Element
Replies: 1
Views: 1462

Keyboard Shortcut to Select Parent Element

Within the Authoring view, is there any way to go back up to the parent element to continue authoring? So, for example, I'm in a para, I type some text, I hit enter to split it into a ul, I start adding list items. Is there any way to get back to the parent 'p' element using only the keyboard? I've ...
by bpopp
Tue Mar 21, 2017 10:27 pm
Forum: SDK-API, Frameworks - Document Types
Topic: AuthorDnDListener Sample
Replies: 2
Views: 2163

Re: AuthorDnDListener Sample

I think I found my answer. The DITA framework apparently does not use the drag and drop handler, but instead uses an ExternalObjectInsertionHandler called DITAMapExternalObjectInsertionHandler. Still wouldn't mind seeing a sample DnD handler, but I think this alternative method will work for what I ...
by bpopp
Tue Mar 21, 2017 7:06 pm
Forum: SDK-API, Frameworks - Document Types
Topic: AuthorDnDListener Sample
Replies: 2
Views: 2163

AuthorDnDListener Sample

Hi, I'm trying to implement a drag and drop listener in the authoring environment. Essentially what I am looking for is the ability to allow files to be dragged from a project or folder, and then have an element added to the target document which references the dropped file via an href attribute (si...
by bpopp
Wed Mar 08, 2017 6:35 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Extend DITA Maps Manager
Replies: 2
Views: 2065

Re: Extend DITA Maps Manager

Thank you Radu. As always, excellent and timely feedback. Not the best news, but I think we can make a conventional framework work.
by bpopp
Wed Mar 08, 2017 1:28 am
Forum: SDK-API, Frameworks - Document Types
Topic: Extend DITA Maps Manager
Replies: 2
Views: 2065

Extend DITA Maps Manager

Hi. We have a collection of XML files that have a book or map file very similar to a DITA map. It's essentially a hierarchical list of chapter and topic references, but they are completely unrelated to DITA with their own element names and attributes, and the content files they point to are not DITA...
by bpopp
Thu Sep 04, 2014 7:19 pm
Forum: Feature Request
Topic: Launch current Webdav URL in Default Browser
Replies: 1
Views: 1962

Launch current Webdav URL in Default Browser

I'm accessing a file in Oxygen via webdav and I'd like to provide a link that opens a similar URL in the default web browser. Is there any way to do this? Ideally I'd like to be able to modify the link slightly before opening it (adding a GET parameter, for example).

Thanks!

Brian
by bpopp
Fri May 03, 2013 11:57 pm
Forum: Common Problems
Topic: Exist DB drops DOCTYPE on Save
Replies: 4
Views: 3696

Re: Exist DB drops DOCTYPE on Save

Yeah, I tried that, but since oxygen uses the class attribute to style DITA content in the editor, and the class attribute is applied via the DTD, which is assigned using catalog files, which are mapped using public ID's (ie. doctypes), the author tab is missing any styling unless I add a DOCTYPE wi...
by bpopp
Tue Apr 30, 2013 6:58 pm
Forum: Common Problems
Topic: Exist DB drops DOCTYPE on Save
Replies: 4
Views: 3696

Re: Exist DB drops DOCTYPE on Save

Thanks for the info. We're currently just testing, so I haven't committed to a version, but we're currently using 2.0 (build 20130207). If I need to upgrade to a newer version, I can. Just curious, but do you have any idea why it drops the DOCTYPE? How else would a client application identify which ...
by bpopp
Mon Apr 29, 2013 6:42 pm
Forum: Common Problems
Topic: Exist DB drops DOCTYPE on Save
Replies: 4
Views: 3696

Exist DB drops DOCTYPE on Save

This is likely an exist issue, but I'm hoping someone here knows a quick fix. When using the Exist data connector (either via xmlrpc or webdav), the DOCTYPE declaration gets dropped on file creation/save. This causes Oxygen to treat the file as text vs in Authoring mode. Anyone know a way to prevent...
by bpopp
Thu May 17, 2012 2:00 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Rendering oxy_delete Processing Instructions
Replies: 3
Views: 3828

Re: Rendering oxy_delete Processing Instructions

George's solution above partially worked, but it still left the content encoded so that in my rendered output I was getting: <p>Here's a deleted paragraph</p> To fix this, the solution I finally came up with was to do a simple search and replace on the tag encoding and replace them with < and > symb...
by bpopp
Wed May 16, 2012 5:34 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Rendering oxy_delete Processing Instructions
Replies: 3
Views: 3828

Re: Rendering oxy_delete Processing Instructions

Hi Brian, I sent you a reply already on the dita-users list. Here it is again that stylesheet that converts the delete PIs to XML elements. You may change that to covert to whatever markup you need. Please make sure you set Saxon 9 PE or EE as your XSLT processor. Thanks so much. I look forward to ...
by bpopp
Thu May 10, 2012 6:23 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Rendering oxy_delete Processing Instructions
Replies: 3
Views: 3828

Rendering oxy_delete Processing Instructions

This isn't exactly an OxygenXML issue, but I'm hoping someone can help me. Basically I'm trying to render the content attribute of the Oxygen delete processing instruction to PDF. My ultimate objective is to render deleted content with strikethru styling. Here's the rule I'm trying: <xsl:variable na...
by bpopp
Tue Apr 10, 2012 11:36 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Sync Problem Building DITA Book from Exist Data Source
Replies: 3
Views: 2989

Re: Sync Problem Building DITA Book from Exist Data Source

Yes, I do remember seeing a "not licensed" message just following the error message quoted above. Thanks for the follow up and I look forward to seeing version 14.
by bpopp
Tue Apr 10, 2012 12:10 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Sync Problem Building DITA Book from Exist Data Source
Replies: 3
Views: 2989

Sync Problem Building DITA Book from Exist Data Source

I'm using Oxygen 13.2. I have a simple book with two files in it. I'm accessing the book via the Exist data source and am trying to process it locally using the DITA/OT. The book processes correctly and builds into a PDF, but both topics are missing. In the DITA transformation log, I found the follo...
by bpopp
Wed Aug 31, 2011 4:48 pm
Forum: Common Problems
Topic: Opening Files in Oxygen from Website
Replies: 2
Views: 1853

Re: Opening Files in Oxygen from Website

The reason for the custom protocol is that I can't remap the http:// protocol to Oxygen since it's already being used by the browser. I'll take a look at the StreamHandler solution. Thanks for the pointer.
by bpopp
Wed Aug 31, 2011 12:43 am
Forum: Common Problems
Topic: Opening Files in Oxygen from Website
Replies: 2
Views: 1853

Opening Files in Oxygen from Website

This is a long shot, but I'll throw it out there. Oxygen appears to open files via the command line when you do something like: "c:\Program Files\Oxygen XML Editor 13\oxygen13.0.exe" http://servername/webdav/blah/blah.dita What I'd like to be able to do is publish a listing of files to a w...
by bpopp
Fri Aug 19, 2011 2:25 am
Forum: Common Problems
Topic: Find and Replace by Map Disabled
Replies: 2
Views: 1649

Find and Replace by Map Disabled

This has to be something simple, but one of our users is trying to do a find/replace across the DITA Map and this option is disabled. If they right click on the map and do it from there, it selects "Current DITA Map Hierarchy", but it is grayed out and doesn't appear to work. This feature ...
by bpopp
Tue Aug 02, 2011 12:28 am
Forum: Common Problems
Topic: Plugins and Keyboard Shortcuts
Replies: 8
Views: 5137

Re: Plugins and Keyboard Shortcuts

My plugin.xml looks like: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plugin SYSTEM "../plugin.dtd"> <plugin name="LowerCase" description="Convert the selection to lowercase" version="1.0.0" vendor="SyncRO" class="ro.syn...
by bpopp
Tue Aug 02, 2011 12:17 am
Forum: Common Problems
Topic: Specialization Breaking the Maps Manager Title
Replies: 5
Views: 2776

Re: Specialization Breaking the Maps Manager Title

I did not know that. I guess the only way to add specializations to the composite would be to change the ditabase.dtd. Seems kinda cludgy. I think I'll just avoid using composites. Thanks for the information.
by bpopp
Thu Jul 28, 2011 10:48 pm
Forum: Common Problems
Topic: Plugins and Keyboard Shortcuts
Replies: 8
Views: 5137

Plugins and Keyboard Shortcuts

I think there might be a slight discrepancy in the documentation regarding plugins. Normally this wouldn't bother me too much, but I can't seem to get either method to work. The Documentation and sample plugins use this convention: <extension type="selectionProcessor" class="ro.sync.s...
by bpopp
Thu Jul 28, 2011 9:52 pm
Forum: Common Problems
Topic: Specialization Breaking the Maps Manager Title
Replies: 5
Views: 2776

Re: Specialization Breaking the Maps Manager Title

Good information, but that's not really what I'm seeing. You must be making an exception for composite wrappers (like dita). For example, if I have a file in a map that looks like this: <!DOCTYPE dita PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd"> <dita> <topic id=&quo...
by bpopp
Wed Jul 27, 2011 9:35 pm
Forum: Common Problems
Topic: Specialization Breaking the Maps Manager Title
Replies: 5
Views: 2776

Specialization Breaking the Maps Manager Title

I'm having an issue where the Maps Manager can no longer parse a document's title if I specialize DITA's composite element (dita). I've created my own composite wrapper called fxdita which defines all my custom topic types (fxtopic, fxprocedure, etc.) If I use this wrapper, the maps manager no longe...
by bpopp
Tue Jun 21, 2011 7:49 pm
Forum: Feature Request
Topic: External Editors
Replies: 1
Views: 1560

External Editors

I'm sure this has probably been asked before (I did search), but is it possible to add external editors for data source resources? For example, it would be really nice to be able to right click an SVG graphic located on a Webdav/Documentum data source and open it within Illustrator or Inkscape. Than...
by bpopp
Mon Jun 20, 2011 7:03 pm
Forum: Feature Request
Topic: Ability to Enable/Disable Track Changes using PI
Replies: 5
Views: 3615

Re: Ability to Enable/Disable Track Changes using PI

Hi Brian, That's a possibility, but a clever user would quickly figure out how to turn off track changes, .......A lock attribute would tie in nicely to the track_changes attribute you already have. As long as you rely on a processing instruction in the XML to lock track changes a clever user can s...