]: defaulted font to any,normal,normal
Is it a bug/unsupported feature or am I wrong with something here ?
--
Oleg Tkachenko
Multiconn International, Israel
, Geneva
[ERROR]: unknown font sans-serif, Arial, Helvetica, Geneva,italic,normal
so defaulted font to any
then try
... font-family= sans-serif
no error, it works.
Well, it seems to me Mr. J.Pietschmann is right, fop gets it as string
so font list is unsupported feature.
--
Oleg Tkachenko
Multiconn
Buonincontri, Steve (CAP, MMF, ITSS) wrote:
Any of you folks know of good tools to do XML Schema design and XSLT development?
xml spy (xmlspy.com) is not bad tool. anti-offtopicIt even works with
fop/anti-offtopic.
--
Oleg Tkachenko
Multiconn International, Israel
Hello Matthew!
(B
(BYour fo is not well-formed xml at all, xml document must begin with an
(Bxml declaration, it must be at the first line, first position. See xml
(Bspec. Put all your additional data after xml declaration.
(B
(BMatthew Huggett wrote:
(B FOP doesn't seem to be recognizing
Sandrine Pilon wrote:
OK ! But a problem persists.
when I compile with FOP, It returns me errors about the line:
'exclude-result-prefixes=user' in stylesheet and I don't understand why.
What is the error message ?
--
Oleg Tkachenko
Multiconn International, Israel
. And that stylesheet doesn't generate any fo elements also,
is it test only one?
--
Oleg Tkachenko
Multiconn International, Israel
still have error 'null'.
--
Oleg Tkachenko
Multiconn International, Israel
in another stylesheet in order to see
benefits.
--
Oleg Tkachenko
Multiconn International, Israel
://www.tkachenko.com/fop/JAI_1.1.1_sample_io_sourcecodelic.10_23_01.txt
--
Oleg Tkachenko
Multiconn International, Israel
);
javax.xml.parsers.DocumentBuilder docBuilder =
docBuilderFac.newDocumentBuilder();
Document doc = docBuilder.parse(file);
--
Oleg Tkachenko
Multiconn International, Israel
in web.xml
init-param
param-namefop-config/param-name
param-valued:/fop/fop-0.20.3/conf/userconfig.xml/param-value
/init-param
options = new Options(userConfigFile);
That's it. You have added options this way. See
http://marc.theaimsgroup.com/?l=fop-userm=101481390006348w=2
--
Oleg
)
That sounds very bizarre to me, but I guess it has something to do with
batik.jar. Chances are you have another (old?) batik (or another svg lib?)
somewhere in the classpath.
--
Oleg Tkachenko
Multiconn International, Israel
Balaji Loganathan wrote:
Sorry Dutta,
Its not working its giving error
Element type fo:block must be followed by either
attribute specifications, or /.
Check syntax again. You probably omitted some or .
--
Oleg Tkachenko
Multiconn International, Israel
:
path - a String specifying a virtual path
Returns:
a String specifying the real path, or null if the translation cannot be
performed
--
Oleg Tkachenko
Multiconn International, Israel
Pierre-Adrien Coustillas wrote:
I use servlet FOP whit TOMCAT (linux) and I have a problem when execute a
lot of creating PDF (more 3). The PDF create are not good.
What does it mean exactly not good?
--
Oleg Tkachenko
Multiconn International, Israel
Pierre-Adrien Coustillas wrote:
When the document is ok size = 63 ko, when the document is not ok size
63 ko (always different) and it's impossible open pdf.
Do you flush/close output stream explicitly? Could you show us output related
snipped of your code?
--
Oleg Tkachenko
Multiconn
Pierre-Adrien Coustillas wrote:
I use docs\examples\embedding\FopServlet.java in directory of FOP.
And how do you know the document size? Do you save it locally?
Well, you can try to save pdfs on the server to make sure they are generated
ok. What's your servlet engine?
--
Oleg Tkachenko
about Style-free XSLT Style Sheets at
xml.com (http://www.xml.com/pub/a/2000/07/26/xslt/xsltstyle.html).
--
Oleg Tkachenko
Multiconn International, Israel
) : org.apache.fop.image.JimiImage
Does anyone have any thoughts about why certain images won't work?
Did you get jimi library installed ? You need it to get png support and that's
not in fop distribution because of licence reasons.
--
Oleg Tkachenko
Multiconn International, Israel
match=para
fo:block color={$ext-stuff/my-text-color}...
/xsl:template
--
Oleg Tkachenko
Multiconn International, Israel
] http://www.w3.org/TR/SAC/
[2] http://www.w3.org/Style/CSS/SAC/
--
Oleg Tkachenko
Multiconn International, Israel
like somebody closes connection unexpectedly.
--
Oleg Tkachenko
Multiconn International, Israel
) file as xml
source. Being applyed to an arbitrary xml, as you did with build.xml I believe
a very likely it'll transform it to a non valid fo document, probably even
ill-formed or empty. So try instead
fop -xsl xml2pdf.xsl -xml xslfoRef.xml -pdf a.pdf
--
Oleg Tkachenko
Multiconn International
online with [EMAIL PROTECTED]
http://shopnow.netscape.com/
Get your own FREE, personal Netscape Mail account today at
http://webmail.netscape.com/
--
Oleg Tkachenko
Multiconn International, Israel
chandrakant_binwani wrote:
Pls find the attached files:
Those works like a charm in (msxml3, saxon, xalan) + fop. Show us your java
code.
--
Oleg Tkachenko
Multiconn International, Israel
* input tree (e.g.
DTM in xalan, tinytree in saxon). So keep using sax everywhere you can.
--
Oleg Tkachenko
Multiconn International Ltd
there is a log eventor something like that.
Instead of reloading page you can flush output stream after outputting each
log message.
--
Oleg Tkachenko
Multiconn International Ltd, Israel
attribute in the
xsl stylesheet.
Make sure your xsl is ok and you are not trying to provide xml file instead of
xsl stylesheet. If this doesn't help, show us what are you doing and how.
--
Oleg Tkachenko
Multiconn International Ltd, Israel
);
transFactory = TransformerFactory.newInstance();
At this point you can check whether
(Node)TransformDocs.get(((String)props.get(languageKey)) + _XSL) returns you
valid stylesheet DOM document, e.g. try to serialize it and inspect.
--
Oleg Tkachenko
Multiconn International Ltd, Israel
is at the System.out after that ?
--
Oleg Tkachenko
Multiconn International Ltd, Israel
[EMAIL PROTECTED] wrote:
Oleg, here is the file (copy and pasted it...)
Looks good :( Debug your code and if the exception occurs in
transForm = transFactory.newTransformer(new DOMSource ...
try to ask on your xslt processor mail-list.
--
Oleg Tkachenko
Multiconn International Ltd, Israel
give me a hint how to solve my problem?
Afaik background-color in regions is not supported yet :(
See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3329
--
Oleg Tkachenko
Multiconn International Ltd, Israel
case.
fo:flow flow-name=xsl-region-body
fo:block
xsl:apply-templates select=LogMessage /
/fo:block
/fo:flow
--
Oleg Tkachenko
Multiconn International Ltd
, just won't print
from the right tray. if I do the printing without using the FOP it prints
correctly.
Probably that's default printer's tray? Have you tried to configure printer?
--
Oleg Tkachenko
Multiconn International Ltd, Israel
page within
my pdf document.
Pls guide me.
Take a look at Dave Pawson's An introduction to XSL Formatting
Objects, chapter about links is at
http://www.dpawson.co.uk/xsl/sect3/bk/ch11.html#d0e8382.
--
Oleg Tkachenko
Multiconn International Ltd
Harmen van Keimpema wrote:
Is it possible to tell fop to generate pdf files with different DPI
settings than the default of 72?
I'd be happy to be wrong, but AFAIK you cannot at the moment.
--
Oleg Tkachenko
Multiconn International Ltd
.
--
Oleg Tkachenko
Multiconn International Ltd
exit
code so that I know that something went wrong.
Currently my only option is to grep the output for errors and react on that.
Any suggestions welcome.
Driver's render() and run() methods are declared to throw FOPException -
is it not a correct way to report errors?
--
Oleg Tkachenko
Multiconn
vikas waykole wrote:
I want to show png image in the pdf using fop0.20.3 but without jimi.jar
Any help is highly appreciated.
Fop uses jimi library to render png images so if you don't like jimi you
won't get png support. You can convert png images to gif anyway.
--
Oleg Tkachenko
Multiconn
, that's
responsibility of enclosing application, which has full control of
OutputStream and can easily do this being catching FOPException.
--
Oleg Tkachenko
Multiconn International Ltd
Roland Neilands wrote:
All very well for embeddding, but the command prompt version still leaves
the corrupt file there no file at all would be preferable to a useless
one.
Well, I believe it's feasible, but anyway this behaviour should be
parametrizable.
--
Oleg Tkachenko
Multiconn
in docbook-xsl-1.49 you
cannot change it.
But anyway you can override particular docbook xsl template and removes
page-number or introduce some new logic, they call it docbook customization.
PS. You'd better ask on docbook-apps mail list.
--
Oleg Tkachenko
Multiconn International Ltd, Israel
?
--
Oleg Tkachenko
Multiconn International Ltd, Israel
inline: Clipboard.jpg
to customize it to get support for html's frame/rules, cellspacing etc
stuff. Anyway it worked exept of unsupported by fop objects.
--
Oleg Tkachenko
Multiconn International Ltd, Israel
to find your xml and xsl.
--
Oleg Tkachenko
Multiconn International Ltd, Israel
be in the developer listserv instead?
They say fop-dev list is indented for the fop developers, not for developers
dealing with fop :), so the answer depends on what are you trying to achieve -
or just customize fop for you own needs or to patch it or to improve somehow.
--
Oleg Tkachenko
Multiconn
to application/pdf and write the pdf content to
response object the pdf
doesn't show up in the browser ( instead an empty page is shown)
-Original Message-
From: Oleg Tkachenko [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 18, 2002 1:06 PM
To: [EMAIL PROTECTED]
Subject: Re: The newbie questions
FOP Newsgroup (@Basebeans.com) wrote:
How do I create a border around the region-body?
I believe you cannot. xsl spec insists that In version 1.0 of this
Recommendation, the values of the padding and border-width traits must be 0.
--
Oleg Tkachenko
Multiconn International Ltd, Israel
']
fo:basic-link external-destination=[EMAIL PROTECTED]
xsl:value-of select=./
/fo:basic-link
/xsl:template
--
Oleg Tkachenko
Multiconn International Ltd, Israel
[EMAIL PROTECTED] wrote:
Is it possible to sepcify a destination page in basic-link
external-destination. I am trying to link to an external pdf file and want
to goto a specifi page.
Try this way:
fo:basic-link external-destination=http://www.foo.com/bar.pdf#page=5;
--
Oleg Tkachenko
Multiconn
Ralf Steppacher wrote:
I try to build FOP 0.20.3 via the build.bat script on win2k, jdk1.4.0_01
but the the build fails because some xml files can not be found.
Try to build using jdk 1.3.X.
--
Oleg Tkachenko
Multiconn International Ltd, Israel
fop 0.20.3 build messages.
--
Oleg Tkachenko
Multiconn International Ltd, Israel
fop -d I got the same exception.
-Original Message-
From: Oleg Tkachenko [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 20, 2002 2:26 PM
To: [EMAIL PROTECTED]
Subject: Re: new fopper's question
Which version of fop (bin or src) are you talking about?
Try -d option and show us the debug
xerces?
--
Oleg Tkachenko
Multiconn International Ltd
--
Oleg Tkachenko
Multiconn International Ltd
, but
TIFFRenderer is.
Could you please point out any resources to confirm the bug I could
forward my hosting admin to?
--
Oleg Tkachenko
Multiconn International Ltd
a clue as what might go wrong here?
Thanks in advance,
Michiel
--
Oleg Tkachenko
Multiconn International Ltd, Israel
.org/TR/2000/REC-xml-20001006#syntax
--
Oleg Tkachenko
Multiconn International Ltd, Israel
J.Pietschmann wrote:
Ok, here it goes.
The Jimi home page is
http://java.sun.com/products/jimi/
btw, isn't jimi some kind of obsolete library intended to be used by those
tied to jdk1.1?
--
Oleg Tkachenko
Multiconn International Ltd, Israel
is very picky about syntax.
Probably the problem has something to do with encodings, anyway you have to
preprocess data form jdbc ResultSet to avoid such binary control chars in a text.
--
Oleg Tkachenko
Multiconn International Ltd, Israel
,
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6374.
--
Oleg Tkachenko
Multiconn International Ltd
(PDFGenerator.java:92)
Note : In the log file the relevant jar files (fop,batik,
avalon-framework,xalan-2.3.1)are deployed successfully
can anyone help me on this
Thanks
Sunil
--
Oleg Tkachenko
Multiconn International Ltd, Israel
user rights only, start the admin client, go
to your application server entry, open the environment
windoe and add a CLASSPATH environment variable with the
newer Xerces and Xalan jars .
Better yet, upgrade to 4.0.
J.Pietschmann
--
Oleg Tkachenko
Multiconn International Ltd, Israel
subformats of TIFF, PNG, BMP and perhaps a
few more?
Well, that's right and what is more JAI strongly requires at least jdk1.3 :(
--
Oleg Tkachenko
Multiconn International Ltd
, but
$ alas, we can't :-)
$
$
$ Michiel
--
Oleg Tkachenko
Multiconn International Ltd, Israel
setEntityResolver method of XMLReader class before parsing your fo/xsl/xml.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
browser use Acrobat plugin ? Thanks.
The only way is to define application/pdf content type (+ some fiddling with
.pdf at the end for a too smart browsers, search in archive, that's vfaq.)
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
it in http header.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
. in mozilla, cocoon and fop. This facility
is for generating text (e.g. SQL), but not markup.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
);
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
xavier gibouin wrote:
I would like to know if is it possible to realise à loop like :
for(index=0, index++, index100) {
}
in xsl language
Sure. As in any functional language you can do it using recursion,
e.g. see http://www.dpawson.co.uk/xsl/sect2/repetition.html
--
Oleg Tkachenko
eXperanto team
and many people will
thank you.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
langauge like xslt sounds very ugly. I
wouldn't suggest people to go this way, but instead to stop thinking
procedurally and to start using real power of xslt.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
Leif Frederiksen wrote:
In order to debug some code, I would like to see the result of the
XML+XSLT tranformation, not the result of the rendering. Can I make FOP
do this?
Actually FOP processes exactly xsl-fo, not xml+xslt, so what you need is not
FOP, but usual xslt processor.
--
Oleg
need it, so I left that idea.
What are FOP users opinions, is it needed?
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
[EMAIL PROTECTED] wrote:
I tried it , it works, but I have one great suspicion:
Will it work even on remote server ?
Why not? Just make sure you save it in a place browser has access to.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
:
http://www.dpawson.co.uk/xsl/sect3/bk/ch11.html#d0e8692
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
they are
interconnected.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
...content...
/fo:block
It's feasible but requires a lot of careful work. I'd suggest you to look
around for another quark export tool, which doesn't use css but pure xml, that
would be big relief, e.g. google pointed out to http://www.attd.com.
--
Oleg Tkachenko
eXperanto team
Multiconn
?
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
of
provisional-distance-between-starts at xslt stage according to label length in
em units, for example.
See http://www.dpawson.co.uk/xsl/sect3/bk/ch07.html#d0e5755.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
before root element start tag). Usually that means encoding problem.
Have you changed userconfig.xml encoding? Try to define encoding explicitly in
the xml declaration.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
and
those were formatted into uniformly stacked tables and blocks. Post small fo
example that illustrates your problem.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
explicitly what objects would be on the last page and you are sure
it fits exactly 1 page you can move last page objects into a different
fo:page-sequence object with appropriate master-reference to the last page master.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
taking into
acount this information.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
image to pcl, but
PCLRenderer doesn't support svg, see today's topic on fop-dev list:
http://marc.theaimsgroup.com/?l=fop-devm=103703269815513w=2.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
* content.
In a pure xsl-fo exist at least 2 different methods of centering a table
on a page, both are actually tricks and unfortunately FOP doesn't
support both of them. Therefore the only way is using a blind table, see
http://marc.theaimsgroup.com/?l=fop-userm=102952965830886w=2.
--
Oleg
)
it is a Windows-only-thing, which is also a problem.
[...]
AFAIK, XEP is not limited to Windows.
Probably Nwilan meant Antenna formatter, which is windows only. XEP written in
java hence is crossplatform app.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
provide valid absolute or relative URI for each image, that's
it, you can use http:, file:, jar:, gopher: protocols, whatever java supports.
Have you tried jar:///path/rersource.jar!/foo/bar/image.gif?
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
Bhalerao, Gauri N (GECP, MABG, 535876) wrote:
Can somebody tell me how to unsubscribe from the list?
Send a mesage to [EMAIL PROTECTED]
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
but no footer.
If the table spans 1 page, then no header or footer should be visualized.
Look at table-omit-footer-at-break and table-omit-header-at-break, that's all
xsl-fo allows you to constrain.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
(limitations?), so I hope I'm at the right place. If not let me know and I guess I'll seek an xsl-fo mailing list.
Hmmm, looks like a bug, file it to bugzilla.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
swap page-height and page-width, for example 297mm wide x 210mm
height page all printers around me understand as landscape oriented page.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
to achive this, step by step?
Step-by-step instructions described at
http://xml.apache.org/fop/fonts.html, but looks like you know it
already. Show us the font definition in your userconfig.xml and check if
FOP complains about anything in a debug trace.
--
Oleg Tkachenko
eXperanto team
Multiconn
no time to look for it, sorry.
[1] http://www.dpawson.co.uk/xsl/sect3/bk/index.html
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
. Apparently, it doesn't like the url() reference to the
radialGradient. How can I get this to work?
Now using cvs version no exception is thrown, but the circle is
completely black. I have no idea why, file it to bugzilla.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
Petr van Blokland wrote:
[titanm:FOP/fop-0.20.4rc/build] petr% java fop.jar
No way :)
Nor does executing the fop.sh:
[titanm:/xpyth/FOP/fop-0.20.4rc] petr% sh fop.sh
Error: JAVA_HOME is not defined correctly.
So set JAVA_HOME up.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
)
at org.apache.xpath.compiler..start(Main.java:153)
at org.apache.tools.ant.Main.main(Main.java:176)
does anybody has the same problem??? i am getting real weired :-(
Not really, what is your environment?
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
Luther Blisset wrote:
I'm trying to understand if is possible, using fop, to
import TIFF
images in a pdf file in the same way it is possible
for jpg, giff and
so on. Has anyone ever tried something similar?
Look at http://xml.apache.org/fop/relnotes.html (search for jimi).
--
Oleg Tkachenko
-xml docs/xslfoRef.xml -xsl docs/xml2pdf.xsl -pdf test.pdf -d
If it works therefore the problem is in the environment you are trying to
embed FOP to. Make sure it uses jars from FOP distribution (especially xerces
and xalan).
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
marco scotoni wrote:
I wanna try with J2SDK 1.4.1
I meant different branches of FOP's code. Look at note at
http://xml.apache.org/fop/download.html - you should use fop-0_20_2-maintain
branch.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
1 - 100 of 373 matches
Mail list logo