[JPP-Devel] R: Using PDF Files As Embedded Help
In Windows simply using: start anyfile.pdf will open the associated viewer for PDF files. I have no idea for Linux and MacOS. Maybe Java itself have something to abstract OS differencies...??? Bye Paolo Rizzi -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] conto di Sunburned Surveyor Inviato: martedì 18 settembre 2007 2.18 A: List for discussion of JPP development and use. Oggetto: [JPP-Devel] Using PDF Files As Embedded Help I decided that I would try Peppe's idea of using PDF files as embedded help in OpenJUMP. I'm going to have a help button in some of the dialogs in my Super Select Tool. The button will open a designated PDF file using a PDF viewer/reader. I would like to know if we can use a common variable to store the location of the PDF file the user would like to use to view the help files. I can set this up for just my plug-in, but then we might get a situation where the user is specifying his PDF viewer for everyone's plug-in, and that would stink. I was thinking that we could use a text file with the path to the PDF viewer, or that we might have an entry in the Registry. What do you guys think? Is there a way to use the Java runtime to dynamically determine which program should be executed for a specific file type? (That would be too cool!) The Sunburned Surveyor P.S. - I'm going to try to use ProcessBuilder to fire up the PDF viewer with the correct help file. I've got the command down using the Microsoft Windows terminal, so I think ProcessBuilder will do the trick for me. If others will use this system to present embedded help I will try to wrap my code in a simple API that everyone can use. -- --- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] R: Using PDF Files As Embedded Help
Hi Peppe, HTML is no harder than PDF and works much the same. Just work as normal and choose Save As (HTML) from OpenOffice Writer (or Word). regards, Larry On 9/18/07, Giuseppe Aruta [EMAIL PROTECTED] wrote: Hi, the idea of using PDF was strictly connected to internationalization of OpenJUM, since it is easier, I think, to translate quickly any word/openwriter docs in pdf. I have no idea how to work in html :-. Peppe --- P.Rizzi Ag.Mobilità Ambiente [EMAIL PROTECTED] ha scritto: In Windows simply using: start anyfile.pdf will open the associated viewer for PDF files. I have no idea for Linux and MacOS. Maybe Java itself have something to abstract OS differencies...??? Bye Paolo Rizzi -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] conto di Sunburned Surveyor Inviato: martedì 18 settembre 2007 2.18 A: List for discussion of JPP development and use. Oggetto: [JPP-Devel] Using PDF Files As Embedded Help I decided that I would try Peppe's idea of using PDF files as embedded help in OpenJUMP. I'm going to have a help button in some of the dialogs in my Super Select Tool. The button will open a designated PDF file using a PDF viewer/reader. I would like to know if we can use a common variable to store the location of the PDF file the user would like to use to view the help files. I can set this up for just my plug-in, but then we might get a situation where the user is specifying his PDF viewer for everyone's plug-in, and that would stink. I was thinking that we could use a text file with the path to the PDF viewer, or that we might have an entry in the Registry. What do you guys think? Is there a way to use the Java runtime to dynamically determine which program should be executed for a specific file type? (That would be too cool!) The Sunburned Surveyor P.S. - I'm going to try to use ProcessBuilder to fire up the PDF viewer with the correct help file. I've got the command down using the Microsoft Windows terminal, so I think ProcessBuilder will do the trick for me. If others will use this system to present embedded help I will try to wrap my code in a simple API that everyone can use. -- --- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel ___ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- http://amusingprogrammer.blogspot.com/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] R: Using PDF Files As Embedded Help
Hi, the idea of using PDF was strictly connected to internationalization of OpenJUM, since it is easier, I think, to translate quickly any word/openwriter docs in pdf. I have no idea how to work in html :-. Peppe --- P.Rizzi Ag.Mobilità Ambiente [EMAIL PROTECTED] ha scritto: In Windows simply using: start anyfile.pdf will open the associated viewer for PDF files. I have no idea for Linux and MacOS. Maybe Java itself have something to abstract OS differencies...??? Bye Paolo Rizzi -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] conto di Sunburned Surveyor Inviato: martedì 18 settembre 2007 2.18 A: List for discussion of JPP development and use. Oggetto: [JPP-Devel] Using PDF Files As Embedded Help I decided that I would try Peppe's idea of using PDF files as embedded help in OpenJUMP. I'm going to have a help button in some of the dialogs in my Super Select Tool. The button will open a designated PDF file using a PDF viewer/reader. I would like to know if we can use a common variable to store the location of the PDF file the user would like to use to view the help files. I can set this up for just my plug-in, but then we might get a situation where the user is specifying his PDF viewer for everyone's plug-in, and that would stink. I was thinking that we could use a text file with the path to the PDF viewer, or that we might have an entry in the Registry. What do you guys think? Is there a way to use the Java runtime to dynamically determine which program should be executed for a specific file type? (That would be too cool!) The Sunburned Surveyor P.S. - I'm going to try to use ProcessBuilder to fire up the PDF viewer with the correct help file. I've got the command down using the Microsoft Windows terminal, so I think ProcessBuilder will do the trick for me. If others will use this system to present embedded help I will try to wrap my code in a simple API that everyone can use. -- --- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel ___ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] R: Using PDF Files As Embedded Help
You are right Larry, the problem is that working with HTML means to separate the original opendoc in different pages, since save to HTML page saves to only one big page, difficult to manage. I have no idea how to split the opendoc and save it to different HTML saving the links between them. More than this a small PDF can also be used as a separate tutorial and not embedded in OJ. I think we can leave opened the two option, HTML and PDF. An than take the decision later Peppe --- Larry Becker [EMAIL PROTECTED] ha scritto: Hi Peppe, HTML is no harder than PDF and works much the same. Just work as normal and choose Save As (HTML) from OpenOffice Writer (or Word). regards, Larry On 9/18/07, Giuseppe Aruta [EMAIL PROTECTED] wrote: Hi, the idea of using PDF was strictly connected to internationalization of OpenJUM, since it is easier, I think, to translate quickly any word/openwriter docs in pdf. I have no idea how to work in html :-. Peppe --- P.Rizzi Ag.Mobilità Ambiente [EMAIL PROTECTED] ha scritto: In Windows simply using: start anyfile.pdf will open the associated viewer for PDF files. I have no idea for Linux and MacOS. Maybe Java itself have something to abstract OS differencies...??? Bye Paolo Rizzi -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] conto di Sunburned Surveyor Inviato: martedì 18 settembre 2007 2.18 A: List for discussion of JPP development and use. Oggetto: [JPP-Devel] Using PDF Files As Embedded Help I decided that I would try Peppe's idea of using PDF files as embedded help in OpenJUMP. I'm going to have a help button in some of the dialogs in my Super Select Tool. The button will open a designated PDF file using a PDF viewer/reader. I would like to know if we can use a common variable to store the location of the PDF file the user would like to use to view the help files. I can set this up for just my plug-in, but then we might get a situation where the user is specifying his PDF viewer for everyone's plug-in, and that would stink. I was thinking that we could use a text file with the path to the PDF viewer, or that we might have an entry in the Registry. What do you guys think? Is there a way to use the Java runtime to dynamically determine which program should be executed for a specific file type? (That would be too cool!) The Sunburned Surveyor P.S. - I'm going to try to use ProcessBuilder to fire up the PDF viewer with the correct help file. I've got the command down using the Microsoft Windows terminal, so I think ProcessBuilder will do the trick for me. If others will use this system to present embedded help I will try to wrap my code in a simple API that everyone can use. -- --- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel ___ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- http://amusingprogrammer.blogspot.com/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] R: Using PDF Files As Embedded Help
Your right, Peppe. There is certainly a role for both formats and no need to limit ourselves to only one. regards, Larry On 9/18/07, Giuseppe Aruta [EMAIL PROTECTED] wrote: You are right Larry, the problem is that working with HTML means to separate the original opendoc in different pages, since save to HTML page saves to only one big page, difficult to manage. I have no idea how to split the opendoc and save it to different HTML saving the links between them. More than this a small PDF can also be used as a separate tutorial and not embedded in OJ. I think we can leave opened the two option, HTML and PDF. An than take the decision later Peppe --- Larry Becker [EMAIL PROTECTED] ha scritto: Hi Peppe, HTML is no harder than PDF and works much the same. Just work as normal and choose Save As (HTML) from OpenOffice Writer (or Word). regards, Larry On 9/18/07, Giuseppe Aruta [EMAIL PROTECTED] wrote: Hi, the idea of using PDF was strictly connected to internationalization of OpenJUM, since it is easier, I think, to translate quickly any word/openwriter docs in pdf. I have no idea how to work in html :-. Peppe --- P.Rizzi Ag.Mobilità Ambiente [EMAIL PROTECTED] ha scritto: In Windows simply using: start anyfile.pdf will open the associated viewer for PDF files. I have no idea for Linux and MacOS. Maybe Java itself have something to abstract OS differencies...??? Bye Paolo Rizzi -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] conto di Sunburned Surveyor Inviato: martedì 18 settembre 2007 2.18 A: List for discussion of JPP development and use. Oggetto: [JPP-Devel] Using PDF Files As Embedded Help I decided that I would try Peppe's idea of using PDF files as embedded help in OpenJUMP. I'm going to have a help button in some of the dialogs in my Super Select Tool. The button will open a designated PDF file using a PDF viewer/reader. I would like to know if we can use a common variable to store the location of the PDF file the user would like to use to view the help files. I can set this up for just my plug-in, but then we might get a situation where the user is specifying his PDF viewer for everyone's plug-in, and that would stink. I was thinking that we could use a text file with the path to the PDF viewer, or that we might have an entry in the Registry. What do you guys think? Is there a way to use the Java runtime to dynamically determine which program should be executed for a specific file type? (That would be too cool!) The Sunburned Surveyor P.S. - I'm going to try to use ProcessBuilder to fire up the PDF viewer with the correct help file. I've got the command down using the Microsoft Windows terminal, so I think ProcessBuilder will do the trick for me. If others will use this system to present embedded help I will try to wrap my code in a simple API that everyone can use. -- --- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel ___ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- http://amusingprogrammer.blogspot.com/