Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » EPF » Export to PDF
Export to PDF [message #50545] Tue, 13 May 2008 16:13 Go to next message
Eclipse UserFriend
Originally posted by: kelvin.weiss.gmail.com

Hi,

is possible export to PDF format? or WORD format?

Thank you
Re: Export to PDF [message #50572 is a reply to message #50545] Thu, 15 May 2008 14:57 Go to previous messageGo to next message
llauramelie is currently offline llauramelieFriend
Messages: 28
Registered: July 2009
Junior Member
Hi,

It would be quite interesting to export to pdf or work format. But this is
a specific feature of RMC, the IBM's commercial version of EPF Composer.

Nevertheless, I think it is possible to exploit the XML files (especially
the XML export) to generate a PDF file using XSLT and XSL-FO. What do you
think about this? Sure, it would require much more work...

Good cheer!

Regards,
Re: Export to PDF [message #50968 is a reply to message #50572] Thu, 12 June 2008 20:27 Go to previous messageGo to next message
Kristian Mandrup is currently offline Kristian MandrupFriend
Messages: 44
Registered: July 2009
Member
Hi there,

I have been working on a project where we are writing a SOA developers and
architecture guide. I made a decision to use EPF, as it fits perfectly for
this job. We needed Word and PDF export, so I spent some time fidling with
the XML export to transform it into a suitable XSL:FO format. It works
now, after some major custom made "XML repair" (the export includes a lot
of "broken html" with escaping that must be unescaped etc.
I use the Apache FOP and XFC for the final pdf and RTF/DOCX
transformations.
This way you can configure the final FO that you end up with to suit your
individual needs. I might post the "repair steps" for others to use as a
stepping stone ;)

PS: My current effort took about 50 hours.

Cheers!

Kris
Re: Export to PDF [message #51024 is a reply to message #50968] Fri, 13 June 2008 11:56 Go to previous messageGo to next message
llauramelie is currently offline llauramelieFriend
Messages: 28
Registered: July 2009
Junior Member
Hi everybody,

Always about PDF export, I tried RMC in order to compare the work with its
specific editing tool and programming from XML export to generate my
proper PDF documents.

When I used RMC trial version, I found the tool a bit heavy to master and
use correctly, and it is difficult to match our specific needs of
presentation. It's sure that it is more easy because you don't need to
program anything, but as I need very specific templates of documents, I
think that RMC reporting tool was not adapted to my expectations.

I'm working on xml Export at present time in order to export part of my
work in PDF.

I'm really interested in your "XML repair". I must say that it is the most
problematic point for PDF export.

Thank you for your help,

Regards,
Ms.Hampshire
Re: Export to PDF [message #51051 is a reply to message #51024] Sat, 14 June 2008 18:51 Go to previous messageGo to next message
Kristian Mandrup is currently offline Kristian MandrupFriend
Messages: 44
Registered: July 2009
Member
I'm still working on some finishing touches. I will post my work as soon
as it is in a suitable state.

BTW: Does anyone have any experience or knowledge regarding "auto
importing" of pictures referenced in the html (from word)?
Re: Export to PDF [message #51080 is a reply to message #51024] Mon, 16 June 2008 09:33 Go to previous messageGo to next message
Kristian Mandrup is currently offline Kristian MandrupFriend
Messages: 44
Registered: July 2009
Member
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 [message #51415 is a reply to message #51080] Fri, 20 June 2008 08:50 Go to previous messageGo to next message
llauramelie is currently offline llauramelieFriend
Messages: 28
Registered: July 2009
Junior Member
Hello,

Your work seems really interesting ^^

Please, keep us aware if you publish your work on repairing XML export
from EPF Composer in order to transform it in XSL:FO.

Thanx.

Regards,
Re: Export to PDF and Import from Word [message #51470 is a reply to message #51415] Fri, 20 June 2008 12:47 Go to previous messageGo to next message
Kristian Mandrup is currently offline Kristian MandrupFriend
Messages: 44
Registered: July 2009
Member
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 #495222 is a reply to message #51470] Wed, 04 November 2009 09:13 Go to previous messageGo to next message
Selvanayagam  is currently offline Selvanayagam Friend
Messages: 8
Registered: October 2009
Junior Member
Hi Friends

Plz help me how to export as PDF.
Re: Export to PDF [message #589364 is a reply to message #50545] Thu, 15 May 2008 14:57 Go to previous messageGo to next message
llauramelie is currently offline llauramelieFriend
Messages: 28
Registered: July 2009
Junior Member
Hi,

It would be quite interesting to export to pdf or work format. But this is
a specific feature of RMC, the IBM's commercial version of EPF Composer.

Nevertheless, I think it is possible to exploit the XML files (especially
the XML export) to generate a PDF file using XSLT and XSL-FO. What do you
think about this? Sure, it would require much more work...

Good cheer!

Regards,
Re: Export to PDF [message #589501 is a reply to message #50572] Thu, 12 June 2008 20:27 Go to previous messageGo to next message
Kristian Mandrup is currently offline Kristian MandrupFriend
Messages: 44
Registered: July 2009
Member
Hi there,

I have been working on a project where we are writing a SOA developers and
architecture guide. I made a decision to use EPF, as it fits perfectly for
this job. We needed Word and PDF export, so I spent some time fidling with
the XML export to transform it into a suitable XSL:FO format. It works
now, after some major custom made "XML repair" (the export includes a lot
of "broken html" with escaping that must be unescaped etc.
I use the Apache FOP and XFC for the final pdf and RTF/DOCX
transformations.
This way you can configure the final FO that you end up with to suit your
individual needs. I might post the "repair steps" for others to use as a
stepping stone ;)

PS: My current effort took about 50 hours.

Cheers!

Kris
Re: Export to PDF [message #589512 is a reply to message #50968] Fri, 13 June 2008 11:56 Go to previous messageGo to next message
llauramelie is currently offline llauramelieFriend
Messages: 28
Registered: July 2009
Junior Member
Hi everybody,

Always about PDF export, I tried RMC in order to compare the work with its
specific editing tool and programming from XML export to generate my
proper PDF documents.

When I used RMC trial version, I found the tool a bit heavy to master and
use correctly, and it is difficult to match our specific needs of
presentation. It's sure that it is more easy because you don't need to
program anything, but as I need very specific templates of documents, I
think that RMC reporting tool was not adapted to my expectations.

I'm working on xml Export at present time in order to export part of my
work in PDF.

I'm really interested in your "XML repair". I must say that it is the most
problematic point for PDF export.

Thank you for your help,

Regards,
Ms.Hampshire
Re: Export to PDF [message #589532 is a reply to message #51024] Sat, 14 June 2008 18:51 Go to previous messageGo to next message
Kristian Mandrup is currently offline Kristian MandrupFriend
Messages: 44
Registered: July 2009
Member
I'm still working on some finishing touches. I will post my work as soon
as it is in a suitable state.

BTW: Does anyone have any experience or knowledge regarding "auto
importing" of pictures referenced in the html (from word)?
Re: Export to PDF [message #589537 is a reply to message #51024] Mon, 16 June 2008 09:33 Go to previous messageGo to next message
Kristian Mandrup is currently offline Kristian MandrupFriend
Messages: 44
Registered: July 2009
Member
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 [message #589652 is a reply to message #51080] Fri, 20 June 2008 08:50 Go to previous messageGo to next message
llauramelie is currently offline llauramelieFriend
Messages: 28
Registered: July 2009
Junior Member
Hello,

Your work seems really interesting ^^

Please, keep us aware if you publish your work on repairing XML export
from EPF Composer in order to transform it in XSL:FO.

Thanx.

Regards,
Re: Export to PDF and Import from Word [message #589669 is a reply to message #51415] Fri, 20 June 2008 12:47 Go to previous messageGo to next message
Kristian Mandrup is currently offline Kristian MandrupFriend
Messages: 44
Registered: July 2009
Member
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 #598959 is a reply to message #51470] Wed, 04 November 2009 09:13 Go to previous messageGo to next message
Selvanayagam  is currently offline Selvanayagam Friend
Messages: 8
Registered: October 2009
Junior Member
Hi Friends

Plz help me how to export as PDF.
Re: Export to PDF and Import from Word [message #721668 is a reply to message #589669] Fri, 02 September 2011 13:45 Go to previous messageGo to next message
Gabriel Hu is currently offline Gabriel HuFriend
Messages: 21
Registered: September 2011
Junior Member
Hello Kristian
Do you have a solution to export from EPF to Word.
Can you share with us ?
Thank you.
Re: Export to PDF and Import from Word [message #722186 is a reply to message #51470] Mon, 05 September 2011 01:15 Go to previous message
Al B is currently offline Al BFriend
Messages: 130
Registered: July 2009
Senior Member
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.
>
>
Previous Topic:Question - Issue with Activity Diagram
Next Topic:EPF Wiki Search
Goto Forum:
  


Current Time: Thu Mar 28 16:11:38 GMT 2024

Powered by FUDForum. Page generated in 0.04460 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top