It worked (with some slight modifications).
Thanks very much to everyone who helped me solve this problem.
For those who are interested, here's the working code:
fo:table table-layout=fixed width=100%
fo:table-column column-width=proportional-column-width(.25)/
fo:table-column
yes it works. but is it possible to use something like
attribute?
because when working in a large doc, it seems strange to
write a script or cut and paste the doc.
thx
On Mon, 20 Jan 2003 12:35:08 +0530
[EMAIL PROTECTED] wrote:
just reverse the page-sequence nodes and check it..
-Original
This solution may or may not work in existing servers, but it may also
break. The problem is that ServletContext-getRealPath() is allowed to
return null, for example if the content is served from a WAR.
Rakesh Patel wrote:
Hi,
I have found a solution that I think works (have not got access to a
(1) Where is the ContextClassloader?
(2) Why do you assume that the ResourceLoader is loaded by the same
classloader as the calling class?
Sharma, Siddharth wrote:
Try using this file for loading resources.
Currently it loads only as properties and String but you may choose to
return anyway you
FOP doesn't support mixing different font sizes within one line.
J.Pietschmann
Ok. But although FOP
doesnt support this feature, is there any kind of solution to solve
that? I dont think about me to be the first one havig this kind of
problem. Usually the text comes from a
I want to place picture to the pdf file, but the file name is not given in
advance , it is stored in XML .
For example
XML:
imagefilepicture.bmp/imagefile
XSL
fo:block
fo:external-graphic src=image.bmp ... /
/fo:block
Can I dynamically change the src attribute to the value , which is in
Try the line-height property on fo:block.
On 21.01.2003 08:56:32 Ramon Maria Gallart wrote:
FOP doesn't support mixing different font sizes within one line.
J.Pietschmann
Ok. But although FOP doesn't support this feature, is there any kind of
solution to solve that? I don't think
Not really a FOP-related question, but anyway:
fo:block
fo:external-graphic
xsl:attribute name=src
xsl:value-of select=imagefile/
/xsl:attribute
/fo:external-graphic
/fo:block
On 21.01.2003 09:05:47 Jiri_Nejedly wrote:
I want to place picture to the
Try it.. it may be possible.
Or if the SRC value can vary in the range around 1..5
you can apply the selecting criteria in the xsl itself.
e.g.,
fo:block
xsl:choose
xsl:when test=@VALUE=1
fo:external-graphic src=image1.gif/
/xsl:when
No. It has been started in the redesign (available through CVS) but I
don't think you will already get happy with it.
In the meantime you can try if using SVG for rotated text works for you.
Please don't crosspost and use the correct mailing list adress when
posting questions. Instructions are
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: dinsdag 21 januari 2003 9:31
To: [EMAIL PROTECTED]
Subject: RE: How to dynamically set src attribute
Try it.. it may be possible.
Or if the SRC value can vary in the range around 1..5
you can apply the
Zieseniß, Markus wrote:
I've to generate a .pdf-letter (up to 3 pages) . The flow text is brought by
xml-file.
So the text on a page is variable. Some text-sections (fo:blocks) are not
allowed to be separated
by a page-break, they have to be written on the next page. I heard of the
Thorsten Scherler wrote:
Is that possible or not yet
Thank you for help, but afaik reference-orientation is implemented already in
the trunk. If you wanna help, dive into the redesign.
PS. And please, don't send messages in html format to apache mail lists, it's
explicitly forbidden.
--
Oleg
joni santoso wrote:
yes it works. but is it possible to use something like attribute?
because when working in a large doc, it seems strange to write a script
or cut and paste the doc.
You don't understand main idea - order of flow formatting objects determines
order of generating areas and
What font can be used with fop? Does the arial font work fine with FOP?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Its depends on what sort of characters you want to
display, for example for french, russian characters
needs a different font than the default one.
Regards
Balaji
--- MARTIN Franck [EMAIL PROTECTED] wrote:
What font can be used with fop? Does the arial font
work fine with FOP?
Hi,
I'm involved in displaying some
mathematical/scientific characters like reciprocal per
meter, square per meter etc., in PDF and HTML format
I can able to display most of them without problem
in the browser window with the help of unicode, but
some characters were not appearing
I'd like to get some advice about fonts used with fops.
Is the fop Helvetica supported font very similar to Arial font?
Is it easy to use additional font with fop (as described at fop/fonts.html)
?
Thanks
-
To unsubscribe,
To my knowledge you don't need any special font for
the french character, just try to find the equivalent
unicode for the french characters like é à .. from
the http://www.unicode.org and the replace these
character with their unicode.
The another trick is using Editor which supports
I want to use french characters with the arial font...
is helevetica close enough to arial or should i create my own font?
is it easy and convenient to create one's own font?
- Original Message -
From: Balaji Loganathan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 21,
I just guess arial font has all the characters you could need to write in
almost any european language.
Ramon Maria Gallart.
-Mensaje original-
De: MARTIN Franck [mailto:[EMAIL PROTECTED]
Enviado el: dimarts, 21 / gener / 2003 17:28
Para: [EMAIL PROTECTED]
Asunto: Re: arial font
I
yes but arial is not implemented with fop!
- Original Message -
From: Ramon Maria Gallart [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 21, 2003 5:30 PM
Subject: RE: arial font
I just guess arial font has all the characters you could need to write in
almost any european
Try to set the font family to something like (i just don't remember now the
exact syntax) 'sans-serif'. Arial, Helvetica (or Swiss), Verdana, etc. All are
from this same family.
Ramon Maria Gallart
-Mensaje original-
De: MARTIN Franck [mailto:[EMAIL PROTECTED]
Enviado el: dimarts, 21
Hi,
I am seeing some strange behaviour with FOP in an embedded servlet environment
and also within my (XML Spy) development environment.
I have an XML file and and XSL file. I process the files producing an fo
document which is rendered by FOP.
There is one tag which needs embedded fo tags
MARTIN Franck wrote:
yes but arial is not implemented with fop!
Hey, FOP doesn't try to implement fonts :) There are predefined fonts:
Helvetica, Times, Courier, Symbol and ZapfDingbats. Any other font have to be
added to FOP, see http://xml.apache.org/fop/fonts how to do it.
--
Oleg Tkachenko
Balaji Loganathan wrote:
Can anyone tell me how to create my own unicode
font file, any reference or links could be really
appreciated.
There are a lot of font editors, e.g. look at http://www.font.to.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
Rakesh Patel wrote:
HTBodyText
#60;fo:block#62;example text#60;/fo:block#62;
Please read our lt;fo:basic-link
external-destination=http://www.someplace.com/risk_warnings.htmlgt;Risks
Warningslt;/fo:basic-linkgt; document
/HTBodyText
and the XSL file:
fo:block text-align=left start-indent=5mm
Hi Oleg,
the reason I need to use disable-output-escaping is because at present the xml
data (the HTBodyText tags) sometimes contains html tags. I need to replace
these with their fo equivalents. If you know how else to do this, please let me
know. I am going to go back to some previous code
Thanks Jeremias,
...and sorry for crosspost.
Jeremias Maerki wrote:
No. It has been started in the redesign (available through CVS) but I
don't think you will already get happy with it.
In the meantime you can try if using SVG for rotated text works for you.
Please don't crosspost and use the
When following the tutorial:
java -cp
build\fop.jar;lib\xercesImpl-2.0.1.jar;lib\xml-apis.jar;lib\xalan-2.3.1.jar;lib\batik.jar
BEWARE: That can be different with your local setting. (took me 1 hour
to figure it out that I used a different version ;-)
e.g.:
replace:
xercesImpl-2.0.1.jar
with:
Rakesh Patel wrote:
the reason I need to use disable-output-escaping is because at present the
xml data (the HTBodyText tags) sometimes contains html tags. I need to
replace these with their fo equivalents. If you know how else to do this,
please let me know. I am going to go back to some previous
Hello Frank,
MARTIN Franck wrote:
I'd like to get some advice about fonts used with fops.
Is the fop Helvetica supported font very similar to Arial font?
No! I think not even close!
Is it easy to use additional font with fop (as described at fop/fonts.html)
?
I had my problems with it but now it
Hi!
I have one note and one other question:
* i tried to use footnotes in my double-sided layout. i also have on the
* bottom of each page a page-number and/or text. i did exactly the same as
* in the
* columns.fo (examples/footnotes directory). in the example the footnotes
* are above the
MARTIN Franck wrote:
I want to use french characters with the arial font...
is helevetica close enough to arial or should i create my own font?
Do you see a difference? If not, it is close enough, I'd think.
is it easy and convenient to create one's own font?
There are instructions in the
Hello:
Another neophyte question:
I'm trying to do a running header that consists of a .gif on the left and some
text right justified on the same line. Here's the latest code that doesn't
work:
fo:static-content flow-name=xsl-region-before
fo:block
fo:external-graphic
You could try to put the block in a block container with a defined width
attribute.
or failing that a single row borderless table (I know this works):
fo:table table-layout=fixed
fo:table-column column-width=2cm/
fo:table-column column-width=6cm/
fo:table-body
fo:table-row
Thanks Roland:
It works like a charm. For anyone who is interested, here's the complete
working code:
xsl:variable name=logoC:\path\Logo2001.gif/xsl:variable
fo:static-content flow-name=xsl-region-before
fo:table table-layout=fixed
fo:table-column column-width=4cm /
The fop processor puts content in fo:inline elements on a
new line (also
indents).
Shouldn't the purpose of this tag be to actually put
something in line with
something else?
I don't think I understand the purpose of fo:inline. Can
someone explain?
Also, can someone explain how to
The fop processor puts content in fo:inline elements on a new line (also
indents). Shouldn't the purpose of this tag be to actually put something in
line with something else?
I don't think I understand the purpose of fo:inline. Can someone explain?
Also, can someone explain how to actually put
39 matches
Mail list logo