Re: Using a PDF as an Image

2009-08-05 Thread Peter Coppens
You could try starting from
http://wiki.apache.org/xmlgraphics-fop/HowTo/EmbeddedPdf?highlight=%28pdf%29

Hth,

Peter



From: Steffanina, Jeff jeff.steffan...@marriott.com
Reply-To: fop-users@xmlgraphics.apache.org
Date: Wed, 5 Aug 2009 07:14:53 -0400
To: fop-users@xmlgraphics.apache.org
Subject: Using a PDF as an Image



I have a finished form that contains all my graphics.  It is a PDF.
I want to print it and add all the applicable data.   I have been doing this
with JPG files with great success.
I am getting the error: No ImagePreloader found

Here is my code: 
fo:block-container position=absolute top=.01in left=.1in
  fo:block space-after=.16in padding-top=0in padding-bottom=.16in
 margin-top=0in

fo:external-graphic src=url('/CY/JLS/CustForm.pdf')
 content-height=10.6in content-width=8.4in/

  /fo:block 
   /fo:block-container

I see the notes about using an SVG.   Is it possible to use a PDF for this
purpose? 
Is there one reference point where it clearly describes the process?






Jeff 




Re: Exception in thread main java.lang.NoClassDefFoundError: org/apache/fop/cli/Main

2009-08-05 Thread Tuan Quan
This is on Solaris





From: Sergiu Dumitriu ser...@xwiki.com
To: fop-users@xmlgraphics.apache.org
Sent: Tuesday, August 4, 2009 4:39:44 PM
Subject: Re: Exception in thread main java.lang.NoClassDefFoundError: 
org/apache/fop/cli/Main

Tuan Quan wrote:
 Hi all,
 I'm using FOP 0.93.
 Got the above message, when execute the following script.
 Any help would be very appreciated.
 I have checked the .jar and they all are there specified in class path.
 thanks.

On Linux systems, classpath entries should be separated by a colon (:) instead 
of a semicolon (;)

LOCALCLASSPATH=$LOCALCLASSPATH;$LIBDIR/jimi-1.0.jar
becomes:
LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/jimi-1.0.jar

and so on.
-- Sergiu Dumitriu
http://purl.org/net/sergiu/

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Re: Exception in thread main java.lang.NoClassDefFoundError: org/apache/fop/cli/Main

2009-08-05 Thread Tuan Quan
thanks, Sergiu.
It works. Somehow I overlooked that one.

 




From: Sergiu Dumitriu ser...@xwiki.com
To: fop-users@xmlgraphics.apache.org
Sent: Wednesday, August 5, 2009 9:34:57 AM
Subject: Re: Exception in thread main java.lang.NoClassDefFoundError: 
org/apache/fop/cli/Main

Tuan Quan wrote:
 This is on Solaris

Solaris is Unix-like, so : is used. See 
http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/classpath.html

 
 *From:* Sergiu Dumitriu ser...@xwiki.com
 *To:* fop-users@xmlgraphics.apache.org
 *Sent:* Tuesday, August 4, 2009 4:39:44 PM
 *Subject:* Re: Exception in thread main java.lang.NoClassDefFoundError: 
 org/apache/fop/cli/Main
 
 Tuan Quan wrote:
   Hi all,
   I'm using FOP 0.93.
   Got the above message, when execute the following script.
   Any help would be very appreciated.
   I have checked the .jar and they all are there specified in class path.
   thanks.
 
 On Linux systems, classpath entries should be separated by a colon (:) 
 instead of a semicolon (;)
 
 LOCALCLASSPATH=$LOCALCLASSPATH;$LIBDIR/jimi-1.0.jar
 becomes:
 LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/jimi-1.0.jar

-- Sergiu Dumitriu
http://purl.org/net/sergiu/

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

after creating PDF

2009-08-05 Thread Tuan Quan
Anyone knows why I received the following message after pdf is created on my 
SUN Solaris box?
thanks.


Xlib: connection to myunixbox:0.0 refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key


tuan


RE: Superscripts at beginning of line not working

2009-08-05 Thread adogg

Thanks Eric, but that doesn't seem to help.  I even tried putting the
zero-width space in an inline with a line-height with the hopes that that
would make the renderer recognize the height of the line when it was
superscripting, but no dice.

I've even thought about using inline SVGs, but still these would still have
to be given a vertical-align=super in order to place them above the
normal text - and I don't think vertical-align is even supported in
instream-foreign-object in 0.20.5.

Any way I can use a negative margin-top or something without placing the
text in a block (which would cause unwanted carriage returns I guess)?



Amick, Eric wrote:
 
 I don't have 0.20.5, but have you tried putting a zero-width space
 (#x200b;) in front of the inline? It can't make it any worse. 
 
 
 Eric Amick
 Legislative Computer Systems
 Office of the Clerk
 
 

-- 
View this message in context: 
http://www.nabble.com/Superscripts-at-beginning-of-line-not-working-tp24788408p24832482.html
Sent from the FOP - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



RE: Using a PDF as an Image

2009-08-05 Thread John Brown

Jeff Steffanina wrote:

 I have a finished form that contains all my graphics.  It is a 
 PDF.


 I want to print it and add all the applicable data. I have been 
 doing this with JPG files with great success.


 I am getting the error: No ImagePreloader found




 I see the notes about using an SVG. Is it possible to use a PDF
 for this purpose?


 Is there one reference point where it clearly describes the 
 process?

http://www.jeremias-maerki.ch/download/fop/pdf-images/

Version 1.3 is the latest stable version. The archive contains a README.

Regards,
Alias John Brown.



_
Express your personality in color! Preview and select themes for Hotmail®. 
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_express:082009
-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org