| 
| Export to PDF [message #50545] | Tue, 13 May 2008 12:13  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: kelvin.weiss.gmail.com 
 Hi,
 
 is possible export to PDF format? or WORD format?
 
 Thank you
 |  |  |  | 
|  | 
|  | 
|  | 
|  | 
| 
| Re: Export to PDF [message #51080 is a reply to message #51024] | Mon, 16 June 2008 05:33   |  | 
| Eclipse User  |  |  |  |  | I have a small Eclipse Java project which includes the XML export repair and demonstrates how the repaired XML can be transformed through a series
 of steps into a suitable XSL:FO format which can be converted to PDF,
 Postscript or some document format (RTF, DOCX, ODT, WML) using either
 Apache FOP or XMLmind FC (XFC). How do share this code? Do I have to be a
 comitter on the project?
 Alternatively post me an email or some otjher localtion I can post/send it
 to...
 
 Would be cool to see someone take my efforts a step further!
 
 I have previously been looking into OAW and their EMF toolkit.
 I think you could leverage the OAW framework to automate importing
 documentation written in Microsoft Word. I imagine you could setup a
 folder structure with the word documents saved as (filtered) htm,
 including their resources (pictures) and a small metadata file (xml) for
 each folder.
 Then traverse the whole folder structure and generate the appropriate XMI
 model, upload the images into the /ressources folder of the plugin and
 reconfigure the internal img hrefs to point to the images in the
 /ressources folder. I also noticed, that the Express Word to HTML
 converter ignores a lot of special characters if they have not been
 properly ecaped (such as danish character æ,ø,å). All the .htm files
 should therefore be properly HTML encoded before they are converted.
 
 Kristian
 |  |  |  | 
|  | 
| 
| Re: Export to PDF and Import from Word [message #51470 is a reply to message #51415] | Fri, 20 June 2008 08:47   |  | 
| Eclipse User  |  |  |  |  | Hi there, 
 I have successfully created a small Java/Groovy framework using XSLT and
 apache FOP and XFC (from Xmlmind.com), that transforms the EPF XML export
 to one or more PDFs.
 
 * PDF representing the default view (could be changed to create for all or
 a particular view)
 * PDF representing each of the major categories of MethodElement, fx a PDF
 with all the Tool and ToolMentors (with internal PDF links!)
 
 One could "easily" extend or customize this framework.
 
 I have since then discovered the xsmall framework
 https://smallx.dev.java.net/
 I'm now in the process of rewriting my "patchwork" framework to something
 more usable!
 
 I have also been working on automating the import of content written in
 Word, using "save as html". I first took the path of trying to generate
 linked .xmi files, but now I am taking the path of generating a single XML
 file that follows the EPF XML Schema, to be imported using EPF "import
 from XML".
 Both methods could potentially work, and each have its own strenghts...
 
 Since I'm as of yet not a committer, I'm not sure where to post any
 finished "product". Any ideas?
 
 Kristian
 
 Ms.Hampshire wrote:
 
 ...
 > Please, keep us aware if you publish your work on repairing XML export
 > from EPF Composer in order to transform it in XSL:FO.
 |  |  |  | 
|  | 
|  | 
|  | 
|  | 
|  | 
| 
| Re: Export to PDF [message #589537 is a reply to message #51024] | Mon, 16 June 2008 05:33   |  | 
| Eclipse User  |  |  |  |  | I have a small Eclipse Java project which includes the XML export repair and demonstrates how the repaired XML can be transformed through a series
 of steps into a suitable XSL:FO format which can be converted to PDF,
 Postscript or some document format (RTF, DOCX, ODT, WML) using either
 Apache FOP or XMLmind FC (XFC). How do share this code? Do I have to be a
 comitter on the project?
 Alternatively post me an email or some otjher localtion I can post/send it
 to...
 
 Would be cool to see someone take my efforts a step further!
 
 I have previously been looking into OAW and their EMF toolkit.
 I think you could leverage the OAW framework to automate importing
 documentation written in Microsoft Word. I imagine you could setup a
 folder structure with the word documents saved as (filtered) htm,
 including their resources (pictures) and a small metadata file (xml) for
 each folder.
 Then traverse the whole folder structure and generate the appropriate XMI
 model, upload the images into the /ressources folder of the plugin and
 reconfigure the internal img hrefs to point to the images in the
 /ressources folder. I also noticed, that the Express Word to HTML
 converter ignores a lot of special characters if they have not been
 properly ecaped (such as danish character æ,ø,å). All the .htm files
 should therefore be properly HTML encoded before they are converted.
 
 Kristian
 |  |  |  | 
|  | 
| 
| Re: Export to PDF and Import from Word [message #589669 is a reply to message #51415] | Fri, 20 June 2008 08:47   |  | 
| Eclipse User  |  |  |  |  | Hi there, 
 I have successfully created a small Java/Groovy framework using XSLT and
 apache FOP and XFC (from Xmlmind.com), that transforms the EPF XML export
 to one or more PDFs.
 
 * PDF representing the default view (could be changed to create for all or
 a particular view)
 * PDF representing each of the major categories of MethodElement, fx a PDF
 with all the Tool and ToolMentors (with internal PDF links!)
 
 One could "easily" extend or customize this framework.
 
 I have since then discovered the xsmall framework
 https://smallx.dev.java.net/
 I'm now in the process of rewriting my "patchwork" framework to something
 more usable!
 
 I have also been working on automating the import of content written in
 Word, using "save as html". I first took the path of trying to generate
 linked .xmi files, but now I am taking the path of generating a single XML
 file that follows the EPF XML Schema, to be imported using EPF "import
 from XML".
 Both methods could potentially work, and each have its own strenghts...
 
 Since I'm as of yet not a committer, I'm not sure where to post any
 finished "product". Any ideas?
 
 Kristian
 
 Ms.Hampshire wrote:
 
 ...
 > Please, keep us aware if you publish your work on repairing XML export
 > from EPF Composer in order to transform it in XSL:FO.
 |  |  |  | 
|  | 
|  | 
| 
| Re: Export to PDF and Import from Word [message #722186 is a reply to message #51470] | Sun, 04 September 2011 21:15  |  | 
| Eclipse User  |  |  |  |  | Kristian, 
 If your code is compliant with the EPL and you are agree to it, then you
 can just open a bugzilla and attach your implementation to it for the
 EPF team to review it and potentially incorporate it into the next release.
 
 http://www.eclipse.org/legal/eplfaq.php
 
 Cheers!
 -A
 
 
 On 6/20/08 5:47 AM, Kristian Mandrup wrote:
 > Hi there,
 >
 > I have successfully created a small Java/Groovy framework using XSLT and
 > apache FOP and XFC (from Xmlmind.com), that transforms the EPF XML
 > export to one or more PDFs.
 > * PDF representing the default view (could be changed to create for all
 > or a particular view)
 > * PDF representing each of the major categories of MethodElement, fx a
 > PDF with all the Tool and ToolMentors (with internal PDF links!)
 >
 > One could "easily" extend or customize this framework.
 >
 > I have since then discovered the xsmall framework
 > https://smallx.dev.java.net/
 > I'm now in the process of rewriting my "patchwork" framework to
 > something more usable!
 >
 > I have also been working on automating the import of content written in
 > Word, using "save as html". I first took the path of trying to generate
 > linked .xmi files, but now I am taking the path of generating a single
 > XML file that follows the EPF XML Schema, to be imported using EPF
 > "import from XML".
 > Both methods could potentially work, and each have its own strenghts...
 >
 > Since I'm as of yet not a committer, I'm not sure where to post any
 > finished "product". Any ideas?
 >
 > Kristian
 >
 > Ms.Hampshire wrote:
 >
 > ..
 >> Please, keep us aware if you publish your work on repairing XML export
 >> from EPF Composer in order to transform it in XSL:FO.
 >
 >
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.06473 seconds