Hi, this is maybe a beginner question, but cannot find solution:
I have a few identical blocks which fill several pages. Situation on 1st
page - three full block fit there, but the fourth is split and continues on
next page and so on... Can I tell every block if you don't fit on current
page,
I have problem with footnotes.
When the fo:flow text fills the whole page, I am able only to show what
is in footnote's fo:inline, but the footnote text itself is not shown at
all, not even on another page. I slightly modified example from FOP
(0.20.5), so it shows exactly that case. Is there
I have simple table with 2 cells, 1 row . I want a simple vertical line
between them , no other borders.
Does exist some analogy to HTML's table frame=void ? Or any other
way ?
Thanks.
-
To unsubscribe, e-mail: [EMAIL
messages).
What version of Acrobat do you use? and on which OS?
On 14.02.2003 14:16:34 Jiri_Nejedly wrote:
I just upgraded to FOP 0.20.5 . Everything seems to be fine, but one
thing
- in generated PDF, there are no pictures present ( no matter what type
(bmp, gif, jpg), with or without extension
I'm not really sure that the jpg file format is what is wrong. Several
arguments :
- Both in current (0.20.5) and recent version (0.20.3), I have one special
picture with question mark, which I use in case, when there's picture
missing in database. In FOP 0.20.3 was all ok, and this picture
I must apologize - problem is not in FOP.
Because I had problem openning result PDF file (some sharing violation) I
do a copy of it and then send the copy to browser:
File inputFile = new File(outFilePath);
File outputFile = new File(outPDFPath);
FileReader fr = new FileReader(inputFile);
I just upgraded to FOP 0.20.5 . Everything seems to be fine, but one thing
- in generated PDF, there are no pictures present ( no matter what type
(bmp, gif, jpg), with or without extension). No error is logged, no
exception thrown. It works that way only when FOP is embedded, running
from batch
I upgraded FOP to 0.20.5 and now the error is different::
[ERROR]: Error while creating area : No ImageReader for this type of image
(file:/D:/JD9/jdev/system9.0.3.1035/oc4j-config/ordpas/ord29396pas)
Mentioned file is jpg without extension. However, I also tried to rename
the file before FOP
Please ignore this thread, I found reason why this happens - two files
have zero length.
I upgraded FOP to 0.20.5 and now the error is different::
[ERROR]: Error while creating area : No ImageReader for this type of image
(file:/D:/JD9/jdev/system9.0.3.1035/oc4j-config/ordpas/ord29396pas)
Some function (which I cannot modify) in my appliaction generates picture
files in jpg format, but the files don't have .jpg extension. Am I able
somehow to render them in fop ?
I tried this:
fo:external-graphic width=2cm height=2.5cm content-type=image/jpeg
xsl:attribute name=srcxsl:value-of
Recently I used FOP embedded in my aplication to make PDFs with pictures. I
did it this way:
fo:external-graphic width=2cm height=2.5cm
xsl:attribute name=srcxsl:value-of select=Photo//xsl:attribute
/fo:external-graphic
... and it worked OK.
Now I upgraded my Oracle's JDeveloper from version
I create PDF with pictures in it. Here's a fragment from fo file:
fo:table-rowfo:table-cellfo:block
fo:external-graphic src
=file:/C:/JavaProject/Klient/public_html/DT/Fop/pechanec/pict0.jpg/
/fo:block/fo:table-cell/fo:table-row
The PDF is created and is OK, tha path is also OK, files are there,
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
I have Oracle database with interMedia, which is database support for
pictures, sounds, etc ...
In BC4J technology, I use simple function WriteXML ( ...) , which can
output the data from the database table to XML in format like this:
Table
TableRow
Atr1Data1/Atr1
Atr2Data2/Atr2
I have a simple report - a few pages of text. I would like to put a special
line (who and when printed this document) on the last page only. The line
should be at the bottom of the last page, no matter where the previous text
ends. Is there some simple solution ?
Thanks.
I have on my XSLs simple a header (stored in one *.ent file) which
consists of simple table (report name, date)
fo:block space-before.optimum=0cm font-family=Arial hyphenate=true
language=cs
fo:table width=100% border-top-width=0.5pt border-top-style
=solid border-bottom-width=0.5pt
I found your comment in
Bugzilla Bug 14319
I am trying to upgrade version 0.20.3. to 0.20.4 , but have problems.
If I try run FOP.BAT , everything is OK, the problem is in servlet.
The error
java.lang.NullPointerException int
org.apache.fop.render.pdf.fonts.LazyFont.getAscender(int) int
org.apache.fop.layout.FontState.getAscender() void
What I must do, to make logger log everything, as FOP.BAT (with -d option)
does ?
In servlet I log FOP (0.20.4) actions into file:
FileOutputStream log_fos = new FileOutputStream(log_file);
PrintStream log_ps = new PrintStream(log_fos);
if (log == null) {
Hierarchy hierarchy =
I tried that, it logs well. But I would like to have the log written to
file.
This doesn't work:
FileOutputStream fos = new FileOutputStream(filename);
PrintStream ps = new PrintStream(fos);
PrintStream out_orig = System.out;
System.setOut(ps);
here I run FOP
...
fos.close();
I serched a little, and I found one difference between calling the fop.bat
and processing servlet .
The fop.bat use
org.apache.xerces.parsers.SAXParser
while servlet code uses
oracle.xml.parser.v2.SAXParser
The library xmlparserv2.jar is necessary, without it whole JDeveloper won't
run. All
I am trying to upgrade FOP from version 0.20.3 to 0.20.4 . I use Oracle's
JDeveloper 9i
To my project I added all libraries, which I found in fop.bat :
fop.jar
batik.jar
xalan-2.3.1.jar
xercesImpl-2.0.1.jar
xml-apis.jar
avalon-framework-cvs-20020315.jar
logkit-1.0.jar
When I process my FO file
, you should
get a better error message. Maybe you didn't set the second logger in
the MessageHandler class correctly because that's where the original
error message should have been logged. The logging in the maint branch
is still somewhat strange.
On 18.11.2002 12:01:52 Jiri_Nejedly wrote:
I am
I tried it , it works, but I have one great suspicion:
Will it work even on remote server ?
response.sendRedirect(outPDF); // outPDF is C:/Program
Files/Apache Tomcat 4.0/Fop/TMP.PDF
I have Tomcat and browser on one PC . Doesn't the browser thus open the PDF
file directly, bypassing
Yesterday, after a few good advices there from fop users I successfuly used
this code to show pdf content in browser. It works in my JDeveloper 9i.
File inputFile = new File(pdfFile);
FileReader fr = new FileReader(inputFile);
ByteArrayOutputStream baos = new ByteArrayOutputStream();
int ch;
I successfully created PDF , but now I don't know how to make browser show
it like PDF (Acrobat is installed, when I open file directly in browser,
all is ok).
If I use this code:
File inputFile = new File(pdfFile);
FileReader fr = new FileReader(inputFile);
int c;
while( (c = in.read()) != -1)
Thanks to all, this code works ...
File inputFile = new File(pdfFile);
FileReader fr = new FileReader(inputFile);
ByteArrayOutputStream baos = new ByteArrayOutputStream();
int ch;
while((ch = fr.read()) != -1) {
27 matches
Mail list logo