Re: Text and picture alignment

2003-03-27 Thread J.Pietschmann
Granchak, Tanya wrote: I want the text bottom to be on one level with the picture bottom. How I should change the xsl fo statement? The spec has area alignment properties to control this: http://www.w3.org/TR/xsl/slice7.html#area-alignment You'll probably need alignment-adjust="bottom", but in you

Re: Loading Dynamic Images from Servlet

2003-03-27 Thread J.Pietschmann
Saravanaan wrote: I'm using fop.jar v0.20.5rc . I want to show an Image in my PDF document which is dynamically generted in the servlet. I'm flushing the image in png format using jimi.jar's api. I want to clarify whether fop.jar sends a new request from the browser to the servlet for loading t

Re: Right aligned text flutters (continued)

2003-03-27 Thread Clay Leeds
Markus, I suspect that the discrepancy is not as large as you show below, but rather is more of a fraction of an "EM" width (or whatever it's called ;-p) and also that you're not only dealing with "00" to the right of the decimal (which should all have identical metrics). If so, could the discr

Re: tagged pdf [OT?] & Accessible PDFs

2003-03-27 Thread Labeaux Schiek
Thanks for the info, Jeremias.  Perhaps one day it will be included.   Thanks for your input Clay,   Adobe's MakeAccessible plugin is for Acrobat 5.0 (the writer)   We wish for individuals to be able to create this on the fly, and they only have the Acrobat Reader.   -later -labeaux>>> [EMAIL

Right aligned text flutters (continued)

2003-03-27 Thread "Müller, Markus"
Hi again, The problem still exists in FOP 0.20.5rc. But it is not a general problem of FOP, the fluttering only occurs when using our corporate font. The font metrics file is generated as described in the FOP "manual". What can be wrong Any suggestions welcome, Markus $> -Ursprüngliche

Re: xsl question about substring/index

2003-03-27 Thread Jeremias Maerki
As a quick hack you could write a simple Java class and plug it into Xalan. It is very easy, but isn't portable (Xalan-specific). As a template: package com.mdnotes.xalanext; public class MyXalanExtension { public String truncateMyDateFormat(String theDate) { return theDate.substring

Right aligned text flutters

2003-03-27 Thread "Müller, Markus"
Hi foopers, Using FOP 0.20.4rc (ok, that's not the current version ;-)) I generate an invoice having a table with invoice items like this: INVOICE Books 2000,00 Mice50,00 Couch 600,00 Quietscheentchen

Re: xsl question about substring/index

2003-03-27 Thread Clay Leeds
Usually, a personal request like this would be best handled off-list. Unfortunately, I do not have time to build something like this. However, if you search with google.com, I'm sure you'll find an XSLT file that performs what you're looking for. Then, you should be able to modify the template (

RE: xsl question about substring/index

2003-03-27 Thread Jasmin Mehta
Clay, The links you have mentioned has excellent source for date time functions. But I am receiving a date in XML file that has not matching format according to XML Schema Part 2: Datatypes. So I can not use that function. So I am now looking for some string function only that can give me the for

Re: Content in trailing section

2003-03-27 Thread vakkaraju
Hi, We used to get these errors -- "Content is not allowed in trailing section" and "Content is not allowed in Prolog" -- when there are some unmatched elements in xml. By matching all the children of top most node in xml we could get rid of these errors(if you don't want some elements, you can d

Re: Subdirectory xml-fo ?

2003-03-27 Thread Jeremias Maerki
Seems to be a bit misleading if you're not accustomed to CVS. Sorry. Actually, you mean "xml-fop", not "xml-fo". That's the module name of the FOP project in Apache's CVS. What you're looking for is the subdirectory "examples" relative to the root directory where you untarred the fop distribution.

Re: tagged pdf [OT?] & Accessible PDFs

2003-03-27 Thread Clay Leeds
I'm not sure if this is [OT] or not, but here's a couple of links I found RE: Tagged PDF (& Adobe's MakeAccessible plugin): How to Create Accessible Adobe PDF Files Booklet: http://www.adobe.com/products/acrobat/access_booklet.html Using the MakeAccessible plug-in (section) http://www.adobe.com/p

Subdirectory xml-fo ?

2003-03-27 Thread HEBERT Eric
Title: Subdirectory xml-fo ? In the fop-0.20.5rc-bin.tar.gz distribution, i don't find the subdirectory xml-fo, specified in the website http://xml.apache.org/fop/examples.html In fact, i am looking for the subdirectories xml-fo/examples/fo xml-fo/examples/servlet , xml-fo/exemples/embedding

Re: tagged pdf

2003-03-27 Thread Clay Leeds
From Adobe's web site: Several more tools for creating accessible Adobe PDF files are also available for Windows. These include the Paper Capture plug-in, which adds text to a scanned page; the Make Accessible plug-in for the conversion of legacy Adobe PDF files to tagged Adobe PDF file

Re: Content in trailing section

2003-03-27 Thread Jeremias Maerki
Difficult to tell without seeing your code. The code below truncates the file when opening it for the second time. There's no garbage after "Hello World!". You should check how you write your output files. Maybe you use RandomAccessFile in a wrong way. Not really a FOP question, is it? File f

Re: tagged pdf

2003-03-27 Thread Jeremias Maerki
This is not a foolish question. Unfortunate for you, but FOP doesn't support Tagged PDF at this time. And to answer a possible follow-up question: It's not on the todo list. This is not really a hot topic, so that explains why you haven't found any information. Anyway, this is OpenSource. Anything

Content in trailing section

2003-03-27 Thread Celine Murphy
Hi,   Has anyone ever experienced this type of error?   [INFO] [2][Fatal Error] output.xml:3729:1: Content is not allowed in trailing section.[ERROR] Content is not allowed in trailing section.   It seems that somewhere in the transformation a part of the file is actually being written to a

Re: xsl question about substring/index

2003-03-27 Thread Clay Leeds
Jasmin, Here's a page with some "date" extensions to XSLT: http://www.exslt.org/date Here's a differen extension worth checking out: http://xsltsl.sourceforge.net/date-time.html I'm sure there's an XSL template out there somewhere that does exactly what you're looking for, but I couldn't find it i

xsl question about substring/index

2003-03-27 Thread Jasmin Mehta
Hi,   Can anybody please tell me how to get indexes of specific strings?   For example, I have a long date tag in XML   Monday, March 24, 2003 4:02:03 PM ESTsubmitdate>   And I just want to display ‘Monday, March 24, 2003’ in my PDF file using xsl-fo.   It I have to s

tagged pdf

2003-03-27 Thread Labeaux Schiek
Hi Group,   This is my first e-mail to the group, so I hope I am not asking a foolish question.   We are creating forms with xsl and using xml for the data for individuals with disabilities.   We would like to create the form so that it has the document property of 'tagged pdf', so that th

Text and picture alignment

2003-03-27 Thread Granchak, Tanya
Hello, May be somebody knows how to solve it: The following xsl fo statement For example, a single database system can enforce the ACID rules when it holds all the data involved in a transaction. In the case of SQL Server, there is an internal transaction manager that provides commit and rollbac

Loading Dynamic Images from Servlet

2003-03-27 Thread Saravanaan
Hi All, I'm using fop.jar v0.20.5rc . I want to show an Image in my PDF document which is dynamically generted in the servlet. I'm flushing the image in png format using jimi.jar's api. I want to clarify whether fop.jar sends a new request from the browser to the servlet for loading the image?