JCE present but not working

2004-11-23 Thread JBryant
Hi, all, Here's the scoop: * I am trying to get encryption to work in FOP. * I am using Windows XP, Java 1.4.1_02, and FOP 0.20.5. * I have downloaded bcprov-jdk14-125.jar from Bouncy Castle and have put that jar file in fop-0.20.5\lib. * I have modified build.bat to include the following

RE: JCE present but not working

2004-11-23 Thread JBryant
You were correct, Andreas. Your first e-mail made me wonder if I had Java installed in more than one place, and I do. I had modified the java.security file for the wrong one. I have inherited this machine, and under a big enough time crunch that I cannot wipe its drives and build it up as I wou

Re: Applying multiple styles using span tag problem

2004-11-24 Thread JBryant
"recursively" is the answer. You need to write a recursive template that you call when your style string contains a semi-colon (;). That template then generates multiple elements until the style string runs out of semi-colons. Jay Bryant Bryant Communication Services [EMAIL PROTECTED] 11/

Re: setting up tables differently based on existance of xml tags. (static variables, recursion, templates, and intrigue)

2004-11-30 Thread JBryant
Couple things: First, I'd dump this topic on the XSL list. Those folks love this kind of question, and they are good at helping with this kind of issue. Second, I'd look at making a key to hold the field-that-has-a-value-and-whose-next-sibling-has-a-value combos. Then, rather than read the whol

Re: setting up tables differently based on existance of xml tags. (static variables, recursion, templates, and intrigue)

2004-11-30 Thread JBryant
Forgot to add the URL for the XSL list: http://www.mulberrytech.com/xsl/xsl-list/ Jay Bryant Bryant Communication Services robert frapples <[EMAIL PROTECTED]> 11/30/2004 03:09 PM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject setting up tables differently based on exi

Re: Breaking between rows before breaking rows

2004-12-10 Thread JBryant
>From all that I have read (and tried myself), you've just hit FOP in its weakest spot. The only think I can suggest is to chunk your content such that a table never crosses a page boundary. Hopefully, the new effort on FOP (about which I know very little) will do better with keeps and breaks.

Re: Always on page 52 - > "No meaningful layout in block after many attempts. "

2005-01-03 Thread JBryant
Just a thought - have you tried giving FOP more memory to use? If you use the batch file, you can modify the line that invokes FOP to include the -Xmx switch, so that it looks something like this: java -Xmx512m -cp "%LOCALCLASSPATH%" org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8 %9 That give

Re: Blocks within same page

2005-01-11 Thread JBryant
Put them both in a table and set the keep-together property on both cells. One of the limitations of 0.20.5 is that only tables support keeps. Jay Bryant Bryant Communication Services (on contract at Synergistic Solution Technologies) Sajeesh N Kakkat <[EMAIL PROTECTED]> 01/11/2005 03:47 AM

Re: Table Help

2005-01-11 Thread JBryant
> What I don't understand is the relationship between columns and tables. Well, the fo:table element requires one or more fo:table-column elements as children. In other words, you have to remember that XSL:FO requires you to specify the columns before you specify the table body. When you start

Re: in FOP

2005-01-11 Thread JBryant
Assuming you have one-inch margins and a page with of 8.5 inches, the following FO element draws a one-point black line across the page: You can also set other properties, such as space-before and space-after. Here's an example that I use for lines in footers (to separate the rest of the page

Re: Avoiding Blank Pages When using Multiple Page Sequences

2005-01-28 Thread JBryant
My thought precisely. Here is a fragment from a stylesheet I wrote to print books (for the software industry): The $showIndex variable gets populated at the top of the stylesheet, based on an implied (and so not always present) attribute in the XML, thus:

Re: XML ---> PDF Japanese

2005-02-02 Thread JBryant
Just a thought: Did you set up the necessary font-metrics file? You can find an example (called cid-fonts.fo) in the examples\fo\advanced (Windows) or examples/fo/advanced (Linux or Unix) directory. Jay Bryant Bryant Communication Services (on contract at Syngergistic Solution Technologies) ---

Re: representative example needed

