Simplest way: swap the values of the page-width and page-height Attributes
in the Page Master reference of your xsl-template.
greetings torsten
fo:simple-page-master master-reference=A4 page-width=XXXpt
page-height=YYYpt...
-Original Message-
From: Urban, Patrick [mailto:[EMAIL
I think you should try this:
?xml version=1.0?
xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xmlns:fo=http://www.w3.org/1999/XSL/Format; version=1.0
!-- optional --
xsl:output method=xml indent=yes encoding=ISO-8859-1/
note at the version attribute inside the xsl:stylesheet tag
Hi all!
Has anyone experience with ToastScript?
I need a possibility to preview embedded postscript in pdf with AWTRenderer.
Therefore I've downloaded ToastScript, but I cannot find any documentation
(expect api-doc) how to use this. I don't need the gui viewer, because I
have to render the
try:
fo:table-cell display-align=center
Greeting Torsten
-Original Message-
From: Stefano Barella [mailto:[EMAIL PROTECTED]
Sent: Freitag, 28. Juni 2002 10:29
To: [EMAIL PROTECTED]
Subject: How to Center a text in a table cell?
Hi, I'm Stefano and I have a problem
with xsl-fo
correctbut the embedded postscript looks still poor on
printing.
I print the pdf via
command line on Acrobat Reader 5.0.
Has anyone an
idea?
ThanX
Torsten Erler
Junior Software DeveloperE-mail: mailto:[EMAIL PROTECTED]
Telephone: (+49) 351-31875-0Direct: (+49) 351-31875-754net-linx
Europe
Attached is a sample pdf file with one included postscsript-ad (Ad.ps).
The PDF uses the same font like the original postscript file
(BellCentennial).
The postscript file is called in the generated fo-file as followed:
fo:block text-align=center
fo:external-graphic src=file:/c:/Ad.ps/
HI
IIRC try to use *.pfb files in
embed-file=...
cu Torsten
attachment: winmail.dat
StreamSource( reader
);Result foResult = new StreamResult( out );Transformer transformer =
getTransformer( xslFilePath );transformer.transform( xmlSource, foResult
);
ThanX
Torsten Erler
Junior Software DeveloperE-mail: mailto:[EMAIL PROTECTED]
Telephone: (+49) 351-31875-0Direct: (+49) 351-31875
The screen rendering result and the produced PDF-file looks very good
(except a few character encoding problems).
Does anyone know how avoid the error
ThanX
Torsten Erler
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi
all,
I've an xml
like:
...
defaultContactPerson
type="PROOF"/defaultContactPerson
type="BILL"/defaultContactPerson type="SALES"Hans Friedrich
Mueller/defaultContactPersondefaultContactPerson
type="MAIL"/defaultContactPerson type="KEY"/
Now I've to check
inside the xsl this:
Hope this helps
Cheers
Mirko
-Ursprüngliche Nachricht-----Von: Torsten Erler
[mailto:[EMAIL PROTECTED]Gesendet: Donnerstag, 24.
April 2003 15:03An: Fop-User (E-mail)Betreff:
accessing attributes in xml
Hi
all,
Hi all,
I need help again with FOPing. I've a table with many rows. Each second row
has a gray colored background.
Now it appears that the gray backgound overlaps the table border
(approximately for a half point) and between the column borders are breaks
(also 1/2 point) on every top of a colored
No I don't think that anyone has written this Renderer, because you've to
translate the whole fo-reference back into html syntax, which would be like
a shot from the back through the breast into the eye.
You can try to write it, but before take a look at
http://www.w3.org/TR/xsl/slice7.html
Each
FYI ghostscript v8.00++ (and naturally ghostview) doesn't render
postscript/eps inside pdf by default, unless you set -dDOPS flag on command
line or ghostsview config.
Reason for that is a security problem with postscript, which has file access
to the client, who is interpreting the postscript
Hi,
I had the same Problem,
org.apache.fop.image.FopImageFactory is caching the Images and will never
release the Reference.
I've commented out m_urlMap.put(href, imageInstance); @ line 223.
You can also try to use WeakHashMap for m_urlMap or add a method which
clears the Map on
...
Sorry I use 0.20.4.
Just now I've downloaded 0.20.5rc2 and I'm enjoyed to see a method at the
end of the class: FopImageFactory.resetCache()
Simply call it ;)
cu
-Original Message-
From: Torsten Erler [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 15. Mai 2003 09:43
To: [EMAIL
Hi
all,
I know it's not the
right List, but I think there are a lot of XSL-Experts here in this
list.
Does anyone know the
XPath _expression_ for counting all Attributes and all childs
(grandchilds...)of all preceding siblings of the selected
node???
In Other words which
row numberhas
comments/proposals etc. are very welcome
cu Torsten
-Original Message-
From: David Neary [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 15. Mai 2003 11:43
To: '[EMAIL PROTECTED]'
Subject: RE: XPath expression
De : Torsten Erler [mailto:[EMAIL PROTECTED]
I know it's not the right
ThanX alot -- your explanation reduces dramatically the size of my xsl and
enlarges my xsl-understanding.
All what I've written in many hours, is shrinked to a few lines of code ;(.
But it works great ;)))
cu Torsten
-Original Message-
From: David Neary [mailto:[EMAIL PROTECTED]
Sent:
Hi there,
has anyone got an example on how to implement PCL and/or Postcript printing
directly to a printer in a servlet using FOP? Couldn´t find anything like
it.
Yepp
OutputStream out = null;
//IP-Stream Printing
if( iPPrinting)
{
Socket s = new Socket( printerName, printerPort );
First
option- save your word file as word 2000 html and try:
http://wh2fo.sourceforge.net/
Second
- I don't know ;(
cu
Torsten
-Original Message-From: Olivier George
[mailto:[EMAIL PROTECTED]Sent: Mittwoch, 21. Mai 2003
15:26To: [EMAIL PROTECTED]Subject: transform pdf
The
Problem is located at FOPImageFactory.
The
m_urlMap caches the url of the Image to the produced FopImage (it doesn't check
for last modified or something else, so you get the same image for the url until
the image reference is cleared).
Solution:
in FOP
0.20.5rc2 you can call
move table header out of the body:
fo:table-header
fo:table-row
fo:table-cell/
fo:table-row
/fo:table-header
fo:table-body
fo:table-row
fo:table-cell/
fo:table-row
/fo:table-body
cu Torsten
-Original Message-
From: Francisco García [mailto:[EMAIL PROTECTED]
Sent: Donnerstag,
Use
fo:table-cell white-space-collapse=false
xsl:value-of..
cu Torsten
-Original Message-
From: Francisco García [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 5. Juni 2003 12:44
To: [EMAIL PROTECTED]
Subject: line break
Hello.
I have a xml:
...
Name My name is
PrintRenderer uses the Result of AWTRenderer...
see: http://xml.apache.org/fop/output.html#general
citation start
General Information
Fonts
Most FOP renderers use a FOP-specific system for font registration. However,
the AWT and print renderers use the java awt package, which gets its font
I don't understand the problem.
AFAIK 'content-width'/'content-height' isn't imlemented but 'width'/'height'
isn't required to show an image!
FOP tries to render the image in its original size except it overflows your
imageable area.
In this case the image will be scaled down to fit at least one
Hi
all,
I've tried to insert
a multipage postscript document into a pdf-document(via external-graphic)
but the result looks not as expected (only one side was rendered and the
different pages are overdrawing each to the other).
I'm afraid that the
feature isn't implemented now.
Is it in
to do some kind of PS2PDF/Distiller thing? Do you
want to append a few pages from a PostScript file to a PDF you're
generating with FOP? I may be able to give you a few hints.
On 17.06.2003 13:00:27 Torsten Erler wrote:
I've tried to insert a multipage postscript document into a
pdf-document
The last one sounds good...
Any other Idea (don't know whether it works):
I've tried to distill the postscript file by GhostScript and the result
looks good.
It creates a pdf site for each postcript page.
Can I append/insert the created pdf into the original one, created by FOP?
cu and ThanX
Ok Thanx Jeremias, U'r suggestions were very helpful for me.
cu Torsten
-Original Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 17. Juni 2003 13:54
To: [EMAIL PROTECTED]
Subject: Re: multipage postscript files
On 17.06.2003 13:47:58 Torsten Erler
files
Using Ghostscript you can merge 2 or more pdf files.
- Original Message -
From: Torsten Erler [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 2:05 PM
Subject: RE: multipage postscript files
Ok Thanx Jeremias, U'r suggestions were very helpful for me
Hi Zahidul ...
I've adapted your xsl code snip with a few surrounding necessary tags to
reproduce it and behold there are the images in both cases !!!
I don't know exactly what's missing in your stylesheet, but it works without
fixed image sizes (as a said yesterday)
I swear ;)
Find the working
Hi Nicolas
hmm... you've forgot to flushing and closing the OutputStream!
and you have to do it in a finally clause if you want it to be
reliable.
I've also to bleat ;)
Remove 'Thread.sleep(2)',
if your'e waiting for the execution do that:
*
//close the Stream before calling
Hi
AFAIK neither Helvetica nor the other fonts youv'e tried out, contain this
glyph so U've to use a font which has this character at this address.
Unfortunality I cant help you which font has it
but I think another solution would be to create a simple graphic (box.gif)
which can be scaled
I thought do you need SOME checkboxes but afaik Zapf contains only the
unchecked one (with different dropping shadow).
To use external graphic shouldn't be a perfomance problem I think (the glyph
must also been read from the font file!).
For best quality you can use SVG to draw the boxes your'e
Turn on hyphanation in your stylesheet like below:
fo:table
table-layout=fixed
inline-progression-dimension.optimum=100%
hyphenate=true
language=en
hyphenation-push-character-count=2
hyphenation-remain-character-count=2
cu Torsten
-Original Message-
From: Zmitko, Jan [mailto:[EMAIL
Hi,
either you use the (unchecked) checkbox from ZapfDingbats Font
fo:inline font-family=ZapfDingbats font-size=10pt#x274F;/fo:inline
or draw it by yourself (svg requires batik.jar) like that:
!-- checked checkbox (50% scaled down) --
fo:instream-foreign-object width=11pt height=11pt
svg:svg
it. Can you give more
$ support, please? :-)
$ thanx in advance!!
$
$ suse
$
$ -Ursprüngliche Nachricht-
$ Von: Torsten Erler [mailto:[EMAIL PROTECTED]
$ Gesendet: Tuesday, July 08, 2003 9:42 AM
$ An: [EMAIL PROTECTED]
$ Betreff: RE: checkbox
$
$ Hi,
$
$ either you use
Hi
A post-processor like iText / ghostscript can do this for you.
see: http://xml.apache.org/fop/resources.html#products-pdf
cu Torsten
-Original Message-
From: Yudhistira Ardhi Nugraha [mailto:[EMAIL PROTECTED]
Sent: Montag, 14. Juli 2003 05:00
To: [EMAIL PROTECTED]
Subject: combine 2
Define a ???-page-master with the appropriate width * heigth
e.g. for A4 Paper:
fo:simple-page-master page-width=297mm page-height=210mm
master-name=a4
fo:region-body/
/fo:simple-page-master
cu Torsten
-Original Message-
From: Leonard Wolters [mailto:[EMAIL PROTECTED]
Sent: Montag,
Hi...
see:
http://xml.apache.org/fop/fo.html#fo-center-table-horizon
regards Torsten
-Original Message-
From: Kodandapani A. [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 15. Juli 2003 14:01
To: [EMAIL PROTECTED]
Subject: Aligning table in center without indenting...
Hi,
I
hi
see: http://xml.apache.org/fop/fo.html#xml-special-chars
to add your own font see: http://xml.apache.org/fop/fonts.html#custom
(ensure that the font has the needed glyphs (charachters) inside.)
All characters (and their addresses) of the PDF Base14 Fonts you can see at:
Hi all...
I've a problem that fop runs in an infinite loop if a table cell spans over
more than one page.
F.e.:
1.Cell | 2.Cell
A CELL | simply
with a | some
lot of | text
bocks |
inside |
and|
here |
is the |
page |
break |
end first page
but the|
43 matches
Mail list logo