Dictionary / phone book page formatting

2001-12-21 Thread Chuck Paussa

Hi,

Some guy asked how to do a dictionary type page with first and last
entries on the top-left and top-right of the page. So, I've attached an
example of how. There are some ugly bits in this that I need cleared up
before I can give you a clean example.

Questions, because I'm confused. 

1.  is an fo:block type container which acts as if
it is not contained in its containing block. When I render this, the
only way I can position the retrieve-marker is in another table cell.
Is this how it is supposed to act? Can I tell it to inherit some
property so that it will act like text instead of a block? I noticed
that it will display even if it is not contained in a block. This is
different from the behavior exhibited by fo:page-number.

2. Notice on page 2. first-including-carryover = Ele even though it is
the block named Ten whose carryover is the first on the page

3. On Page 3, the before-region doesn't render, even the static text is
gone. I'm guessing because there are no blocks fitting any of the
retrieve-marker conditions. I'm also confused by the message [WARN]:
Some static content could not fit in the area. on page 3.

I'm using FOP-0.20.2

Chuck

__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

http://www.w3.org/1999/XSL/Format";>
	
		
			
			
		
	

	
		
		 
			
			
			

	
		
first-starting-within-page:
 
		
	
	
		
first-including-carryover :
 
		
	


	
		
last-starting-within-page :
 
		
	
	
		
last-ending-within-page   :
 
		
	

			
   			
		
		
			One Onea One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One One Onez 
			Two Twoa Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Two Twoz 
			Thr Thra Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thr Thrz 
			Fou Foua Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fou Fouz 
			Fiv Fiva Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fiv Fivz 
			Six Sixa Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Six Sixz 
			Sev Seva Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sev Sevz 
			Eig Eiga Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eig Eigz 
			Nin Nina Nin Nin Nin Nin Nin Nin Ni

FOP:Envelopes

2001-12-21 Thread Rachael Blank

Hello!

Has anyone generated envelopes?  Or, have any examples?  Any web sites
with information about generating envelopes in FO?

Thanks!

Rachael

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




DO NOT REPLY [Bug 1332] - MIF output strings not properly escaped

2001-12-21 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1332

MIF output strings not properly escaped





--- Additional Comments From [EMAIL PROTECTED]  2001-12-21 09:18 ---
Created an attachment (id=932)
Changes to org.apache.fop.mif.MIFDocument.java to enable String encoding

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




DO NOT REPLY [Bug 1332] - MIF output strings not properly escaped

2001-12-21 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1332

MIF output strings not properly escaped

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]
   Priority||High

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




DO NOT REPLY [Bug 5552] - Error on MIF and TXT renderers

2001-12-21 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5552

Error on MIF and TXT renderers





--- Additional Comments From [EMAIL PROTECTED]  2001-12-21 05:33 ---
Created an attachment (id=929)
XSL transformer

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




DO NOT REPLY [Bug 5552] - Error on MIF and TXT renderers

2001-12-21 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5552

Error on MIF and TXT renderers





--- Additional Comments From [EMAIL PROTECTED]  2001-12-21 05:33 ---
Created an attachment (id=928)
XML Source

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




DO NOT REPLY [Bug 5552] New: - Error on MIF and TXT renderers

2001-12-21 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5552

Error on MIF and TXT renderers

   Summary: Error on MIF and TXT renderers
   Product: Fop
   Version: all
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: Other
 Component: general
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


When transforming the documents attached below in MIF I obtain this error (PDF, 
etc. works fine, maybe with some artifacts but works):

java.lang.RuntimeException: java.util.NoSuchElementException
at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java
:3170)
at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(Trans
formerHandlerImpl.java:433)
at org.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1225)
at org.apache.xerces.validators.common.XMLValidator.callEndDocument(XMLV
alidator.java:760)
at org.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatcher.d
ispatch(XMLDocumentScanner.java:1546)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
canner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:948)
at org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:134)
at org.apache.fop.apps.Driver.render(Driver.java:459)
at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:72
)
at org.apache.fop.apps.Fop.main(Fop.java:19)

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




Re: HELP WITH FONTS PLEASE!

2001-12-21 Thread cn
Hey Gorka. Try this before you declare the Driver. It should workuserConfigFile = new File(userConfig);options = new Options(userConfigFile); Claus Nielsen  Gorka Echevarría <[EMAIL PROTECTED]>02-11-2001 12:24Please respond to fop-dev To: "Lista-FOP" <[EMAIL PROTECTED]> cc:  bcc:  Subject: HELP WITH FONTS PLEASE! Hi all,I have a problem to generate a pdf document from a servlet appling fonts that are not included by default in the Fop especification.If I execute Fop from the command line, I have no problem at all, and it works perfectly.I know how to especify the file "userconfig.xml" in the command line -> "Fop -c conf/userconfig.xml", but I don´t know how to do it in the servlet to allow the use of diferent kinds of font in the xsl-fo file.My source code in the servlet looks like this:            ByteArrayOutputStream out = new ByteArrayOutputStream();    response.setContentType("application/pdf");    Driver driver = new Driver();    driver.setRenderer(Driver.RENDER_PDF);    driver.setOutputStream(out);    driver.render(input.getParser(), input.getInputSource());    byte[] content = out.toByteArray();    response.setContentLength(content.length);    response.getOutputStream().write(content);    response.getOutputStream().flush();I've read the document fonts.pdf already (thank you very much Sergei) and I have read  the page http://xml.apache.org/fop/fonts.html but i have found no solution.Can anyboy help me please?Gorka Echevarría VélezBILBOMÁTICA, S.A.[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



HELP WITH FONTS PLEASE!

2001-12-21 Thread Gorka Echevarría



Hi all,
I have a problem to generate a pdf document 
from a servlet appling fonts that are not included by default in the Fop 
especification.
If I execute Fop from the command line, I have no 
problem at all, and it works perfectly.
I know how to especify the file "userconfig.xml" in 
the command line -> "Fop -c conf/userconfig.xml", but I don´t know how to do 
it 
in the servlet to allow the use of diferent kinds 
of font in the xsl-fo file.
My source code in the servlet looks like 
this:
        
    ByteArrayOutputStream out = new 
ByteArrayOutputStream();    
response.setContentType("application/pdf");    
Driver driver = new 
Driver();    
driver.setRenderer(Driver.RENDER_PDF);    
driver.setOutputStream(out);    
driver.render(input.getParser(), 
input.getInputSource());    
byte[] content = 
out.toByteArray();    
response.setContentLength(content.length);    
response.getOutputStream().write(content);    
response.getOutputStream().flush();
 
I've read the document fonts.pdf already 
(thank you very much Sergei) and I have read  the page http://xml.apache.org/fop/fonts.html but 
i have found no solution.
 
Can anyboy help me please?
 
Gorka Echevarría 
VélezBILBOMÁTICA, S.A.[EMAIL PROTECTED]