2005-02-04 Thread JBryant
I was also taken aback by what seems to be a plug for RenderX. FOP does all that I need, so I've never looked at RenderX, and this doesn't seem a like a logical forum in which to plug a commercial product. Unfortunately, while I have produced several large PDF files (my record so far is a bit o

Re: representative example needed

2005-02-04 Thread JBryant
> Oh, it would be so cool if we could have our own PDF of the XSL > 1.0 specification [1]. The official PDF was created by RenderX. I > thought about doing a stylesheet for that myself but I'm currently > so busy coding on FOP 1.0dev that I'd be more than happy if > someone from the user commun

Re: representative example needed

2005-02-08 Thread JBryant
> Thanks! Success stories ([1] is my favorite)--as well > as failures (honesty of its limitations also being > helpful in increasing confidence in FOP)--are always > welcome on this list. Oh, you want success stories. That I can do. I use FOP to produce all the documentation for a small software

RE: printing page numbers

2005-02-16 Thread JBryant
Move the text-align property to the fo:block element (and you can then remove the inline wrapper, since text-align is its only attribute). Jay Bryant Bryant Communication Services (presently consulting at Synergistic Solution Technologies) "Jaysheel Bhavsar" <[EMAIL PROTECTED]> 02/16/2005 02

Re: XSLT Question

2005-02-21 Thread JBryant
Hi, Kai, I would need a bit more detail to be able to help with that. Please post the smallest (but still still complete) set of XML files (input and desired output) that you want. That way, we can see what you mean. A couple observations, though: You can't walk back up the tree from a paramet

Re: XSLT Question

2005-02-21 Thread JBryant
Hi, Kai, I don't think you need to call a template for that. You can test for the characteristics of the node from within the matching template and get the image you need. Several xsl:when statements within an xsl:choose block should let you figure out which images to use when. For example,

Re: XSLT Question

2005-02-21 Thread JBryant
Hi, Kai, Here are two layouts of a file structure. (To appear correctly, they need to be viewed with a monospace font.) Since I don't like to send images to mailing lists, I have used text symbols as shown below: Key: |-A node that is not the last node at its level -A node that is the last nod

Re: XSLT Question

2005-02-21 Thread JBryant
Hi, Kai, The following stylesheet, applied to the following XML (an extension of your example), generates the same tree view as used by the Acrobat Reader (at least in version 7): XSL: http://www.w3.org/1999/XSL/Transform"; > Test <!--

Re: XSLT Question

2005-02-21 Thread JBryant
Hi, Kai, Well, perhaps the solution I just sent will be good enough. Maybe you can say, "That's how Adobe does it," and get away with it... If not, that left-most line will require a recursive template. Jay Bryant Bryant Communication Services (presently consulting at Synergistic Solution Techn

Re: What is a table IPD?

2005-02-21 Thread JBryant
IPD = inline-progression-dimension FOP is probably peeved because you didn't tell it how big to make the columns. FOP doesn't automatically determine the size of columns. If you can't figure it out pretty quickly from that info, send a code listing (short as possible but that shows the problem)

Re: N xml, 1 PDF

2005-02-24 Thread JBryant
That's an XSLT question rather than an XSL-FO question. XSLT can solve this problem with the document function, thus: Use a for-each to read each document spec in the configuration file. For each doc spec, read the referenced document and copy it to the result tree. Something like this (assumi

Re: check to see if newpage is created

2005-03-01 Thread JBryant
If you are using static-content blocks to create headers and footers, you'll automatically get that content on the new page. You can also put a running title in the header or footer. If you make the header area big enough and apply the same style choices to the running title, I suppose you coul

Re: Multiply PDF from one XML

2005-03-02 Thread JBryant
Yes. Use the xsl:result-document feature of XSL2 (which pretty much means using Saxon 8 as your XSL processor) or use an extension function (check out EXSLT for a good set of them). That lets you create multiple FO files from one XSL file applied to one (or more) XML files. Then you can run FOP

Re: Using FOP with docbook

2005-03-02 Thread JBryant
DocBook will make a fine test case for the new FOP, though. If the upcoming version can handle all the things that DocBook can do, it'll be a truly excellent tool. Jay Bryant Bryant Communication Services (presently consulting at Synergistic Solution Technologies) "J.Pietschmann" <[EMAIL PRO

Why xmlgraphics?

2005-03-14 Thread JBryant
Why the change from xml.apache.org to xmlgraphics.apache.org? Jay Bryant Bryant Communication Services (presently consulting at Synergistic Solution Technologies) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Re: make table border visible

2005-03-14 Thread JBryant
What kind of output are you producing? What are you using to view it? Jay Bryant Bryant Communication Services (presently consulting at Synergistic Solution Technologies) "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> 03/14/2005 09:56 AM Please respond to fop-users@xmlgraphics.apache.org To "fop-u

Re: make table border visible

2005-03-14 Thread JBryant
Have you checked the RTF output? Does it contain the correct elements to produce the border? If so, then this would be a JFOR problem. If not, then it's a FOP problem. Given that you see the borders in a viewing application but not when printed, I am inclined to suspect that the problem comes f

Re: Why xmlgraphics?

2005-03-14 Thread JBryant
ish the oversight that the board requested. I hope that answers it. On 14.03.2005 16:38:27 JBryant wrote: > Why the change from xml.apache.org to xmlgraphics.apache.org? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTE

RE: make table border visible

2005-03-14 Thread JBryant
The following element in an FO file produces a border for me (in PDF): Perhaps you tried I can see where many processors would simply ignore the style and color attributes in favor of the compound property. In that case, you'd have an invisible border. Disclaimer: I use FOP to create PDF

Re: Why xmlgraphics?

2005-03-14 Thread JBryant
f we get some help on the way, even better. hint, hint! On 14.03.2005 17:54:04 JBryant wrote: > I just don't want to see FOP lose its focus on implementing the XSL-FO > spec and wander off into becoming some kind of oddball graphics rendering > engine for other purposes. The current

Re: text-indent issue

2005-03-16 Thread JBryant
Since both the text preceding the nested block and the text following the nested block are within the indented block, the text after the nested block gets indented. You'd need to move the text after the nested block to its own block to not have it be indented. This is just for testing pu

RE: text-indent issue

2005-03-16 Thread JBryant
My apologies. I had confused text-indent with start-indent. I guess FOP has a bug here. The work around appears to be not having text after a nested block. Jay Bryant Bryant Communication Services (presently consulting at Synergistic Solution Technologies) "Puppala, Kumar (LNG-DAY)" <[EMAIL