eoXXXXXXXXXtm files

2004-04-02 Thread Heiko Barthel
Hello,

I saw these files when I referenced images via my own protocol handler.
How can i avoid that FOP creates these files ?

Thanks in advance,
Heiko



embed images

2004-02-22 Thread Heiko Barthel
Hello,

I've got a special question using FOP 0.20.5:
I want to include GIF and JPEG images in the PDF which are not accessible
neither through HTTP, FTP nor the local file system. They reside only in
memory. I can imagine the following solutions:
1. URL protocol handler
2. FO extension
3. something like a virtual file system

URL protocol handler implemention is simple but unfortunately does not work
because I had to set the System property java.protocol.handler.pkgs which
is write protected in our production environment.

Is there a possibility to embed the images in the FO file ? So I could
implement an FO extension. What ideas about a VFS ?
Any help and advice is welcome.

Greets, Heiko



set request properties for URLConnections

2001-07-18 Thread Heiko Barthel

i wanna set request properties when retrieving for example an image with
fo:external-graphic. I need it for setting cookies or authorization header (if
image is located on a server where authorization is needed):
  ...
  URLConnection uc = url.openConnection();
  uc.setRequestProperty(Cookie,cookie);
  uc.setRequestProperty(Authorization, Basic  + encoding);
  ...

I'm new to FOP development. Does anybody know if it is a feature commonly
wanted because I found that it is not implemented yet:



FopImageFactory.java:

public static FopImage Make(String href)
throws MalformedURLException, FopImageException {

// Get the absolute URL
URL absoluteURL = null;
InputStream imgIS = null;
try {
absoluteURL = new URL(href);
imgIS = absoluteURL.openStream();
} catch (Exception e) {

=

Here some code has to be implemented to set the request properties and a way
has to be found to set name and value of the properties via Driver object I
would suggest.
Any comments are welcome.

Heiko

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

GMX Tipp:

Machen Sie Ihr Hobby zu Geld bei unserem Partner 11!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: FOP 0.19 with JDK1.1

2001-07-17 Thread Heiko Barthel

I'm using FOP 0.19 with JDK 1.1.8 on Windows NT/2000 and Sun Solaris with no
problems. But batik does not work with JDK 1.1. That means no SVG :-(

Heiko

 Is it still possible to run the latest version of FOP with JDK1.1.

-- 
Mit freundlichen Gruessen / Best regards
Heiko Barthel

http://www.wilschdorf.de/heiko
mailto:[EMAIL PROTECTED]


... und da waren ja noch die 3 großen Tragödien dieses Jahrhunderts:
Hiroshima 45 - Tschernobyl 86 - Windows 95

GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

GMX Tipp:

Machen Sie Ihr Hobby zu Geld bei unserem Partner 11!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a
Title: FOP 0.19 with JDK1.1





Is it still possible to run the latest version of FOP with JDK1.1. Currently I am using 0.15 and I need to assess the risks in moving to a newer version. We have done a quick test and it seems that it now has a dependency on batik which requires JDK 1.2 onwards.

Can someone clarify the position please.


Thanks


Stephen Fry






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


is there something like internal-graphic ?

2001-07-12 Thread Heiko Barthel

I use FOP currently with external graphics, but I want to add directly
binary data of an element like:

bmp
 BDGADUGADUGFSZFDSSJDGSGDSDSDSDTSDGSICXSGDSD(S
/bmp

Does anybody know a way to include this directly in the FO or do I have to
create a file with the data of bmp and use fo:external-graphic ?

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

GMX Tipp:

Machen Sie Ihr Hobby zu Geld bei unserem Partner 11!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Messages

2001-07-11 Thread Heiko Barthel

Try the static methos:

// switch off FOP messages
MessageHandler.setOutputMethod(MessageHandler.NONE);


Heiko

 Is there anyway I can turn these messages off?  I will be using FOP quite
 heavily in my high traffic application and I don't want my Tomcat log

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

GMX Tipp:

Machen Sie Ihr Hobby zu Geld bei unserem Partner 11!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Multithreading

2001-06-25 Thread Heiko Barthel

The embedding sample servlet does not implement the SingleThreadModel, so I
guess, FOP is threadsafe. But I remember with FOP 0.18.1 I got some
mysterious IndexOutOfBoundExceptions.
How about multithreading with FOP in general ?
Thanks in advance for your information.

Heiko

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

--
GMX Tipp:

Machen Sie Ihr Hobby zu Geld bei unserem Partner 11!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




height in table-row doesn't work in FOP 0.19

2001-06-21 Thread Heiko Barthel

Is it a bug or is it still not implemented ?

another problem I have:

...
fo:table-cellfo:block line-height=2cm//fo:table-cell
...

line-height has no affect if the block contains no text.
the following example works fine:

...
fo:table-cellfo:block line-height=2cmHallo/fo:block/fo:table-cell
...

Can anybody help please ? Or can anybody give me an advise if there is an
FOP version where the first sample works ?

Heiko

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

--
GMX Tipp:

Machen Sie Ihr Hobby zu Geld bei unserem Partner 11!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




height in table-row doesn't work in FOP 0.19

2001-06-21 Thread Heiko Barthel

Is it a bug or is it still not implemented ?

another problem I have:

...
fo:table-cellfo:block line-height=2cm//fo:table-cell
...

line-height has no affect if the block contains no text.
the following example works fine:

...
fo:table-cellfo:block line-height=2cmHallo/fo:block/fo:table-cell
...

Can anybody help please ? Or can anybody give me an advise if there is an
FOP version where the first sample works ?

Heiko

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

--
GMX Tipp:

Machen Sie Ihr Hobby zu Geld bei unserem Partner 11!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]