Search found 7 matches

by rcfiv
Thu Jun 22, 2023 10:29 pm
Forum: Common Problems
Topic: double-click mac open dita but not file
Replies: 1
Views: 408

double-click mac open dita but not file

Issue The file is associated with the Oxygen editor Oxygen is not started Find dita file and double-click Oxygen starts up, but the dita file is not opened Now that oxygen is started, if I double-click on a file, it opens just fine Is there something I need to do to make this work properly?
by rcfiv
Tue Dec 09, 2014 6:58 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Accessing document content
Replies: 2
Views: 1441

Re: Accessing document content

Hello, The API you are using (WSXMLTextEditorPage) is intended for when the text page is the active page. I suspect that in your situation the author page is active. You can handle both cases like this: String currentPageID = editorAccess.getCurrentPageID(); Object[] values = null; if (EditorPageCo...
by rcfiv
Mon Dec 08, 2014 8:05 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Accessing document content
Replies: 2
Views: 1441

Accessing document content

First I want to say, I know you have examples for this sort of thing. However, I can not find them. I basically downloaded all the jar files for creating the plugin and copied some code I found on the web as well as a plugin that was already installed with my version of oXygen Author (15.2). What I ...
by rcfiv
Mon Dec 08, 2014 4:00 pm
Forum: XSLT and FOP
Topic: Problem transforming DITA to PDF (incompatable types)
Replies: 5
Views: 2859

Re: Problem transforming DITA to PDF (incompatable types)

Radu wrote:Hi,

In the sample code you posted you are creating a new file output stream.
You should keep that created file output stream in a variable and make sure to close the stream at the end, after the generation is finished.

Regards,
Radu

That worked! Thanks!
by rcfiv
Mon Dec 08, 2014 3:34 pm
Forum: XSLT and FOP
Topic: Problem transforming DITA to PDF (incompatable types)
Replies: 5
Views: 2859

Re: Problem transforming DITA to PDF (incompatable types)

Radu wrote:Hi,

In the sample code you posted you are creating a new file output stream.
You should keep that created file output stream in a variable and make sure to close the stream at the end, after the generation is finished.

Regards,
Radu
Good idea, I'll give that a try.
by rcfiv
Mon Dec 08, 2014 3:28 pm
Forum: XSLT and FOP
Topic: Problem transforming DITA to PDF (incompatable types)
Replies: 5
Views: 2859

Re: Problem transforming DITA to PDF (incompatable types)

Actually, I tried removing the reference to FOP from my plugin and it worked. However, now it's not releasing the PDF file. So I can't open the PDF until I shutdown oXygen Author. Do you know a way around this?
by rcfiv
Fri Dec 05, 2014 10:33 pm
Forum: XSLT and FOP
Topic: Problem transforming DITA to PDF (incompatable types)
Replies: 5
Views: 2859

Problem transforming DITA to PDF (incompatable types)

I have an XSLT that is working fine outside of oXygen author (v 15.2). I suspect my problem has to do with my jar files conflicting with oXygen's jar files. Here's the error I am getting: java.lang.ClassCastException: net.sourceforge.jeuclid.fop.JEuclidXMLHandler incompatible with org.apache.fop.ren...