|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Specifying source region for fo:external-graphicsHello everybody,
I'm looking for a way to embed single pages of a pdf-document into a xsl-fo-document. This can be done with the fo:external-graphic. However, I want to embed only a part of the pdf-page. Is there a way to specify the region of the source-image (or pdf-page in my case) that should be embedded? Or is it possible to preprocess the pdf I want to embed in some way so that the parts of the page I don't want to embed are croped? Thanks for your advice Stefan |
|
|
Re: Specifying source region for fo:external-graphicsOn Mon, Nov 03 2008 17:56:17 +0000, sl@... wrote: > I'm looking for a way to embed single pages of a pdf-document into a > xsl-fo-document. This can be done with the fo:external-graphic. However, I > want to embed only a part of the pdf-page. Is there a way to specify the > region of the source-image (or pdf-page in my case) that should be embedded? No. It is in the current XSLT 2.0 requirements draft [2]. If it, or any other aspect of the requirements, is important to you, you should complete the requirement survey [3] so the XSL FO subgroup can gauge what is important to people. > Or is it possible to preprocess the pdf I want to embed in some way so that > the parts of the page I don't want to embed are croped? There's probably lots of ways. The one that I am most familiar with is "convert" from the ImageMagick project [1]. It can probably slice and dice your PDF in more ways than you thought possible. Regards, Tony Graham Tony.Graham@... Director W3C XSL FO SG Invited Expert Menteith Consulting Ltd XML, XSL and XSLT consulting, programming and training Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland Registered in Ireland - No. 428599 http://www.menteithconsulting.com -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- xmlroff XSL Formatter http://xmlroff.org xslide Emacs mode http://www.menteith.com/wiki/xslide Unicode: A Primer urn:isbn:0-7645-4625-2 [1] http://www.imagemagick.org/script/index.php [2] http://www.w3.org/TR/2008/WD-xslfo20-req-20080326/#N66967 [3] http://www.w3.org/2002/09/wbs/1/xslfo20requirements/ |
|
|
Re: Specifying source region for fo:external-graphicsOn Tue, Nov 04 2008 10:14:26 +0000, Tony.Graham@... wrote: ... > If it, or any other aspect of the requirements, is important to you, you > should complete the requirement survey [3] so the XSL FO subgroup can > gauge what is important to people. ... > [3] http://www.w3.org/2002/09/wbs/1/xslfo20requirements/ Whoops. I just seen that the survey closed at the end of September after being available for eight months. Regards, Tony Graham Tony.Graham@... Director W3C XSL FO SG Invited Expert Menteith Consulting Ltd XML, XSL and XSLT consulting, programming and training Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland Registered in Ireland - No. 428599 http://www.menteithconsulting.com -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- xmlroff XSL Formatter http://xmlroff.org xslide Emacs mode http://www.menteith.com/wiki/xslide Unicode: A Primer urn:isbn:0-7645-4625-2 |
|
|
Re: Specifying source region for fo:external-graphics2008/11/4 Tony Graham <Tony.Graham@...>: > > On Tue, Nov 04 2008 10:14:26 +0000, Tony.Graham@... wrote: > ... >> If it, or any other aspect of the requirements, is important to you, you >> should complete the requirement survey [3] so the XSL FO subgroup can >> gauge what is important to people. > ... >> [3] http://www.w3.org/2002/09/wbs/1/xslfo20requirements/ > > Whoops. I just seen that the survey closed at the end of September > after being available for eight months. I can see why the WG would want to 'stop' feature requests, to work on a release. No reason to stop submissions though.. surely? I'm fully supportive of 'insertions' into FO, for suitable media. Docbook brought up mathml recently. PDF is another one that seems to come up quite regularly. regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk |
|
|
Re: Specifying source region for fo:external-graphicsOn Tue, Nov 04 2008 11:00:05 +0000, dave.pawson@... wrote: > 2008/11/4 Tony Graham <Tony.Graham@...>: >> On Tue, Nov 04 2008 10:14:26 +0000, Tony.Graham@... wrote: >> ... >>> If it, or any other aspect of the requirements, is important to you, you >>> should complete the requirement survey [3] so the XSL FO subgroup can >>> gauge what is important to people. >> ... >>> [3] http://www.w3.org/2002/09/wbs/1/xslfo20requirements/ >> >> Whoops. I just seen that the survey closed at the end of September >> after being available for eight months. > > I can see why the WG would want to 'stop' feature requests, to work > on a release. > > No reason to stop submissions though.. surely? Is six-or-more months a reasonable period for which to collect feedback on a requirements draft? I don't speak for the SG, but I don't see any indication that the SG has stopped listening to people. The requirements draft and the survey both mention that you can enter comments in Bugzilla (the link from the draft currently doesn't work, but Bugzilla is currently up and showing two bugs against the draft), plus there's xsl-editors@... if you can't do Bugzilla. Regards, Tony Graham Tony.Graham@... Director W3C XSL FO SG Invited Expert Menteith Consulting Ltd XML, XSL and XSLT consulting, programming and training Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland Registered in Ireland - No. 428599 http://www.menteithconsulting.com -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- xmlroff XSL Formatter http://xmlroff.org xslide Emacs mode http://www.menteith.com/wiki/xslide Unicode: A Primer urn:isbn:0-7645-4625-2 |
| Free embeddable forum powered by Nabble | Forum Help |