RE: Break PDF into 2

2008-11-21 Thread Griffin,Sean
Another option may be to use iText to split the entire PDF into multiple PDFs and then insert your own page at the split. I don't know if it's possible or not, but iText can do some pretty powerful things. Sean Griffin From: Raphael Parree [mailto:[EMAIL PROTECTED] Sent: Friday, Novembe

RE: 0.95 & Acrobat Performance Problems

2008-12-01 Thread Griffin,Sean
I would look for differences in the source PDFs between the two versions. Even opening a PDF in a text editor will possibly show enough differences to explain the problem. FOP 0.95 creates PDF v1.4 files. I don't remember what FOP 0.20.5 created. Maybe there's a difference in how the content

RE: Out of Memory error

2008-12-11 Thread Griffin,Sean
Vsyamala, There are a variety of factors that could contribute to your OOM error, including, most significantly, the size of your page sequences within you FO, the types of images that you're embedding, the version of FOP that you're using, and whether you're writing to the PDF in memory or into

RE: Out of Memory error

2008-12-12 Thread Griffin,Sean
Vsyamala, I was assuming you were embedding FOP into your application and calling directly through Java. Since it appears you're launching from the command-line, it's up to the FOP command-line program on how it streams the output. Since you're specifying file names as your I/O, it stands to r

RE: FOP XML->XSLT->FOP PDF Issues

2008-12-16 Thread Griffin,Sean
Greg, Can you show how you are calling into FOP? Through the command-line or embedded in your Java app? FOP can take either an XSL-FO document or an XML/XSLT document pair that generates the XSL-FO and then turns around and processes that FO. While I'm guessing a bit here, this error seems l

RE: Scale fop created pages for pdf output

2009-01-13 Thread Griffin,Sean
Peter, By "scale" do you mean a different page size? As you probably know, this isn't exactly a difference scale (where the page size would be the same but the image zoom would be different). If you want to use the same XSLT to generate similar XSL-FO with just different page sizes, you can ea

Incorrect display of accented characters in plain font

2009-04-30 Thread Griffin,Sean
Fellow FOP users, I am looking for some help in an issue I am investigating for one of my clients that actually doesn't appear to have much to do with FOP at all. However, since there's a good chance that someone on this list knows more than I do about how fonts map to glyphs in PostScript, I f

RE: Incorrect display of accented characters in plain font

2009-04-30 Thread Griffin,Sean
. From: Griffin,Sean [mailto:sgrif...@cerner.com] Sent: Thursday, April 30, 2009 9:04 AM To: fop-users

RE: Auto Table Column Width

2009-05-27 Thread Griffin,Sean
Tobias, We have a similar need for auto table sizing, but we also have an additional need for "table wrapping", so we simply had to come up with an alternative solution. Since the FO is generated from XSLT, we can pass the page width and margin values as parameters to the XSLT stylesheets that

RE: 0.95 text wrap issue

2009-09-03 Thread Griffin,Sean
Senthil, Two things I would try: 1. Remove keep-together on the table-cell. In this contrived example you wouldn't need it. Not sure if that affects the hyphenation behavior or not. 2. Ensure you have the xml:lang attribute on the page-sequence element containing this block or the hyphenation

RE: Unable to display jpeg or PNG files in fop document

2009-10-19 Thread Griffin,Sean
Have you tried it from the fop.bat or are you embedding FOP in your own service? I tried with fop.bat and it works just fine using the dependencies added to the classpath in that script. In particular ensure you're running xmlgraphics-commons-1.3.1. From: Jonathan Levinson [mailto:jonathan

RE: keep-together="always" problem...

2008-06-13 Thread Griffin,Sean
I assume you're wanting keep-together within the page. See https://issues.apache.org/bugzilla/show_bug.cgi?id=45189. Use keep-together.within-page="always". -Original Message- From: Jiri Tyr [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2008 9:42 AM To: fop-users@xmlgraphics.apache

RE: fop-trunk nonbreaking spaces

2008-06-13 Thread Griffin,Sean
Is   even a valid entity for FO? Try   instead. Unless   is defined to match the character \u00A0... I tried a test locally using   and it worked just fine. Although I would question your use of non-breaking spaces in the first place. Might you really want white-space-collapse="false" and w

RE: fop-trunk nonbreaking spaces

2008-06-13 Thread Griffin,Sean
27953/Picture%2B1.png Griffin,Sean wrote: > > Is   even a valid entity for FO? Try   instead. Unless >   is defined to match the character \u00A0... > > I tried a test locally using   and it worked just fine. > > Although I would question your use of non-breaking spaces in

RE: Can i put two block in a single line?

2008-06-30 Thread Griffin,Sean
I don't think s inside an is going to get you the desired effect. I think what you're looking for is an , and unfortunately it appears that FOP does not support inline-containers. I think using a table is your only option here, which, because of lack of auto table layout, may not work for yo

RE: Inline blocks in fop 0.94 (not block with inlines)

2008-07-02 Thread Griffin,Sean
I'm not exactly sure I follow the question, but I think (hope) I understand it well enough to answer. The example you gave seems a bit off, though, as I don't see how the word "Test3" would ever break in the middle. The only break opportunity in the "Test3 Test3" inline would be at the space b

RE: Inline blocks in fop 0.94 (not block with inlines)

2008-07-02 Thread Griffin,Sean
ocks in fop 0.94 (not block with inlines) Thanks Griffin,Sean for your answer but i think that my problem is more complicated I'll give you a better example I have this text* in an inline. ---> *"Today is a beautiful day #" ok;; SO, Today is a beautiful day 1Today is a b

RE: Inline blocks in fop 0.94 (not block with inlines)

2008-07-02 Thread Griffin,Sean
ect: RE: Inline blocks in fop 0.94 (not block with inlines) Thanks again where is my wrong in this case Today is a beuatiful day1 Today is a beuatiful day1 Today is a beuatiful day1 because i am using xslt, between inlines i put this character where is my false; Griffin,Sean wrote:

RE: Inline blocks in fop 0.94 (not block with inlines)

2008-07-02 Thread Griffin,Sean
: Wednesday, July 02, 2008 10:34 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Inline blocks in fop 0.94 (not block with inlines) Griffin,Sean THANK YOU VERY maybe it'so simple, but i cannot understand you. can you send me mini fo:example... I need it... thanks.... Griffin,Sean wrote: >

RE: Inline blocks in fop 0.94 (not block with inlines)

2008-07-02 Thread Griffin,Sean
che.org Subject: RE: Inline blocks in fop 0.94 (not block with inlines) no result nothing--->thanks..i cannot understand where is my problem;; Griffin,Sean wrote: > > > > Today is a beautiful day 1 > > Today is a beautiful day 2 > > Today

RE: Inline blocks in fop 0.94 (not block with inlines)

2008-07-02 Thread Griffin,Sean
For some reason I had the mistaken impression that keep-together only applied to blocks and not inlines. Guess I'm wrong! And yes, that would certainly be an easier way to make it work. -Original Message- From: Andreas Delmelle [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008

RE: list-item - Keep together

2008-07-03 Thread Griffin,Sean
Which version of FOP are you using? First of all, if you want to keep within a page you should say keep-together.within-page instead of just keep-together. Second, you should need keep-together only on the list-item and not also on the list-item-block. And finally, this doesn't appear to work

RE: How to use glyphs from the Symbol font ?

2008-07-29 Thread Griffin,Sean
I think there's an issue in how FOP translates the fonts in the Symbol font-family...or at least an inconsistency with other user agents I tried, in particular Internet Explorer and FireFox. I tried to dig into the CodePointMapping class and the magic it's doing on more than one occasion but c

RE: How to use glyphs from the Symbol font ?

2008-07-29 Thread Griffin,Sean
>> For example, the 'q' character (0x71) >> should map to the 'θ' character (0x03B8) when Symbol is the >> font-family, but, if I remember correctly, it simply prints as '#' >> because 0x71 isn't in the glyph set for the Symbol font. What I said here was a little misstated. What I meant to say

RE: Help with layout and design

2008-07-31 Thread Griffin,Sean
I don't think your problem will be XSLT and certainly not XSL-FO but how you tell the difference between one column and the next and which data element you're actually dealing with. Just pseudo-code, outside of any particular language, what would the algorithm be for determining that. How y

RE: 0.95beta out of the wilderness?

2008-08-06 Thread Griffin,Sean
> Sorry, I have a backgound colour on my table cells and I want the table cells > to stretch whole pages, even if it goes to the next page. I could probably > fudge this with > a background-image on the region, but I would prefer not having to do this. Using a background image to do such a th

RE: Possible to avoid page breaks between table rows with keep-together?

2008-08-11 Thread Griffin,Sean
Alexander, It's hard to tell, but I'm assuming that the row that contains the text "There should not be a page break now" is supposed to stay on the same page as the rows containing the texts "With this line" and "And this line"? If so, you could accomplish this a couple of different ways. Yo

RE: Repeating table/group headers on subsequent pages

2008-08-12 Thread Griffin,Sean
Paige, I have to do the very same thing in my solution. Just use nested tables where each nested table gets its table-header. So it would be something like (obviously pseudo): Education Organization | Project | Status ORG1 | PRJ1 | STAT1

RE: Repeating table/group headers on subsequent pages

2008-08-12 Thread Griffin,Sean
After reading this over again I'm not sure you need to do the nested tables after all. It looks like you want to print a new set of column headers at the same point in time as when you want a new group header, and if that's the case you can just create 2 rows inside one table-header. So I inte

RE: Use only a limited number of items in an xsl:for-each

2008-08-18 Thread Griffin,Sean
Brian, select="intellispec/aliases/alias" is different than select="//*[local-name()='intellispec/aliases/alias'], if not functionally, at least in the area of performance. Just try select="intellispec/aliases/alias[position() < 3]" and see if that works any better. BTW, this has nothing to

RE: Experiencing a change in table/page breaking behavior from 0.94 to 0.95

2008-08-20 Thread Griffin,Sean
Matthew, Try changing keep-with-next/keep-with-previous="?" to keep-with-next.within-page="always". You're indirectly setting keep-together.within-line="?", which, unless you're working with s is likely not what you want. -Original Message- From: Zaleski, Matthew (M.E.) [mailto:[EMAIL