RE: FOnt config

2014-06-04 Thread Amick, Eric
I use auto-detect with no difficulty, and I'm sure plenty of people use the 
other features as well. Which version of FOP are you using? You should probably 
post the actual config file you're using.

-Original Message-
From: Donald Paul Winston [mailto:satchwins...@yahoo.com] 
Sent: Wednesday, June 04, 2014 11:56
To: fop-users@xmlgraphics.apache.org
Subject: Re: FOnt config

This does not work.


  
  C:\MyFonts1

  
  C:\MyFonts2

  
  


the DTD does not support "directory" or "auto-detect"



--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/FOnt-config-tp40743p40744.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


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



RE: How to dynamically add columns to fo:table in xsl fo

2013-04-15 Thread Amick, Eric
Since you're using XSLT, why not do something like this?



I would think xsl:if and/or xsl:choose would be useful as well.


Eric Amick   Systems Engineer II
Legislative Computer Systems

From: sree1109 [mailto:sree.1...@gmail.com]
Sent: Saturday, April 13, 2013 5:49 AM
To: fop-users@xmlgraphics.apache.org
Subject: How to dynamically add columns to fo:table in xsl fo

Hi,

I m trying to convert a set of db results into PDF using XSL FO. Depending on 
the query, the number of columns returned might differ.Also, based on the value 
of a column(in my case, Offer type), I have to choose/ignore only certain 
columns which I can specify in my XSLT header/value templates.

My problem is with fo:table-column. I cannot give a static number here for 
number-columns-repeated. Is there a way to dynamically add table-columns and 
handle different result set using a single XSLT?


RE: Royal mail example Barcode 4J and FOP 1.0 and higher

2012-10-24 Thread Amick, Eric
I may be way off base, but don't the child elements in  need 
the bc prefix as well?



Eric Amick   Systems Engineer II

Legislative Computer Systems



> -Original Message-

> From: jkattestaart [mailto:jkattesta...@gmail.com]

> Sent: Wednesday, October 24, 2012 2:43

> To: fop-users@xmlgraphics.apache.org

> Subject: Royal mail example Barcode 4J and FOP 1.0 and higher

>

> Hello,

>

> I'm trying to te render a royal mail barcode, but i must be doing

> something wrong.

>

>...

>   

>

>  

>http://barcode4j.krysalis.org/ns";>

> select="."/>

>  

>   0.53mm

>   1.25mm

>   1.25mm

>   1mw

>   10mw

>   auto=add

>

>  

>

>  

>

>   

>

> 24-okt-2012 6:40:06 org.apache.fop.events.LoggingEventListener

> processEvent

> SEVERE: The intrinsic dimensions of an instream-foreign-object could

> not be dete rmined. (No context info available)

>

> My xml-file contains1234AB120A

>

>

>

>

> --

> View this message in context: 
> http://apache-

> fop.1065347.n5.nabble.com/ANN-Barcode4J-2-1-released-tp16710p37128.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: Variables

2012-08-17 Thread Amick, Eric
You can simplify that considerably:








Eric Amick   Systems Engineer II
Legislative Computer Systems

From: Robert Meyer [mailto:rme...@hotmail.co.uk]
Sent: Friday, August 17, 2012 6:39
To: fop-users@xmlgraphics.apache.org
Subject: RE: Variables

Hi,

This is really an XSLT question rather than a FOP question and would be best 
asked on an appropriate forum.

However, I have done something similar in the past and this is how I did it:

file.xml
=
somepath/image.png

templates.xsl










Regards,

Robert Meyer
> Date: Thu, 16 Aug 2012 08:31:16 -0700
> From: fkn...@gmail.com
> To: fop-users@xmlgraphics.apache.org
> Subject: Variables
>
>
>
> Hi,
>
> i am quite new to FOP, so i need a little help.
>
> The XML file comes with a dynamically created tag, that holds the path to an
> image:
>
> 
> 001
> foo
> bar
> /somepath/foo_bar_001.jpg
> 
>
> How can i use the image content in the XSLT ? That the result is:
>
>  content-width="scale-to-fit" content-height="scale-to-fit"
> src="/somepath/foo_bar_001.jpg"/>
>
> Do i need to load the  into a variable ?
>
>
> Thank you,
> Regards
> Foobar
>
>
>
>
>
>
> --
> View this message in context: 
> http://apache-fop.1065347.n5.nabble.com/Variables-tp36660.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: White Space Added but Not Needed

2012-06-26 Thread Amick, Eric
What happens when you use the following?



  #
  
  
   


Eric Amick   Systems Engineer II
Legislative Computer Systems

> -Original Message-
> From: Rita Greenberg [mailto:rgreenb...@medata.com]
> Sent: Monday, June 25, 2012 17:50
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: White Space Added but Not Needed
> 
> Thanks Pascal - I tried that but am still getting a space between the #
> and 28.
> I need #28.
> 
> 
> -
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


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



RE: White Space Added but Not Needed

2012-06-22 Thread Amick, Eric
But you *do* ask for whitespace-the newline after the # sign and the spaces at 
the start of the following line do that. Use # instead.

Eric Amick   Systems Engineer II
Legislative Computer Systems

> -Original Message-
> From: Rita Greenberg [mailto:rgreenb...@medata.com]
> Sent: Friday, June 22, 2012 13:57
> To: fop-users@xmlgraphics.apache.org
> Subject: White Space Added but Not Needed
> 
> Hello.
> 
> In my xsl:fo stylesheet I'm using wrap-option="wrap" on a fo:cell
> level.
> I'm printing a hash (#) sign before an xml element if a cetain
> condition is met.
> 
> So, my element has, for example, a value of "28" and if the condition
> is met I
> want to print #28. The problem is that I get # 28. A space is being
> added that
> I never asked for!
> 
> I've tried using strip-space, and normalize-space but niether of them
> worked.
> 
> The interesting thing is that when I wrap the # within a fo:inline, I
> don;t get
> the space but then I don't get the wrapping either.
> 
> Here's my code.
> 
> [code]
> 
> 
>   #
>   
>   
>    
> 
> 
> [code]
> 
> Thanks,
> Rita
> 
> 
> -
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


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



RE: fo:block writing-mode="rl" attribute seems do not work

2012-06-21 Thread Amick, Eric
writing-mode applies to block-container, not block.

Eric Amick   Systems Engineer II
Legislative Computer Systems

From: Christian Pestel [mailto:christian.pes...@orange.fr]
Sent: Thursday, June 21, 2012 11:18
To: fop-users
Subject: Fw: fo:block writing-mode="rl" attribute seems do not work

with fo sample.




Christian Pestel
christian.pes...@orange.fr

From: Christian Pestel
Sent: Thursday, June 21, 2012 5:17 PM
To: fop-users
Subject: fo:block writing-mode="rl" attribute seems do not work

Hi,

 seems do not work
It’s work fine in  or in 
But why this don’t work in  ?

Christian Pestel
christian.pes...@orange.fr


RE: How to prevent hyphenation after hyphens?

2012-06-12 Thread Amick, Eric
Hyphenation means adding a hyphen to text, so the hyphenate property won't 
help. Most likely your best bet is changing the hyphens in the text to 
non-breaking hyphens (Unicode U+2011), presumably in the style sheet if you're 
using one. If that doesn't work, you can try wrapping each word in an fo:inline 
with 
keep-together.within-line="always".

Eric Amick   Systems Engineer II
Legislative Computer Systems

> -Original Message-
> From: SNawa [mailto:navat...@gmail.com]
> Sent: Tuesday, June 12, 2012 12:29
> To: fop-users@xmlgraphics.apache.org
> Subject: How to prevent hyphenation after hyphens?
> 
> 
> Hi all
> I have content with hyphens
> 
>  border-style="solid" hyphenate="false">
> first-second first-second first-second first-second first-
> second
> first-second first-second first-second first-second first-second
> first-second first-second first-second first-second first-second
> first-second first-second first-second first-second first-second
> first-second first-second first-second first-second first-second
> 
> 
> Output looks like
> http://old.nabble.com/file/p34000343/hyphens.png
> 
> How to prevent hyphenation after hyphens? I want that the first and
> second
> words stay in the same line
> 
> Thanks
> --
> View this message in context: http://old.nabble.com/How-to-prevent-
> hyphenation-after-hyphens--tp34000343p34000343.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


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



Keeps and multicolumn text

2012-04-05 Thread Amick, Eric
Hello,

I have some data that I am displaying on a two-column page that is intermixed 
with data that spans the columns. I want to have the two-column data listed in 
balanced columns, but occasionally a page break occurs immediately after the 
first item in the data; as a result, that item appears by itself on a line. I 
thought I would use a keep-together to group the data, but I can't figure it 
out. Using keep-with-previous and keep-with-next doesn't help; if anything, it 
makes it worse. Does anyone have any ideas?

Eric Amick   Systems Engineer II
U.S. House of Representatives  |  Office of the Clerk  |  Legislative Computer 
Systems
Office: 202-225-1182
http://clerk.house.gov

Please consider the environment before printing this email.



RE: external-graphic

2012-03-30 Thread Amick, Eric
For some reason, using the width property on external-graphic never occurred to 
me. I have it figured out now. Thanks.

Eric Amick   Systems Engineer II
Legislative Computer Systems

> -Original Message-
> From: Pascal Sancho [mailto:pascal.san...@takoma.fr]
> Sent: Friday, March 30, 2012 9:58
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: external-graphic
> 
> Hi,
> 
> also, you can use "scale-down-to-fit", in this case the image will be
> resized *only* if too large.
> 
> Le 30/03/2012 15:48, Klearchos Klearchou a écrit :
> > Hello Eric,
> > are you looking for something like this?
> >  > content-width="scale-to-fit" border="solid 0.1pt" width="90mm" />
> >
> >
> > On 30/3/2012 4:43 PM, Amick, Eric wrote:
> >>
> >> I'm using FOP 1.0, and I'm trying to scale an image that is too
> large
> >> for the page so that it fits. What attributes do I need to use? I
> >> can't figure out which ones I need or what values are required.
> 
> --
> Pascal
> 
> -
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


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



external-graphic

2012-03-30 Thread Amick, Eric
I'm using FOP 1.0, and I'm trying to scale an image that is too large for the 
page so that it fits. What attributes do I need to use? I can't figure out 
which ones I need or what values are required.

Eric Amick   Systems Engineer II
U.S. House of Representatives  |  Office of the Clerk  |  Legislative Computer 
Systems
Office: 202-225-1182
http://clerk.house.gov

Please consider the environment before printing this email.



RE: FOP 1.0 support for 'page-postion=only'

2012-01-25 Thread Amick, Eric
The original was certainly over-specified, but I would have expected it to 
work. Unless I've misunderstood, "only" is true only when "first" and "last" 
are both true, and "rest" is true only when neither "first" nor "last" is true, 
so putting "last" at the end should have been OK.

Eric Amick   Systems Engineer II
Legislative Computer Systems


> -Original Message-
> From: Pascal Sancho [mailto:pascal.san...@takoma.fr]
> Sent: Wednesday, January 25, 2012 3:42
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: FOP 1.0 support for 'page-postion=only'
> 
> Hi,
> 
> "only" works as expected.
> 
> Note that fo:conditional-page-master-reference order is taken into
> account within the fo:repeatable-page-master-alternatives.
> (this is a sequential test).
> 
> if you need a "only" master, you have to put it in 1st position,
> otherwise another one can be used.
> Same thing about "last" master, witch is probably more what you need in
> this case.


RE: FOP 1.0 support for 'page-postion=only'

2012-01-24 Thread Amick, Eric
I'm probably missing something, but won't this do what you want?





  


Eric Amick   Systems Engineer II
Legislative Computer Systems

> -Original Message-
> From: FPar [mailto:francis.pars...@verizon.net]
> Sent: Tuesday, January 24, 2012 8:09
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: FOP 1.0 support for 'page-postion=only'
> 
> 
> Hmm, OK. The compliance page seems to be for all versions. Do you have
> an
> example of something that should work? I have a letter where there is a
> signature section that should appear (in the footer) of the last page
> (I
> want to keep it fixed to the bottom to the page). However, if the page
> is
> only one page long, I also want that signature section to appear.
> 
> This is what I had that didn't work:
> 
> 
>   
>master-reference="letter-last"/>
>master-reference="letter-all-but-last"/>
>master-reference="letter-all-but-last"/>
>master-reference="letter-last"/>
> 
> 
> 
>   
> 
> Does this look correct? Should this work? Thanks for any help with
> this!
> 
> 
> 
> Pascal Sancho wrote:
> >
> > Hi,
> >
> > Page compliance says that partial support concerns only FOP 0.95.
> Latter
> > versions have full support for this property.
> >
> > After SVN check, the "only" support was added in rev 698280, witch
> was
> > prior to FOP 1.0.
> >
> > So, page compliance is up to date (regarding that feature), and FOP
> 1.0
> > should implement it fully.
> >
> >
> 
> --
> View this message in context: http://old.nabble.com/FOP-1.0-support-
> for-%27page-postion%3Donly%27-tp33188282p33194743.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


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



RE: MICR font problem in 1.0

2011-12-05 Thread Amick, Eric
There is a hyphenation-character property; perhaps all you need to do is use it 
to specify the character to use?

Eric Amick   Systems Engineer II
Legislative Computer Systems

From: Anil Pinto [mailto:api...@lobotec.com]
Sent: Friday, December 2, 2011 17:20
To: FOP Mailing List
Subject: MICR font problem in 1.0

Hello,

We have been using FOP 1.0 for quite a while now and are very happy with it. 
Thanks to all the developers for their time, hard work and efforts.

Recently we had a need to incorporate MICR into one of the PDFs we were 
generating for our customer but are having issues getting it to work and would 
greatly appreciate some insights on what may be going wrong.

The font is not rendered with 1.0 but renders correctly in 0.95 (although both 
version show the same warning as below)

Dec 2, 2011 1:54:10 PM org.apache.fop.fo.properties.CommonHyphenation 
getHyphChar
WARNING: Substituted specified hyphenation character (0x2d) with 0x20 because 
the font doesn't have the specified hyphenation character: MICR,normal,400

I am attaching the sample, xml, xsl and PDFs for both versions. Note for 
obvious reasons I cannot include the MICR font (micr.ttf) as it was purchased 
by the customer. I can send it individually to the developer who can help 
resolve this problem in a separate email.

Appreciate any help to resolve this behavior.

Thanks,
Anil Pinto.

Lobo Technologies, Inc.
www.lobotec.com


RE: Help on design my xslt

2011-11-29 Thread Amick, Eric
If I'm reading your new-sequence.xml correctly, you aren't providing any 
alternative for a page that is neither first nor last. Also, I don't think 
generating the last page in a separate page-sequence is going to work correctly 
when you are not doing multiple copies of the document. (None of this is 
specific to FOP.)
 
Eric Amick   Systems Engineer II
Legislative Computer Systems

> -Original Message-
> From: pedro [mailto:pedro.r...@libero.it]
> Sent: Tuesday, November 29, 2011 10:09
> To: fop-users@xmlgraphics.apache.org
> Subject: Help on design my xslt
> 
> 
> Hi all
> i have some problem on design my xslt.
> The scenario :
> 
> 1) i want that the last pages has special footer
> 2)i have a boolean that tell if i have 1 copies of the document or
> 3
> copies(each page has a different footer title)
> 
> 
> In origin i have no special footer for last pages and works fine:
> http://old.nabble.com/file/p32880890/old%2Bsequence.xml
> old+sequence.xml
> 
> 
> Now i try to use  but i have
> some
> problem:
>  1)how i can call different footer for last page?
>  2) how i can implement  to
> choose
> if is one or 3 copies?
> 
> 
> I try something like this but not works and i have no ideas
> http://old.nabble.com/file/p32880890/new_sequence.xml new_sequence.xml
> 
> 
> 
> 
> 
> --
> View this message in context: http://old.nabble.com/Help-on-design-my-
> xslt-tp32880890p32880890.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


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



RE: Creating FopImage

2011-11-10 Thread Amick, Eric
> -Original Message-
> From: tp1705424 [mailto:tobias.pri...@prodyna.de]
> Sent: Wednesday, November 9, 2011 11:39
> To: fop-users@xmlgraphics.apache.org
> Subject: Creating FopImage
> 
> 
> I want to create a FopImage.
> Thats the way i try to do it:
> 
> fopImage=imageFactory.loadImage("file:/d:/Grafiken/smiley.bmp",
> foUserAgent)
> byte[] bytes=fopImage.getRessourceBytes();
> 
> 
> My problem is that that the method getRessourceBytes() allways returns
> null.
> I need the byte Array to fill a ImageObject of type
> org.apache.fop.render.afp.modca.ImageObject
> 
> AFPDataStream afpStream= new AFPDataStream();
> afpStream.startDocument(out);
> afpStream.startPage(2970, 2100, 0);
> afpStream.createLine(1000, 0, 1000, 2000, 10, Color.BLACK);
> 
> afpStream.endPage();
> afpStream.startPage(2970, 2100, 0);
> ImageObject imageObject=afpStream.getImageObject(0, 0, 1000, 1000);
> 
> Can anybody give me a hint how I'm able to create a simple FopImage?
> And why the getRessourceBytes() allways returns null?
> 
> I'm thankful for every Idea.
> Tobias

The URL should start with "file://", but I don't know if that will necessarily 
solve your problem.

Eric Amick   Systems Engineer II
Legislative Computer Systems


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



RE: Table Printing On Two Pages Issue

2011-10-06 Thread Amick, Eric
If by "footer area" you mean the region-after of the page's page-master, 
remember that the region-after overlays the region-body; you need to define a 
margin-bottom for the region-body that is at least as large as the extent of 
the region-after. With keeps, I have found that specifying the particular kind 
of keep usually works much better; try keep-together.within-page instead of 
keep-together.

Eric Amick   Systems Engineer II
Legislative Computer Systems

> -Original Message-
> From: Rita Greenberg [mailto:rgreenb...@medata.com]
> Sent: Wednesday, October 5, 2011 18:55
> To: fop-users@xmlgraphics.apache.org
> Subject: Table Printing On Two Pages Issue
> 
> Hello.
> 
> I have a PDF document which has many tables.
> One of the tables (which has multiple rows) is printing on two pages.
> The problem is that part of the table on the first page is printing in
> the
> footer area so it's being overwritten with the page footer information.
> 
> What can I do to cause the table to print correctly on the second page
> and not
> in the footer area of the first page.
> 
> Also, I'm trying to keep several rows together in this table with no
> success.
> There are hundreds of lines of code so I can't include it here.
> 
> Is there a link to a good example that I can check out?
> I've searched the web for several hours and so far am unable to resolve
> my
> issue.
> 
> I'm using FOP 0.20.5.
> 
> Here's the start of the table:
>   
> 
> 
>   
> 
> 
> 
>   
> 
>   
>   
> 
> 
>   
>  
>   
>   
> 
>   
> Continued on
> next
> page...
>   
> 
>   
> 
>
>  
> 
> 
> Any suggestions will be greatly appreciated!
> 
> Thanks,
> Rita
> 
> 
> -
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


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



RE: different footer for last page

2011-08-22 Thread Amick, Eric
That makes perfect sense. FO checks the conditionals in the order listed and 
stops when it finds the first whose conditions are all satisfied. Generally 
speaking, you should always put the more specific conditionals before the less 
specific.

Eric Amick   Systems Engineer II
Legislative Computer Systems

> -Original Message-
> From: champagne_chary [mailto:anto...@champers.co.uk]
> Sent: Friday, August 19, 2011 18:53
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: different footer for last page
> 
> 
> Helo, Not sure if I am right given i am a true beginner with all of
> this..
> 
> however if you change the order and put the last page headers above
> then it
> works for me.. the way around that you have it for some reason it
> doesn't.
> 
> 
>   
>   
>master-reference="page-master-177027616-even-last" odd-or-even="even"
> page-position="last"/>
>master-reference="page-master-177027616-odd-last" odd-or-even="odd"
> page-position="last"/>
>master-reference="page-master-177027616-even" odd-or-even="even"/>
>master-reference="page-master-177027616-odd" odd-or-even="odd"/>
>   
> 
> 
> 
> 
> Regards
> 
> 
> Furst, Tom wrote:
> >
> > Hello,
> >
> > I am having problems getting a different footer on the final page of
> PDFs
> > I am generating from FOP 1.0. I have the following in my stylesheet:
> >
> > 
> > 
> >  > master-reference="page"/>
> >  > master-reference="page-even"/>
> >  > page-position="last" master-reference="page-last"/>
> >  > page-position="last" master-reference="page-even-last"/>
> > 
> > 
> >
> > I have created the simple-page-master for each, page-last and
> > page-even-last, where I identified the new region-after for each.
> >
> > Does FOP support the use of the 'page-position' property? I am
> getting my
> > different headers/footers for even odd, just not for the last page.
> Any
> > help will be much appreciated.
> >
> > Thanks,
> >
> > Tom
> >
> >
> > -
> > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> > For additional commands, e-mail: fop-users-
> h...@xmlgraphics.apache.org
> >
> >
> >
> 
> --
> View this message in context: http://old.nabble.com/different-footer-
> for-last-page-tp32295614p32299041.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


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



RE: numberformatting problem (austrian format)

2011-07-12 Thread Amick, Eric
One other thing: If you need all instances of format-number to behave the same, 
using



will change the default decimal formatting, and you can then leave off the 
third argument to format-number().

Eric Amick   Systems Engineer II
Legislative Computer Systems

From: haichao.m...@raibau.at [mailto:haichao.m...@raibau.at]
Sent: Tuesday, July 12, 2011 10:21
To: fop-users@xmlgraphics.apache.org
Subject: numberformatting problem (austrian format)

I'm using fop to process PDFs. I need to format a number.
code:


The output in this case is 10,000.00
My problem is, that I need the number format in Austria, which is 10.000,00 
(the comma and the point are switched)


RE: numberformatting problem (austrian format)

2011-07-12 Thread Amick, Eric
Try the following (untested):




Then in the template rule, use


Instead.

Eric Amick   Systems Engineer II
Legislative Computer Systems

From: haichao.m...@raibau.at [mailto:haichao.m...@raibau.at]
Sent: Tuesday, July 12, 2011 10:21
To: fop-users@xmlgraphics.apache.org
Subject: numberformatting problem (austrian format)

I'm using fop to process PDFs. I need to format a number.
code:


The output in this case is 10,000.00
My problem is, that I need the number format in Austria, which is 10.000,00 
(the comma and the point are switched)

I already tried .###,00 but a TransformerException was thrown. Seems that 
the point is only used to separate integer and decimal places and the comma is 
only used to group numerals.

Anyone knows how I can get the number formatted with the Austrian/German format?

-

Zuverlässigkeit seit 50 Jahren - Raiffeisen Bausparkasse feiert Jubiläum.

Auf zum Bauspar-Jubiläumsgewinnspiel:

[cid:image001.jpg@01CC4081.3D944DB0]

__
Raiffeisen Bausparkasse Gesellschaft m.b.H., 1050 Wien, Wiedner Hauptstraße 94, 
Firmenbuchnummer 116309v, Handelsgericht Wien, DVR 0066257, UID ATU15350206

Diese E-Mail kann vertrauliche und geschuetzte Informationen enthalten. Wenn 
diese E-Mail nicht für Sie bestimmt ist, bitten wir Sie, uns unverzueglich zu 
informieren und sie zu loeschen.

This e-mail message may contain information, which is confidential and 
protected. If you are not the intended recipient of this message, we ask you to 
inform us immediately and delete the message afterwards.

<>

RE: Footenote space / margin / distance / padding

2011-02-16 Thread Amick, Eric
The xsl-footnote-separator feature described in section 6.12.1.3 of the spec 
should be what you're looking for.

http://www.w3.org/TR/xsl/#pg-out-of-line

Eric Amick   Systems Engineer II
Legislative Computer Systems

> -Original Message-
> From: TvT [mailto:tvtre...@nepatec.de]
> Sent: Wednesday, February 16, 2011 13:18
> To: fop-users@xmlgraphics.apache.org
> Subject: Footenote space / margin / distance / padding
> 
> Hi,
> 
> i create a PDF file with a table and in some of the cells i use
> footnotes.
> Sometimes if the table is big and continued on the next page, the last
> cell touches directly the first footnote at the bottom.
> 
> I played around with the regions, margins, padding, space.before and
> stuff but nothing worked so far.
> E.g. i tried:
> 
> 
> Initially i thought that footnotes are printed in the region-after
> however its seems that they are printed at the bottom of the
> page-body.
> Is there anyway to put some space between the footnotes and the last
> element?
> 
> Thanks
> ToM
> 
> -
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


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



RE: fo:table space-after

2011-01-06 Thread Amick, Eric
It wouldn't surprise me if it has something to do with conditionality. Have you 
tried adding space-after.conditionality="retain"?

Eric Amick   Systems Engineer II
Legislative Computer Systems

> -Original Message-
> From: Philippe Pithon [mailto:ppit...@sigal.fr]
> Sent: Thursday, January 6, 2011 10:51
> To: fop-users@xmlgraphics.apache.org
> Subject: fo:table space-after
> 
> Hello all,
> 
> I start upgrade from FOP 0.20.5 to FOP 1.0
> 
> I have a problem with space-after in fo:table
> (space-before works fine)
> 
>  table-layout="fixed" width="100%">
> 
> With my test page, there isn't space after my table
> 
> But with FOP 0.20.5 it's OK.
> 
> any ideas ?
> 
> Philippe Pithon
> 
> -
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


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



RE: ValidationException: Document is empty

2010-12-07 Thread Amick, Eric
If I may jump in here, I think it's more fundamental. I don't believe the XML 
standard allows using entities as a part of start and end tags like that.

Eric Amick   Systems Engineer II
Legislative Computer Systems

> -Original Message-
> From: Eric Douglas [mailto:edoug...@blockhouse.com]
> Sent: Tuesday, December 7, 2010 10:21
> To: fop-users@xmlgraphics.apache.org
> Subject: RE: ValidationException: Document is empty
> 
> That seems a strange thing to do but yes that works fine.  FOP just
> doesn't like html in the xslt.
> Replace all < with < and you get an empty document.
> 
> 
> -Original Message-
> From: Georg Datterl [mailto:georg.datt...@geneon.de]
> Sent: Tuesday, December 07, 2010 10:08 AM
> To: fop-users@xmlgraphics.apache.org
> Subject: AW: ValidationException: Document is empty
> 
> Hi Eric,
> 
> Indeed, the xml is nearly empty, but I'd expect a one-page document
> with one flow and one block inside.
> 
> Regards,
> 
> Georg Datterl
> 
> -- Kontakt --
> 
> Georg Datterl
> 
> Geneon media solutions gmbh
> Gutenstetter Straße 8a
> 90449 Nürnberg
> 
> HRB Nürnberg: 17193
> Geschäftsführer: Yong-Harry Steiert
> 
> Tel.: 0911/36 78 88 - 26
> Fax: 0911/36 78 88 - 20
> 
> www.geneon.de
> 
> Weitere Mitglieder der Willmy MediaGroup:
> 
> IRS Integrated Realization Services GmbH:www.irs-nbg.de
> Willmy PrintMedia GmbH:www.willmy.de
> Willmy Consult & Content GmbH: www.willmycc.de
> 
> 
> -Ursprüngliche Nachricht-
> Von: Eric Douglas [mailto:edoug...@blockhouse.com]
> Gesendet: Dienstag, 7. Dezember 2010 16:05
> An: fop-users@xmlgraphics.apache.org
> Betreff: RE: ValidationException: Document is empty
> 
> That would be because your document is empty.  Am I missing something
> here?  This is the entire text of the xml you attached:
> 
> 
> 
> -Original Message-
> From: Georg Datterl [mailto:georg.datt...@geneon.de]
> Sent: Tuesday, December 07, 2010 9:30 AM
> To: fop-users@xmlgraphics.apache.org
> Subject: AW: ValidationException: Document is empty
> 
> Hi everybody,
> 
> Since nobody yet provided an answer,  let's make it easier to debug.
> Here are a really short xml and a really short and simple
> transformation. The call to fop is
> 
> org.apache.fop.cli.Main -d -xml test/xml/billing.xml -xsl
> test/xsl/billing.xslt -pdf c:\temp\test2.pdf
> 
> Fop version is the latest trunk.
> Error message is: org.apache.fop.fo.ValidationException: Document is
> empty (something might be wrong with your XSLT stylesheet).
> Confused is: me. What could be wrong with my stylesheet?
> 
> (Yes, I know we don't like xml and xslts here, but obviously I can't
> provide anything else)
> 
> Regards,
> 
> Georg Datterl
> 
> -- Kontakt --
> 
> Georg Datterl
> 
> Geneon media solutions gmbh
> Gutenstetter Straße 8a
> 90449 Nürnberg
> 
> HRB Nürnberg: 17193
> Geschäftsführer: Yong-Harry Steiert
> 
> Tel.: 0911/36 78 88 - 26
> Fax: 0911/36 78 88 - 20
> 
> www.geneon.de
> 
> Weitere Mitglieder der Willmy MediaGroup:
> 
> IRS Integrated Realization Services GmbH:www.irs-nbg.de
> Willmy PrintMedia GmbH:www.willmy.de
> Willmy Consult & Content GmbH: www.willmycc.de
> 
> 
> -Ursprüngliche Nachricht-
> Von: Georg Datterl
> Gesendet: Freitag, 3. Dezember 2010 18:22
> An: 'fop-users@xmlgraphics.apache.org'
> Betreff: ValidationException: Document is empty
> 
> Hi folks,
> 
> Another funny question from yours truly. It's been some time since our
> last quiz show and maybe this time we get a new winner. Anyway, here's
> todays problem:
> 
> Given:
> * FOP 1.0, Batik 1.7, xmlgraphics-commons 1.4, xalan 2.7.1, xerxes
> 2.6.2, through maven, but I get the same results with a shortly-before-
> 1.0-release version of trunk and XmlSpy
> * * A simple xml file
> * An equally simple transformation file, one page layout, a few blocks,
> two tables with blocks, two borders.
> Wanted:
> * A simple PDF, one page, no images.
> 
> Problem:
> * When applying the transformation, I get a fo file which I can
> transform into a pdf. Everything works fine.
> * When running the xml and the xslt through fop (following
> ExampleXML2FO), I get the fo file which I can transform into PDF. Looks
> ok.
> * When running the xml and the xslt through fop (following
> ExampleXML2PDF) with MimeConstants.MIME_FOP_AREA_TREE, I get the area
> tree. Looks ok.
> * When running the xml and the xslt through fop (following
> ExampleXML2PDF) with MimeConstants.MIME_PDF, I get
> 
>  [org.apache.fop.fo.FOTreeBuilder] ->
> org.apache.fop.fo.ValidationException: Document is empty (something
> might be wrong with your XSLT stylesheet).
> 
> * When combining ExampleXML2FO and ExampleXML2PDF and using two
> transformations (XML->FO, FO->Area tree), I get a correct Area tree.
> * When combining ExampleXML2FO and ExampleXML2PDF and using two
> transformations (XML->FO, FO->PDF), I get a pdf, which should have one
> PageSequence with one p

RE: Reset Page Number Causes Blank Page to Print

2010-09-14 Thread Amick, Eric
Adding force-page-count="no-force" to the fo:page-sequence element should fix 
the problem.

Eric Amick   Systems Engineer II
Legislative Computer Systems

From: Steffanina, Jeff [mailto:jeff.steffan...@marriott.com]
Sent: Tuesday, September 14, 2010 8:18
To: fop-users@xmlgraphics.apache.org
Subject: Reset Page Number Causes Blank Page to Print



I receive a single, large XML invoice file. A single file contains multiple 
invoices of varying length. When the XML contains only ONE invoice my page 
numbering works fine.  However, when I have multiple invoices in a single file, 
I need to reset the page number back to one (1) for each new invoice.  I do 
this using the following:


  


This causes the page numbering to restart at page one BUT it also causes an 
additonal page to print with a blank body.  How do I prevent the additional 
page from printing?


RE: How to include .fo file into another .fo

2010-09-01 Thread Amick, Eric
Could it be that you need to include a definition for the fo namespace prefix 
in the file you are including? It's not overly clear from the standard if that 
is necessary.

Eric Amick   Systems Engineer II
Legislative Computer Systems

> -Original Message-
> From: Shaki [mailto:shak...@gmail.com]
> Sent: Wednesday, September 1, 2010 12:54
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: How to include .fo file into another .fo
> 
> Chris Bowditch  hotmail.com> writes:
> 
> >
> > You are using relative paths in the reference. Did you try specifying
> a
> > full file URL, e.g. href="file:///c:/mydir/2.fo"
> >
> > Chris
> >
> 
> 
> I tried full file URL, received same error message:
> [Fatal Error] Error attempting to parse XML file
> 
> I think the problem is not with the location of the file but with the
> content of
> file.
> 
> If i change XInclude parse parameter from parse="xml" to parse="text",
> it works
> and includes whole file 2.fo as text.
> 
> 
> 
> -
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


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



RE: Placing the minus sign(-) to the RIGHT side of the number

2010-09-01 Thread Amick, Eric
I believe changing the format string to "##,###.00 ;#.00-"  (note the space 
before the semicolon) should do the trick.

Eric Amick   Systems Engineer II
Legislative Computer Systems

From: Steffanina, Jeff [mailto:jeff.steffan...@marriott.com]
Sent: Wednesday, September 1, 2010 10:03
To: fop-users@xmlgraphics.apache.org
Subject: Placing the minus sign(-) to the RIGHT side of the number

I am using FOP to produce an invoice in a .PDF.   Everything works.
However, when a negative number is produced in my right justified table column, 
the minus sign causes the decimal point to be mis-aligned.
I found the "format-number" function and this addresses the problem.  Now the 
issue is that my system generates a negative value in the form of:
 233.94-
(the minus sign is always to the right of the value)  This cannot be changed.   
When I submit the value to "format-number", it returns a "NaN" error.

select="format-number(inv-amt,'##,###.00;#.00-')"

In summary, I need to produce a column of numbers, right justified, some of the 
values are negative with the minus sign to the right.  At the same time, the 
vertical alignment of the decimal point is required.

Any ideas?

Thanks.

Jeff



RE: Static-content block-container into foreground

2010-08-25 Thread Amick, Eric
I would try it on the block-container in the static-content because that's the 
only object z-index applies to, but again, I have no idea if it will help.

Eric Amick   Systems Engineer II
Legislative Computer Systems

From: Adam Kovacs [mailto:a.kov...@i-docs.com]
Sent: Wednesday, August 25, 2010 2:28
To: fop-users@xmlgraphics.apache.org
Subject: Re: Static-content block-container into foreground

Thanks Eric!

I have tried it in any combination I could, but no effect!
How would you use it?

Any other solution?

Thanks a lot!

Adam

On 24.08.2010, at 18:50, Amick, Eric wrote:


I haven't tried it, but the z-index property might be helpful.

http://www.w3.org/TR/xsl/#z-index

Eric Amick   Systems Engineer II
Legislative Computer Systems

From: Adam Kovacs [mailto:a.kov...@i-docs.com]
Sent: Tuesday, August 24, 2010 11:18
To: fop-users@xmlgraphics.apache.org<mailto:fop-users@xmlgraphics.apache.org>
Subject: Static-content block-container into foreground

Hallo,

 I would need some help with displaying a block-container in a static-content.

I have something like:








and in the flow somewhere

  


The problem is that the image.svg is in foreground and hiding the 
static-content pages.svg and the fo:page-number.
I would need the pages.svg and fo:page-number in foreground!
Is there a possibility to set the block-container of the pages part into 
foreground?

Thanks in advance!

Adam
Using FOP 1.0



RE: Static-content block-container into foreground

2010-08-24 Thread Amick, Eric
I haven't tried it, but the z-index property might be helpful.

http://www.w3.org/TR/xsl/#z-index

Eric Amick   Systems Engineer II
Legislative Computer Systems

From: Adam Kovacs [mailto:a.kov...@i-docs.com]
Sent: Tuesday, August 24, 2010 11:18
To: fop-users@xmlgraphics.apache.org
Subject: Static-content block-container into foreground

Hallo,

 I would need some help with displaying a block-container in a static-content.

I have something like:








and in the flow somewhere

  


The problem is that the image.svg is in foreground and hiding the 
static-content pages.svg and the fo:page-number.
I would need the pages.svg and fo:page-number in foreground!
Is there a possibility to set the block-container of the pages part into 
foreground?

Thanks in advance!

Adam
Using FOP 1.0


RE: Potential memory leak, WeakReferences never collected?

2010-08-24 Thread Amick, Eric
You might also want to try using 1.0; there was a memory leak involving 
WeakReferences that could very well be what you're talking about.

Eric Amick   Systems Engineer II
Legislative Computer Systems

From: Dominik Stadler [mailto:dominik.stad...@dynatrace.com]
Sent: Monday, August 23, 2010 23:21
To: fop-users@xmlgraphics.apache.org
Subject: Potential memory leak, WeakReferences never collected?

Hi,

I did a long-running test with an application which uses FOP to produce PDFs, 
after thousands of produced PDFs I did a memory analysis and found the 
following:

After this the PropertyCaches consume overall aprox. 13MB of memory that is 
never freed again, see also the screenshot from Eclipse MAT attached, it seems 
many of the entries are WeakReferences that were already collected, i.e. the 
"reference" is null, only the WeakReference itself is still there via the 
CachedEntry. Somehow they are not removed from the cache properly. It seems the 
entries should be dereferenced by WeakReference itself via the ReferenceQueue 
and the "cleanSegment" method, is there a known problem with this?

Can I turn it off this cache somehow to test without it and see how much speed 
I would loose when avoiding this leak?

Environment is Windows 7, 64-bit, Java 1.6.0_20, fop-0.95

Thanks... Dominik.



Dominik Stadler, Team Lead
F +43 732 21018 | E 
dominik.stad...@dynatrace.com | Skype: 
stadler.dominik
dynaTrace is Continuous APM >> Monitor. Resolve. Prevent. >>
Web: http://www.dynatrace.com | Blog: 
http://blog.dynatrace.com
Learn about dynaTrace in 2 
minutes | Forrester rates 
dynaTrace "On 
Fire".
 Get your copy of the report 
here.
This e-mail message, including any attachments, is confidential and may contain 
legally privileged information. This message is intended solely for the use of 
the addressee. Use by others is prohibited. Disclosure, copying and 
distribution of this information to third parties is not permitted. If you have 
received this message in error, please notify us immediately and delete it from 
your system. The integrity and security of this message cannot be guaranteed 
and it may be subject to data corruption, interception and unauthorized 
amendment, for which we accept no liability.



RE: Bug in 1.0?

2010-08-19 Thread Amick, Eric
Done.

Eric Amick   Systems Engineer II
Legislative Computer Systems


> -Original Message-
> From: Simon Pepping [mailto:spepp...@leverkruid.eu]
> Sent: Thursday, August 19, 2010 5:38
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: Bug in 1.0?
> 
> On Wed, Aug 18, 2010 at 09:20:48AM -0400, Amick, Eric wrote:
> > In the attached FO and PDF files, I was expecting all the boldface
> > numbers to be aligned, but they're not. Am I misunderstanding, or is
> > this a bug?
> 
> There seems to be an error in the calculation of the line length in
the
> presence of short leaders. In those cases the line is compressed too
> much. This can be seen well if in the case of e.g. 'abcdefg' you omit
> the leaders; then you will get a line of the proper length.
> Please file a bug in bugzilla.
> 
> Simon
> 
> --
> Simon Pepping
> home page: http://www.leverkruid.eu

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



Another example

2010-08-18 Thread Amick, Eric
Here's a simpler example illustrating the problem in 1.0 I reported
earlier.

 

Eric Amick   Systems Engineer II

U.S. House of Representatives  |  Office of the Clerk  |  Legislative
Computer Systems
Office: 202-225-1182

http://clerk.house.gov  


Please consider the environment before printing this email.

 



test.fo
Description: test.fo


test.pdf
Description: test.pdf

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

Bug in 1.0?

2010-08-18 Thread Amick, Eric
In the attached FO and PDF files, I was expecting all the boldface
numbers to be aligned, but they're not. Am I misunderstanding, or is
this a bug?

 

Eric Amick   Systems Engineer II

U.S. House of Representatives  |  Office of the Clerk  |  Legislative
Computer Systems
Office: 202-225-1182

http://clerk.house.gov  


Please consider the environment before printing this email.

 



test.fo
Description: test.fo


test.pdf
Description: test.pdf

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

RE: Why does overflow="hidden" not cut off the content?

2010-08-12 Thread Amick, Eric
You're right about block-container. Furthermore, the standard says
overflow does not apply to table-row and is not inherited, so the
behavior seen originally is correct.

 

Eric Amick   Systems Engineer II

Legislative Computer Systems

 

From: Jonathan Levinson [mailto:jonathan.levin...@intersystems.com] 
Sent: Thursday, August 12, 2010 7:48
To: fop-users@xmlgraphics.apache.org
Subject: RE: Why does overflow="hidden" not cut off the content?

 

I believe overflow="hidden" works on an fo:block-container.  If you
surround the contents of your table-cell with an fo:block-container text
will truncated rather than overflowing into other columns.

 

Best Regards,

Jonathan Levinson

 

From: Dominik Stadler [mailto:dominik.stad...@dynatrace.com] 
Sent: Thursday, August 12, 2010 2:36 AM
To: fop-users@xmlgraphics.apache.org
Subject: Why does overflow="hidden" not cut off the content?

 

Hi, 

 

I am struggling to understand how overflow="hidden" works in FOP. When I
read the description in the FO-standard [1], it states that
overflow="hidden" causes text to be cut off when it overflows the
region.

 

Now when I try to use this in FOP 0.95 (same in 1.0) to get a clean
table-layout in favour of displaying all data, I do not get what I
expect, text is still overflowing both into other columns and also into
the margin-right region. How do I stop FOP from doing that? Or is this a
known Bug/Limitation in FOP?

 

I know that I could add "invisible blanks" at certain places to make it
wrap around here, however these are automatically generated XSL-FO files
where I can not fully control the incoming data, so for some cases I
would rather really actually cut off the data.

 

The XSL-FO below shows my latest attempt. I get the following warnings
when running FOP, which is expected here as things overflow. The
attached test.pdf shows the result with fop-0.95, I am going to try
fop-1.0 now. 

 

12.08.2010 08:24:29
org.apache.fop.layoutmgr.inline.LineLayoutManager$LineBreakingAlgorithm
updateData2

WARNUNG: Line 5 of a paragraph overflows the available area by more than
50 points. (fo:block, location: 33/44)

12.08.2010 08:24:30
org.apache.fop.layoutmgr.inline.LineLayoutManager$LineBreakingAlgorithm
updateData2

WARNUNG: Line 1 of a paragraph overflows the available area by more than
50 points. (fo:block, location: 33/44)

12.08.2010 08:24:30
org.apache.fop.layoutmgr.inline.LineLayoutManager$LineBreakingAlgorithm
updateData2

WARNUNG: Line 8 of a paragraph overflows the available area by more than
50 points. (fo:block, location: 44/44)

12.08.2010 08:24:30
org.apache.fop.layoutmgr.inline.LineLayoutManager$LineBreakingAlgorithm
updateData2

WARNUNG: Line 3 of a paragraph overflows the available area by 31268mpt.
(fo:block, location: 44/44)

12.08.2010 08:24:30
org.apache.fop.layoutmgr.inline.LineLayoutManager$LineBreakingAlgorithm
updateData2

WARNUNG: Line 1 of a paragraph overflows the available area by 9644mpt.
(fo:block, location: 55/44)

12.08.2010 08:24:30
org.apache.fop.layoutmgr.inline.LineLayoutManager$LineBreakingAlgorithm
updateData2

WARNUNG: Line 5 of a paragraph overflows the available area by more than
50 points. (fo:block, location: 66/44)

12.08.2010 08:24:30
org.apache.fop.layoutmgr.inline.LineLayoutManager$LineBreakingAlgorithm
updateData2

WARNUNG: Line 1 of a paragraph overflows the available area by more than
50 points. (fo:block, location: 66/44)

 

[1] http://www.w3.org/TR/xsl/#overflow

 

Thanks... Dominik

 



http://www.w3.org/1999/XSL/Format";
xmlns:fox="http://xmlgraphics.apache.org/fop/extensions";>

  



  



  

  



  









  



  Content





  String





  Number



  





  



  One long argument without
blanks





  types=page&spaces=MYTHING&maxResults=15&ti
tle=%5Bsomething+sitting%5D+Pages+Feed&someotherthing=false&os&#
8203;_authType=basic





  3249,69



  

  



  One long argument with
"invisible blanks" to get some hyphenation





  types​=​page&spaces​=​MYTH
ING&maxResults​=15&title​=%5Bsomething+sitting%5D+Pa
ges+Feed&someotherthing=false&os​_authType=basic





  3249,69



  

  



  Some short text





  os_authType=basic





  2924,98



  

  



  Some long text with
background set to white to show cutting off in this case





  types=page&spaces=MYTHING&maxResults=15&ti
tle=%5Bsomething+sitting%5D+Pages+Feed&someotherthing=

RE: simple-page-master related

2010-07-28 Thread Amick, Eric
Assuming the "long text" can be generated separately from the rest of
the text, use two page-sequences--the first doing just the "long text"
and the second doing the rest.

Eric Amick   Systems Engineer II
Legislative Computer Systems


> -Original Message-
> From: Red Light [mailto:skydelt...@yahoo.com]
> Sent: Wednesday, July 28, 2010 11:40
> To: fop-users@xmlgraphics.apache.org
> Subject: fo:simple-page-master related
> 
> Hi ,
> (Sorry if the Subject of my  mail is disleading ...)
> i'am using Apache fop 0.95 to generate my pdf report, i got a pdf that
> look like:
> 
> 
> 
> --
>   |HEADER |
>   |   |
>--
>   | PARAGRAPH INTRODUCING |
>   |   |
>--
>   | aLONN |
>   |   |
>   |   |
>   |   |
>   |   |
>   |   |
>   |   |
>   |   |
>   |   |
>   | tEXT  |
>   |   |
>--
> 
>the problem is that the "long text" can  break the page
>so in the next page i'm gonna have page that look like
> 
> 
> --
>   | rest of the longg |
>   |   |
>   |   |
>   |   |
>   |   |
>   |   |
>   |   |
>   |   |
>   |   |
>   | tEXT  |
>   |   |
>--
> 
>and so on that's the default behavior
> 
>here is my  simple-page-master
> 
>  width="21.59cm" margin-top="1cm" margin-bottom="1cm" margin-
> left="1.9cm" margin-right="1.9cm">
> 
> 
> 
> 
> 
> 
> Now i'm looking in a kind of different behavior that the
> default one, i want to the rest of the page (except the first one) ,
> rather be displayed like that:
> 
>--
>   |HEADER |
>   |   |
>--
>   | rest of the longg |
>   |   |
>   |   |
>   |   |
>   |   |
>   |   |
>   |   |
>   |   |
>   |   |
>   | tEXT  |
>   |   |
>--
> 
> 
>   now i can not do this using fo:simple-page-master  , because my
>   master-name="cover" sometime got onepage when the text is short  and
> some other could  have 5 page , how to do this plz ?
> 
> 
> and thanks
> 
> 
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


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



RE: How to Get Borders to Work

2010-07-06 Thread Amick, Eric
The standard has width defaulting to medium and style to none; it leaves
the color up to the user agent. You could have FOP default color to
black, I suppose, but some user will inevitably run into problems when
porting the stuff to another FO processor.

Eric Amick   Systems Engineer II
Legislative Computer Systems

> -Original Message-
> From: Tom Browder [mailto:tom.brow...@gmail.com]
> Sent: Saturday, July 3, 2010 9:19
> To: Craig Ringer
> Cc: fop-users@xmlgraphics.apache.org
> Subject: Re: How to Get Borders to Work
> 
> On Sat, Jul 3, 2010 at 07:20, Craig Ringer
>  wrote:
> ...
> > If fop "helped" users by (say) assuming border color = foreground
> color
> > if no color was given, and the standard specifies that no color =
> > transparent if not specified, then the same XSL-FO would render with
> > missing borders in other processors.
> 
> True but I think assuming thin, black, solid would be a reasonable set
> of assumptions.
> 
> -Tom
> 
> -
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


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



RE: Box around multi-column text?

2010-06-17 Thread Amick, Eric
That looks very promising. Although I don't need the box to run along the 
margins of the entire page, it appears I should be able to specify a nonzero 
value for top and get what I need. Thanks for the help.

Eric Amick   Systems Engineer II
Legislative Computer Systems


> -Original Message-
> From: Vincent Hennebert [mailto:vhenneb...@gmail.com]
> Sent: Thursday, June 17, 2010 7:15
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: Box around multi-column text?
> 
> Hi Eric,
> 
> Sorry for the late reply. You may be able to achieve something by using
> absolutely positioned block-containers in the region-before. Have a
> look at the attached FO file.
> 
> HTH,
> Vincent
> 
> 
> Amick, Eric wrote:
> > That's very close to what I need; the problem is that I want the box
> > to have a straight line across the bottom, and that doesn't happen if
> > the columns are not all the same size. Even putting an empty block
> > with span="all" afterwards doesn't absolutely guarantee that.
> >
> > Eric Amick   Systems Engineer II
> > Legislative Computer Systems
> >
> >> -Original Message-
> >> From: bonekrusher [mailto:djs...@yahoo.com]
> >> Sent: Sunday, June 6, 2010 14:58
> >> To: fop-users@xmlgraphics.apache.org
> >> Subject: Re: Box around multi-column text?
> >>
> >>
> >> Hi,
> >>
> >> You can put a border on your fo:block...
> >>
> >>
> >>
> >> Amick, Eric wrote:
> >>> I'm sending this question here on the off chance there is something
> >>> peculiar to FOP in the solution. I am trying to have some flowing
> >>> multi-column text that has a box around the entire text, i.e., on
> > the
> >>> before-, after-, start-, and end-edges. Is this even possible in
> FO?
> >>>
> >>>
> >>>
> >>> Eric Amick   Systems Engineer II
> >>>
> >>> U.S. House of Representatives  |  Office of the Clerk  |
> > Legislative
> >>> Computer Systems
> >>> Office: 202-225-1182
> >>>
> >>> http://clerk.house.gov <http://clerk.house.gov/>
> >>>
> >>>
> >>> Please consider the environment before printing this email.
> >>>
> >>>
> >>>
> >>>
> >>>
> >> --
> >> View this message in context: http://old.nabble.com/Box-around-
> multi-
> >> column-text--tp28783284p28793179.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
> >
> >
> > -
> > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> > For additional commands, e-mail: fop-users-
> h...@xmlgraphics.apache.org
> >


RE: Box around multi-column text?

2010-06-07 Thread Amick, Eric
That's very close to what I need; the problem is that I want the box to
have a straight line across the bottom, and that doesn't happen if the
columns are not all the same size. Even putting an empty block with
span="all" afterwards doesn't absolutely guarantee that.

Eric Amick   Systems Engineer II
Legislative Computer Systems

> -Original Message-
> From: bonekrusher [mailto:djs...@yahoo.com]
> Sent: Sunday, June 6, 2010 14:58
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: Box around multi-column text?
> 
> 
> Hi,
> 
> You can put a border on your fo:block...
> 
> 
> 
> Amick, Eric wrote:
> >
> > I'm sending this question here on the off chance there is something
> > peculiar to FOP in the solution. I am trying to have some flowing
> > multi-column text that has a box around the entire text, i.e., on
the
> > before-, after-, start-, and end-edges. Is this even possible in FO?
> >
> >
> >
> > Eric Amick   Systems Engineer II
> >
> > U.S. House of Representatives  |  Office of the Clerk  |
Legislative
> > Computer Systems
> > Office: 202-225-1182
> >
> > http://clerk.house.gov <http://clerk.house.gov/>
> >
> >
> > Please consider the environment before printing this email.
> >
> >
> >
> >
> >
> 
> --
> View this message in context: http://old.nabble.com/Box-around-multi-
> column-text--tp28783284p28793179.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


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



Box around multi-column text?

2010-06-04 Thread Amick, Eric
I'm sending this question here on the off chance there is something
peculiar to FOP in the solution. I am trying to have some flowing
multi-column text that has a box around the entire text, i.e., on the
before-, after-, start-, and end-edges. Is this even possible in FO?

 

Eric Amick   Systems Engineer II

U.S. House of Representatives  |  Office of the Clerk  |  Legislative
Computer Systems
Office: 202-225-1182

http://clerk.house.gov  


Please consider the environment before printing this email.

 



RE: keep-together.within-column with content > 1 page

2010-05-25 Thread Amick, Eric
Are you setting just keep-together.within-column? In my experience, the
unqualified keep-together (and unqualified keeps in general, for that
matter) rarely works successfully.

Eric Amick   Systems Engineer II
Legislative Computer Systems

> -Original Message-
> From: Brad Smith [mailto:usernamenum...@gmail.com]
> Sent: Tuesday, May 25, 2010 15:03
> To: fop-users@xmlgraphics.apache.org
> Subject: keep-together.within-column with content > 1 page
> 
> Hello,
> 
> I have certain elements in my document which I would like to keep
> together across pages as much as possible. I've been using the
> keep-together (and keep-together.within-column) property for this, and
> usually it works as expected: if printing the item on the current page
> would cause it to spill over, a page-break is inserted before it.
> Great. However, there are problems if the item's content is greater
> than one page in length. In that case, it *still* stays on the same
> page, even though that means all the content writing over its self,
> resulting in gibberish.
> 
> Is there a way to have a middle-ground? What I really want is "start
> on a fresh page if it will keep the item from breaking, then keep
> together /if possible/".
> 
> Thanks in advance for any help people can offer.
> --Brad
> 
> -
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


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



RE: Problem with page masters

2010-05-11 Thread Amick, Eric
That should be fo:page-sequence-master.

 

Eric Amick   Systems Engineer II

Legislative Computer Systems

 

From: Brian Trezise [mailto:brian.trez...@intellidata.net] 
Sent: Tuesday, May 11, 2010 11:59
To: fop-users@xmlgraphics.apache.org
Subject: Problem with page masters

 

Ok, so I'm using the following xsl-fo to define my pages:





 


 


 






 






 

>From what I can find in the xsl-fo spec, that should work.  However, I'm
getting the following exception when I try to run the transformation:

 

(Location of error unknown)org.apache.fop.fo.ValidationException:
Error(Unknown location): fo:repeatable-page-master-reference is not a
valid child element of page-sequence-master.

 

Am I doing something wrong or is this a bug?  The FOP compliance table
lists these tags as supported?

Thanks,

-

Brian Trezise

IntelliData, Inc.

Staff Software Engineer

brian.trez...@intellidata.net

t: 720.524.4864

m: 303.809.9782

 



RE: javax.xml.transform.TransformerException: The entity name must immediately follow the '&' in the entity reference.

2010-04-08 Thread Amick, Eric
> 223c: &223C;

Presumably you meant ∼

Eric Amick   Systems Engineer II
Legislative Computer Systems


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



RE: Does FOP 0.95 supports Chinese Fonts?

2010-04-05 Thread Amick, Eric
I'm not sure I understand the question. The error has nothing to do with
the font-most characters in the range � to  are not valid in
XML. I suspect you are using the wrong value to represent the character
you're trying to print.

 

Eric Amick   Systems Engineer II

Legislative Computer Systems

 

From: Charanpreet Arora [mailto:car...@apple.com] 
Sent: Monday, April 05, 2010 14:30
To: fop-users@xmlgraphics.apache.org
Subject: Does FOP 0.95 supports Chinese Fonts?

 

Dear All,

 

I'm getting the following error while trying to generate the PDF file
containing Simplified Chinese Characters (from uming.ttf):

 

java.lang.RuntimeException: Character reference "" is an invalid
XML character.

 

Please note that I have generated the metrics file (uming.xml) for the
same and configured it through fopConfiguration.xml before running xslt
through FOP.

 

Can you please guide me if I'm doing anything wrong or I'll be able to
generate Chinese file at all using FOP 0.95?

 

Thanks & Regards,

Charanpreet Arora

Apple POS Team

 





 



RE: Is it possible to prevent line breaks on '/'?

2010-02-02 Thread Amick, Eric
I haven't tried it, but I would expect

/mnt/install

to do what you need.

Eric Amick   Systems Engineer II
Legislative Computer Systems


> -Original Message-
> From: Brad Smith [mailto:usernamenum...@gmail.com]
> Sent: Tuesday, February 02, 2010 9:54
> To: fop-users@xmlgraphics.apache.org
> Subject: Is it possible to prevent line breaks on '/'?
> 
> Is it possible to prevent fop from breaking lines on certain
> characters? For example, I've got a few places where lines break like
> this:
> 
> """
> ...Instead list the contents of /
> mnt/install and...
> """
> 
> That looks pretty terrible, and it would be much better if all of
> "/mnt/install" were bumped to the next line instead. How can that be
> done?
> 
> --Brad
> 
> -
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


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



RE: Page numbering question

2010-02-02 Thread Amick, Eric
I believe you'll need to put each section in its own page-sequence; you can 
then use initial-page-number to start the numbering over in each section. Since 
the TOC page numbers use a different number format, the TOC's will need to be 
in separate page-sequences as well. If FOP implemented XSL 1.1, you could use 
fo:folio-prefix to get the 1-, 2-, etc.; as it is, you'll need to do that 
yourself wherever you put your fo:page-number.


Eric Amick   Systems Engineer II
Legislative Computer Systems

> -Original Message-
> From: Mario Madunic [mailto:mario_madu...@newflyer.com]
> Sent: Tuesday, February 02, 2010 8:29
> To: fop-users@xmlgraphics.apache.org
> Subject: Page numbering question
> 
> I need to restart page numbering for each section of our manuals.
> Example, section one's page numbering would be 1-2, 1-3 ... 1-20 and
> section two's would be 2-2, 2-3 ... 2-20. Now to add one more to it.
> Each section begins with a toc and its numbering is in roman numerals
> with the section number dash in front, ie 1-iii, 2-iii. How would this
> be done?
> 
> Marijan (Mario) Madunic
> Publishing Specialist
> New Flyer Industries


RE: page master with no flow text in region-body

2009-11-16 Thread Amick, Eric
In standard FO, you should be able to just give the region-body a
different region-name and have static-content write to the region-body.
FOP might not like that, unfortunately, if I remember correctly.

 

Eric Amick   Systems Engineer II

Legislative Computer Systems

 

From: David Gerdt [mailto:dge...@bju.edu] 
Sent: Monday, November 16, 2009 15:11
To: fop-users@xmlgraphics.apache.org
Subject: page master with no flow text in region-body

 

Is it possible to create a page-master where the region-body will not
allow any of the flow text to come in? I want to create a document that
will be duplex printed where the front of the page (odd pages) will be
dynamic and the back of the page (even pages) will be a static body of
text, the same on every even page.

 

My thought was to use conditional-page-masters for odd and even pages
where the margins of the even page would not allow any text to be
written in the region-body and use the region-before to include my
static text. For instance, I supposed that if the region-body area were
only 1mm, no dynamic text would fit and only the static content would be
displayed.

 

This apparently doesn't work. The region-body seems to always contain at
least one line of text.

 

I know I could probably use the IF to do this, but does anyone know of a
way to do this in straight XSL-FO?



RE: Suppress Hyphenation inside a block

2009-10-19 Thread Amick, Eric
> I'm working with Fop embedded in a CMS for Generating PDFs. Inside my
> PDF
> are blocks, where the text is justified and hyphenation is enabled. In
> some
> cases I need to suppress hyphenation for example in links. I tried:
> 
>  hyphenation-push-character-count="2"
> hyphenation-remain-character-count="2">text. hyphenate="false">link
> text
> 

Hyphenate applies only to fo:block and fo:character. Sorry.

Eric Amick   Systems Engineer II
Legislative Computer Systems


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



RE: AW: Page Breaks in Table

2009-10-15 Thread Amick, Eric
Where did you put it? It should look something like this:



page


The  must appear before any child element other than
.
I know the technique is sound because I use it myself.

Eric Amick   Systems Engineer II
Legislative Computer Systems


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



RE: AW: Page Breaks in Table

2009-10-15 Thread Amick, Eric
May I suggest, instead of generating an empty block, that you add the
break-before attribute to the table element instead?


page


Put that right under the table start tag.


Eric Amick   Systems Engineer II
Legislative Computer Systems


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



RE: AW: Page Breaks in Table

2009-10-15 Thread Amick, Eric
> Hello Georg,
> 
> i purposely put break-after attribute because i wanted each and every
> table
> on a different page which works good but when it comes to the last
> record it
> adds a page break there too :-(.
> is there a way i could resolve this.

Use break-before instead; that says to ensure every table starts on a new page. 
(Note that the first table will *not* have a break before it if it already 
starts the page.) Your break-after says to ensure a new page begins after every 
table.

Eric Amick   Systems Engineer II
Legislative Computer Systems




RE: Page Numbers

2009-10-09 Thread Amick, Eric
> Hello All,
> 
> I need to have the format of the doc according to the attached file.
> Need to knwo if it is possible to have no page numbers on the second
> page of
> the document and then start from the third page as in the attached
> document.
> Is this possible.

You can do something like this:






Define two appropriate simple-page-masters called no-page-numbers and
page-numbers, and you're all set.

Eric Amick   Systems Engineer II
Legislative Computer Systems



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



RE: Different content in the Header on every page

2009-09-29 Thread Amick, Eric
This sounds like a job for  and its companion
. (There's also  for table
headers and footers, though it is not implemented in FOP yet.)

http://www.w3.org/TR/xsl/#fo_marker
http://www.w3.org/TR/xsl/#fo_retrieve-marker


Eric Amick   Systems Engineer II
Legislative Computer Systems


-Original Message-
From: shrutin [mailto:shru...@mastek.com] 
Sent: Tuesday, September 29, 2009 9:41
To: fop-users@xmlgraphics.apache.org
Subject: Different content in the Header on every page


Hello All,

Need to know how would i get to have different headers on every page
where
the header content to be displayed changes according to the data in the
region-body.


-- 
View this message in context:
http://www.nabble.com/Different-content-in-the-Header-on-every-page-tp25
663272p25663272.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


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



RE: Confusion about border-collapse

2009-09-29 Thread Amick, Eric
I did realize that border-collapse was inherited, but I just now figured out 
where the inherited value was coming from. I missed it somehow when I was 
looking earlier; FOP is working correctly. Nonetheless, maybe we should suggest 
to W3C's FO working group to make it clearer in border-collapse's description 
that the default value described in CSS is different and should be ignored.

Eric Amick   Systems Engineer II
Legislative Computer Systems

-Original Message-
From: Vincent Hennebert [mailto:vhenneb...@gmail.com] 
Sent: Tuesday, September 29, 2009 5:58
To: fop-users@xmlgraphics.apache.org
Subject: Re: Confusion about border-collapse

Hi Eric,

Amick, Eric wrote:
> The border-collapse property is listed as having an initial value of
> "collapse" in the spec, but the description refers to CSS, where the
> default value is "separate". I also encountered a case where FOP
> apparently acted as if the default value was "separate"; I need to
> create a smaller test case before submitting a bug report. Has anyone
> run across this behavior in 0.95?

FOP uses ‘collapse’ as the default value. Note that border-collapse is
an inherited property; So if you set it to ‘separate’ on an enclosing
table and leave it unspecified on an inner table, then it will be set to
the inherited ‘separate’ value.

If the output is still not what you would expect, please post a small FO
file showing the problem.


Thanks,
Vincent

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



Confusion about border-collapse

2009-09-28 Thread Amick, Eric
The border-collapse property is listed as having an initial value of
"collapse" in the spec, but the description refers to CSS, where the
default value is "separate". I also encountered a case where FOP
apparently acted as if the default value was "separate"; I need to
create a smaller test case before submitting a bug report. Has anyone
run across this behavior in 0.95?

 

Eric Amick   Systems Engineer II

U.S. House of Representatives  |  Office of the Clerk  |  Legislative
Computer Systems
Office: 202-225-1182

http://clerk.house.gov  


Please consider the environment before printing this email.

 



provisional-distance-between-starts with a percentage

2009-09-11 Thread Amick, Eric
The spec suggests that percentages are legal in
provisional-distance-between-starts, but FOP apparently doesn't like it.

 

Try the following FO fragment:

 











foo





bar







   

  

 

When I try that, the list-item-body winds up on top of the
list-item-label, as if body-start() returns 0. I'm probably missing
something, but I'm not sure what.

 

Eric Amick

LCS

Office of the Clerk

 



RE: reference-orientation and tables (FOP 0.95)

2009-09-04 Thread Amick, Eric
All of the table-cells have display-align="center", so I'm not surprised
it's coming out that way. Am I missing something?

Eric Amick
LCS
Office of the Clerk

-Original Message-
From: bonekrusher [mailto:djs...@yahoo.com] 
Sent: Friday, September 04, 2009 9:33
To: fop-users@xmlgraphics.apache.org
Subject: reference-orientation and tables (FOP 0.95)


Hi, please see attached example. I have a table with in a block
container
that is rotated 90 degrees. I am having a problem with the cell
alignment.
If you look at the pdf output, my cells are centered. I need them to be
aligned bottom (the word "test" should start at the bottom of the cell) 

Any suggestions on how to resolve this?

http://www.nabble.com/file/p25294461/example.fo example.fo 
http://www.nabble.com/file/p25294461/example.png example.png 

Thanks 
-- 
View this message in context:
http://www.nabble.com/reference-orientation-and-tables-%28FOP-0.95%29-tp
25294461p25294461.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


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



Tables and multi-column pages

2009-08-12 Thread Amick, Eric
In FOP 0.95, I believe I've found a strange bug relating to tables on
multi-column pages. I have a page that needs to have a mix of tables and
two-column data, so I figured I would do the table spanning all the
columns. I discovered that when the data fits in two pages in the
page-sequence, everything looks fine, but when more than two pages are
required, the output goes awry; it appears to be putting the third
page's data into the second column of the second page. I've attached
some FO files to illustrate the problem.
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 


badfile.fo
Description: badfile.fo


goodfile.fo
Description: goodfile.fo

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

RE: Superscripts at beginning of line not working

2009-08-04 Thread Amick, Eric
I don't have 0.20.5, but have you tried putting a zero-width space
(​) in front of the inline? It can't make it any worse. 


Eric Amick
Legislative Computer Systems
Office of the Clerk

-Original Message-
From: adogg [mailto:andrew_stee...@hotmail.com] 
Sent: Monday, August 3, 2009 6:25
To: fop-users@xmlgraphics.apache.org
Subject: Superscripts at beginning of line not working


I'm using FOP 0.20.5 (it's not possible for me to upgrade) and I'm
having a problem with superscripting text when it falls at the beginning
of a line. 
I use  to do the superscript, but when
the superscripted character is the first one in a line, the character is
not "elevated" above the others.  

It's pretty simple to recreate - here are the fo and pdf files:

http://cid-ecea845b36037b38.skydrive.live.com/self.aspx/.Public/fo-super
script-problem.xml
http://cid-ecea845b36037b38.skydrive.live.com/self.aspx/.Public/output.p
df

I can't believe that no one has come across this before, but I searched
Google and the mailing lists and haven't seen anything about it.

Has anyone seen it or done a workaround for it?  Maybe another way to do
superscripts?


--
View this message in context:
http://www.nabble.com/Superscripts-at-beginning-of-line-not-working-tp24
788408p24788408.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



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



RE: variable start-indent property

2009-07-31 Thread Amick, Eric
Since count() is an XPath function, you could also do 

   
 
   

or even (more readably)

   
 
   Eric Amick

Legislative Computer Systems
Office of the Clerk

-Original Message-
From: Andreas Delmelle [mailto:andreas.delme...@telenet.be] 
Sent: Friday, July 31, 2009 4:55
To: fop-users@xmlgraphics.apache.org
Subject: Re: variable start-indent property

On 30 Jul 2009, at 16:59, Alvaro Moraleda wrote:

Hi

> I'm using XSLT and FOP to convert XML to PDF. I need to indent a text 
> block depending on the number of initial tabs. Example:
>
> --- XML ---
> hello world!!
>
>
> --- XSLT ---
>  ...
> 

It depends a bit on the exact format of the input. If you have:

hello world!

Then all you would need to achieve the desired result is something like:


   
 
   mm
 
 
   



HTH!

Regards

Andreas

Andreas Delmelle
e-mail: andreas.delmelle.AT.telenet.be
Skype: adlm0608
Jabber: mandr...@jabber.org


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


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



text-transform and markers

2009-07-29 Thread Amick, Eric
Using FOP 0.95, I ran across what appears to be a bug. The attached
sample FO file uses text-transform around a retrieve-marker object in an
attempt to get the text to display in all uppercase. (I know
text-transform is obsolescent, but it still exists for now, and I find
it useful at times.) According to the spec, the text-transform should be
applied to the text "all caps", but it comes out in its original case.
The font-weight property, on the other hand,  is applied correctly to
the "in bold" text. On the second page, I tried using text-transform on
the block inside the marker, but it didn't work any better. Note that
text-transform works fine when it is not used in conjunction with marker
or retrieve-marker, as illustrated on both pages. Am I missing
something?
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 


bugdemo.fo
Description: bugdemo.fo

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

RE: page-number+1 in page-footer

2009-06-18 Thread Amick, Eric
>For the surrounding dashes, XSL-FO 1.1 offers fo:folio-prefix and
fo:folio-
>suffix[**] to decorate all fo:page-numbers or fo:page-number- citations
in a 
>page-sequence. FOP, unfortunately, does not yet support those, so for
the moment, 
>you'll have to add the prefix and suffix manually (by means of plain
text, 
>fo:inlines or fo:wrappers).

>[*] http://www.w3.org/TR/xsl/#initial-page-number
>[**] http://www.w3.org/TR/xsl/#fo_folio-prefix 

I believe you can use the format property on fo:page-number as well; it
would be format="-1-".

Eric Amick
Legislative Computer Systems
Office of the Clerk




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



RE: Strange bug in 0.95?

2009-06-01 Thread Amick, Eric
Fair enough. It still seems like a lot of work (and not exactly
intuitive) just to draw a box along the margins of a page. I can't help
wondering why they disallowed borders on region-body, for instance.


Eric Amick
Legislative Computer Systems
Office of the Clerk

-Original Message-
From: Vincent Hennebert [mailto:vhenneb...@gmail.com] 
Sent: Monday, June 1, 2009 10:23
To: fop-users@xmlgraphics.apache.org
Subject: Re: Strange bug in 0.95?

Hi Eric,

Amick, Eric wrote:
> Strange. Is there any reason there is apparently no property to 
> specify the height of the allocation-rectangle for a block-area? It 
> seems like an extremely useful thing to have.

Indeed I don't think there is such a property. Whether it would be
'extremely' useful might be debatable though. There is a semi-automatic
way to achieve what you want:
 Eric Amick
> Legislative Computer Systems
> Office of the Clerk
> 
> -Original Message-
> From: Vincent Hennebert [mailto:vhenneb...@gmail.com]
> Sent: Monday, June 1, 2009 7:00
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: Strange bug in 0.95?
> 
> Hi,
> 
> Andreas Delmelle wrote:
>> On 29 May 2009, at 18:31, Amick, Eric wrote:
>>
>>
>> Hi Eric
>>
>>> I have the following simple FO:
>>>
>>> 
>>> I was expecting the border to be the same distance from every edge 
>>> of
> 
>>> the page, but the resulting PDF has the side and bottom edges of the

>>> box closer to the edges of the page; in fact, the bottom edge of the

>>> box is off the page. If I remove the padding, the border appears as 
>>> I
> 
>>> was expecting. It appears that the padding is causing the height and

>>> width of the block-container to increase instead of reducing the 
>>> available area inside the block-container's border. Am I missing 
>>> something, or is this a bug?
>> Definitely a bug. Apparently, it only occurs for relative-positioned 
>> block-containers. If you position it absolutely (position="absolute"
>> top="0" left="0"), you also get the expected output...
> 
> This is /not/ a bug. The 'height' property specify the /content 
> height/ of the block [1] i.e., excluding the border- and 
> padding-rectangles. If its value is a percentage it refers to the 
> height of the nearest ancestor reference area, loosely speaking here 
> the height of the region-body.
> 
> In the block-progression-direction, areas are stacked from border 
> rectangle to border-rectangle. So here, the top of the border 
> rectangle coincides with the top of the region-body, and this is why 
> you get a warning that the block doesn't fit in the page. In the 
> inline-progression-direction, areas are stacked from 
> /content-rectangle/ to content-rectangle, that is, without taking 
> border and padding into account. So if no indent is specified on the 
> block, the border- and padding-rectangle effectively stick out into 
> the margins. This is all explained in official terms in section 4 of 
> the Recommendation [2] (more specifically section 4.2, 4.4 and 4.5).
> 
> If the block is absolutely positioned, the 'top' and 'left' properties

> specify the positioning of the /content-rectangle/, so if set to 0 the

> top-left corner of the content-rectangle coincides with the top-left 
> corner of the region-body.
> 
> So in both cases FOP's behaviour is perfectly normal.
> 
> [1] http://www.w3.org/TR/xsl11/#block-progression-dimension
> [2] http://www.w3.org/TR/xsl11/#area_model
> 
> 
>> Please log a report for this in Bugzilla, so we don't lose track of
> it.
>>
>> Thanks!
>>
>> Andreas
> 
> 
> Hope this clarifies the topic,
> Vincent

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


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



RE: Strange bug in 0.95?

2009-06-01 Thread Amick, Eric
Strange. Is there any reason there is apparently no property to specify
the height of the allocation-rectangle for a block-area? It seems like
an extremely useful thing to have.


Eric Amick
Legislative Computer Systems
Office of the Clerk

-Original Message-
From: Vincent Hennebert [mailto:vhenneb...@gmail.com] 
Sent: Monday, June 1, 2009 7:00
To: fop-users@xmlgraphics.apache.org
Subject: Re: Strange bug in 0.95?

Hi,

Andreas Delmelle wrote:
> On 29 May 2009, at 18:31, Amick, Eric wrote:
> 
> 
> Hi Eric
> 
>> I have the following simple FO:
>>
>> 
>> I was expecting the border to be the same distance from every edge of

>> the page, but the resulting PDF has the side and bottom edges of the 
>> box closer to the edges of the page; in fact, the bottom edge of the 
>> box is off the page. If I remove the padding, the border appears as I

>> was expecting. It appears that the padding is causing the height and 
>> width of the block-container to increase instead of reducing the 
>> available area inside the block-container's border. Am I missing 
>> something, or is this a bug?
> 
> Definitely a bug. Apparently, it only occurs for relative-positioned 
> block-containers. If you position it absolutely (position="absolute"
> top="0" left="0"), you also get the expected output...

This is /not/ a bug. The 'height' property specify the /content height/
of the block [1] i.e., excluding the border- and padding-rectangles. If
its value is a percentage it refers to the height of the nearest
ancestor reference area, loosely speaking here the height of the
region-body.

In the block-progression-direction, areas are stacked from border
rectangle to border-rectangle. So here, the top of the border rectangle
coincides with the top of the region-body, and this is why you get a
warning that the block doesn't fit in the page. In the
inline-progression-direction, areas are stacked from /content-rectangle/
to content-rectangle, that is, without taking border and padding into
account. So if no indent is specified on the block, the border- and
padding-rectangle effectively stick out into the margins. This is all
explained in official terms in section 4 of the Recommendation [2] (more
specifically section 4.2, 4.4 and 4.5).

If the block is absolutely positioned, the 'top' and 'left' properties
specify the positioning of the /content-rectangle/, so if set to 0 the
top-left corner of the content-rectangle coincides with the top-left
corner of the region-body.

So in both cases FOP's behaviour is perfectly normal.

[1] http://www.w3.org/TR/xsl11/#block-progression-dimension
[2] http://www.w3.org/TR/xsl11/#area_model


> Please log a report for this in Bugzilla, so we don't lose track of
it.
> 
> 
> Thanks!
> 
> Andreas


Hope this clarifies the topic,
Vincent

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


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



Strange bug in 0.95?

2009-05-29 Thread Amick, Eric
I have the following simple FO:
 
http://www.w3.org/1999/XSL/Format"; font-family="Times">








Hello




 
 
 
I was expecting the border to be the same distance from every edge of
the page, but the resulting PDF has the side and bottom edges of the box
closer to the edges of the page; in fact, the bottom edge of the box is
off the page. If I remove the padding, the border appears as I was
expecting. It appears that the padding is causing the height and width
of the block-container to increase instead of reducing the available
area inside the block-container's border. Am I missing something, or is
this a bug?
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 


RE: table, keep-with-*, placing of page breaks

2009-04-20 Thread Amick, Eric
Have you tried putting number-rows-spanned="2" on the table-cell as
well? That should avoid the need for the keep altogether, I think.


Eric Amick
Legislative Computer Systems
Office of the Clerk

-Original Message-
From: Artur Zinatullin [mailto:ar...@webmedia.ee] 
Sent: Friday, April 17, 2009 8:42
To: fop-users@xmlgraphics.apache.org
Subject: fo:table, keep-with-*, placing of page breaks

Hello!

I have a problem with fo:table. FOP version 0.95

I am presenting certain objects in line rows, so there is two lines per
object.
First line has some data on it, the other one is blank space for uset to
write the nothes regarding given object like 

Notes



My intention is to keep the two rows always together on one page.

So, I put, naturally, keep-with-next="always" on first fo:table-row or
keep-with-previous="always"on the second.

That does the trick, but the pagination starts acting wierd.

It breaks page_before_the_last after just a fiew rows so, the last page
is always filled top to bottom.

That doesn't look good at all.

I'd apreciate some workaround.

I've done some googling and some research on fop bugzilla.

https://issues.apache.org/bugzilla/show_bug.cgi?id=44920 and
http://xmlgraphics.apache.org/fop/compliance.html#fo-property-section
made me no happy.

Surrounding my pairs into blind table cells made no good either.

Thanks!


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



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



RE: FOP Extensions

2009-04-09 Thread Amick, Eric
If you go to the barcode4j home page, you'll find a download link there.
I've never installed this myself, so I'm not sure how much more help I
can be.
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 



From: Rich [mailto:r...@sbcma.com] 
Sent: Thursday, April 9, 2009 11:02
To: fop-users@xmlgraphics.apache.org
Subject: Re: FOP Extensions


Hello Erik,
 
Thank you for your response.  I have some follow-up questions.
 
 
The instructions in the link below state the following ...
 

To setup the barcode extension, do the following:

*   Add barcode4j.jar and barcode4j-fop-ext.jar to the classpath
<http://barcode4j.sourceforge.net/faq.html#classpath> . 
*   Alternatively, you can use the combined JAR:
barcode4j-fop-ext-complete.jar which combines both Barcode4J and the FOP
extension. 

 
Where can I find these jar files?  Where should they be saved on my test
PC?
 
Currently my test PC only has the latest JRE loaded on it.  Is that
sufficient to follow the classpath instructions?  Or do I need a full
installation of Java?
 
Also, it is not clear to me that the java command listed in the
classpath instructions actually incorporate the the jar files into the
"classpath".  (My Java background is somewhat dated.)
 
Thank you,
   Rich Filoramo

- Original Message - 
From: Amick, Eric <mailto:eric.am...@mail.house.gov>  
To: fop-users@xmlgraphics.apache.org 
Sent: Thursday, April 09, 2009 9:24 AM
Subject: RE: FOP Extensions

I am probably misremembering, but I think the only extensions
that are supplied automatically with fop are the EXSLT extensions
incorporated into Xalan, the XSLT processor included in the
installation.
 
As for your particular question, one available barcode extension
is barcode4j:
 
http://barcode4j.sourceforge.net/2.0/fop-ext.html
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 



From: Rich [mailto:r...@sbcma.com] 
Sent: Thursday, April 9, 2009 9:07
To: fop-users@xmlgraphics.apache.org
Subject: FOP Extensions


Hello,
 
  From what I understand there are extensions for FOP to provide
functionality beyond the standards established by the W3C.
 
  Are these extensions distributed with the FOP release (I have
0.95)?
 
  If not, how does one obtain and incorporate these extension?
 
  I am particularly interested in font extensions that might
include barcodes.
 
Thank you,
   Rich Filoramo



RE: FOP Extensions

2009-04-09 Thread Amick, Eric
I forgot about these extensions:
 
http://xmlgraphics.apache.org/fop/0.95/extensions.html
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 



From: Rich [mailto:r...@sbcma.com] 
Sent: Thursday, April 9, 2009 9:07
To: fop-users@xmlgraphics.apache.org
Subject: FOP Extensions


Hello,
 
  From what I understand there are extensions for FOP to provide
functionality beyond the standards established by the W3C.
 
  Are these extensions distributed with the FOP release (I have 0.95)?
 
  If not, how does one obtain and incorporate these extension?
 
  I am particularly interested in font extensions that might include
barcodes.
 
Thank you,
   Rich Filoramo


RE: FOP Extensions

2009-04-09 Thread Amick, Eric
I am probably misremembering, but I think the only extensions that are
supplied automatically with fop are the EXSLT extensions incorporated
into Xalan, the XSLT processor included in the installation.
 
As for your particular question, one available barcode extension is
barcode4j:
 
http://barcode4j.sourceforge.net/2.0/fop-ext.html
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 



From: Rich [mailto:r...@sbcma.com] 
Sent: Thursday, April 9, 2009 9:07
To: fop-users@xmlgraphics.apache.org
Subject: FOP Extensions


Hello,
 
  From what I understand there are extensions for FOP to provide
functionality beyond the standards established by the W3C.
 
  Are these extensions distributed with the FOP release (I have 0.95)?
 
  If not, how does one obtain and incorporate these extension?
 
  I am particularly interested in font extensions that might include
barcodes.
 
Thank you,
   Rich Filoramo


RE: Page breaks with DOM source

2009-04-08 Thread Amick, Eric
I'm not sure I follow what you're after. Do you want a pagebreak after each 
artifact (whatever that is), or do you want a pagebreak at the end of the 
document? If it's the former, putting each artifact in its own page-sequence is 
probably the easiest way to do it.
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 



From: Sam Fuqua [mailto:samfu...@gmail.com] 
Sent: Wednesday, April 8, 2009 14:03
To: fop-users@xmlgraphics.apache.org
Subject: Page breaks with DOM source


Hi,

I'm not sure if this is a bit more of an xsl question or not, but I need help.  
I'm using fop with a DOMSource input.  The way the DOMSource is put together is 
by fetching xml, transforming it to fo, then appending each artifact to the 
fo:flow node of the main document and when I finish looping I turn that over to 
fop and it spits back a pdf.  However, in my xsl, I use a test to see if it the 
last page so I know whether or not to add a pagebreak.  Since each artifact is 
processed separately, they never put page breaks.  Is there any way to test 
this in the fo?  I apologize in advance if this is a stupid question.

-- 
Sam Fuqua
ΣΝ ΘΗ 454



RE: initial-page-number set to 0

2009-04-03 Thread Amick, Eric
The FO spec says the value for initial-page-number must be positive, so you 
would have to come up with some other mechanism for generating page numbers. 
Considering that fo:page-number produces an inline area rather than a simple 
number and that the formatting options are limited, it is going to be a real 
challenge.


Eric Amick
Legislative Computer Systems
Office of the Clerk

-Original Message-
From: fa...@nè [mailto:finofinof...@libero.it] 
Sent: Friday, April 3, 2009 8:35
To: fop-users@xmlgraphics.apache.org
Subject: initial-page-number set to 0


Hi,
I use 0.95 Fop.
Is it possible to set the first page to 0?

Best Regards
Fabio
--
View this message in context: 
http://www.nabble.com/initial-page-number-set-to-0-tp22867561p22867561.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


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



RE: break-after, Exclude last page

2009-03-26 Thread Amick, Eric
One possible solution, assuming no item contains another item, would be this:
 
 
http://www.w3.org/1999/XSL/Format> 
http://www.w3.org/1999/XSL/Format  ">
   
page

<-- call other templates -->
 


If my assumption is wrong, you should be able to use "following::item | 
descendant::item" for the test.
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 



From: Sam Fuqua [mailto:samfu...@gmail.com] 
Sent: Thursday, March 26, 2009 14:24
To: fop-users@xmlgraphics.apache.org
Subject: break-after, Exclude last page


I'm generating a PDF from an xml feed.  The feed has a list of items, and I 
want each new item on a new page, but I don't want the last page to break onto 
a new blank page.  How would I do this?
Right now, I have the following:




/

 
 
  
 
 


 
http://www.w3.org/1999/XSL/Format";  break-after="page"> 
<-- call other templates -->
 


-- 
Sam Fuqua
ΣΝ ΘΗ 454



RE: fo column-count="2" column-gap="0.8cm"

2009-03-16 Thread Amick, Eric
The easiest way by far is to have your FO include a final empty block that 
spans all the columns:

 

That starts a new span-reference-area, to use FO jargon, and the previous 
reference area's columns are automatically adjusted to be as equal in size as 
possible.

Eric Amick
Legislative Computer Systems
Office of the Clerk

-Original Message-
From: fa...@nè [mailto:finofinof...@libero.it] 
Sent: Monday, March 16, 2009 10:36
To: fop-users@xmlgraphics.apache.org
Subject: fo column-count="2" column-gap="0.8cm"


Hi,
I have the following question.
Is possible that the last page has the same number of rows in each column and 
not as in the example attached?

http://www.nabble.com/file/p22539579/columns.fo columns.fo 
http://www.nabble.com/file/p22539579/columns.pdf columns.pdf 

Best Regards
Fabio
 
--
View this message in context: 
http://www.nabble.com/fo-column-count%3D%222%22-column-gap%3D%220.8cm%22-tp22539579p22539579.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


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



RE: Dynamically replace argument for 'if' test

2009-03-16 Thread Amick, Eric
>You are also confused about the difference between XSLT instructions
and output
>elements and attributes.  The curly braces are needed in literal output

>attributes, because otherwise the processor will just output $foo
literally.  In 
>an XSLT instruction, such as , the values are presumed to be
XPath 
>instructions, and $foo is interpreted. 

At risk of being pedantic, there are a few XSLT instructions where at
least some of the attribute values require curly braces if the attribute
value is an expression. Based on the syntax description (Appendix B) in
the spec, they are:

xsl:attribute
xsl:element
xsl:number
xsl:processing-instruction
xsl:sort


Eric Amick
Legislative Computer Systems
Office of the Clerk


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



RE: Paging issue

2009-03-12 Thread Amick, Eric
It sounds like a case of force-page-count and/or initial-page-number
properties not being right, but it's hard to tell without seeing the
page-sequences you're using. 


Eric Amick
Legislative Computer Systems
Office of the Clerk

-Original Message-
From: Jeff Griffith [mailto:jgriff...@cssi.org] 
Sent: Thursday, March 12, 2009 12:09
To: fop-users@xmlgraphics.apache.org
Subject: Paging issue

This is likely to be a "read the directions" questions, but I'm short on
time...

How do I tell a page sequence master to not produce an even number of
pages? or rather, to only produce the number of pages required by the
content (and not to worry about whether the back side of the last sheet
has any content).
I'm getting a blank page that I want to suppress.

Thanks,
Jeff Griffith


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


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



RE: border-after-style with leaders

2009-02-24 Thread Amick, Eric
I was trying to draw a line that ran beneath the character baseline, and
doing it with leaders seemed the easiest way. In addition, when
leader-pattern="use-content" is in effect, someone might appreciate the
ability to underline the leader's content.


Eric Amick
Legislative Computer Systems
Office of the Clerk

-Original Message-
From: Vincent Hennebert [mailto:vhenneb...@gmail.com] 
Sent: Tuesday, February 24, 2009 6:10
To: fop-users@xmlgraphics.apache.org
Subject: Re: border-after-style with leaders

Hi Eric,

Amick, Eric wrote:
> I tried the following FO to generate a PDF in both 0.94 and 0.95:
>  
>   xmlns="http://www.w3.org/1999/XSL/Format";>
>  
>page-width="8.5in">
>
>   
>  
>  
>   
> leader-length="2in"/>hello there
>   
>  
> 
>  
> The output has no line in front of "hello there". I know that 
> leader-pattern="rule" would produce nearly the same output, but the 
> spec suggests that border-after-style applies to leader. Am I missing 
> something?

I don't think so. I guess borders haven't been implemented on fo:leader
yet. Just curious: what use case is it that would require the use of a
border?


> Eric Amick
> Legislative Computer Systems
> Office of the Clerk

Vincent

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


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



border-after-style with leaders

2009-02-23 Thread Amick, Eric
I tried the following FO to generate a PDF in both 0.94 and 0.95:
 

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

 
The output has no line in front of "hello there". I know that
leader-pattern="rule" would produce nearly the same output, but the spec
suggests that border-after-style applies to leader. Am I missing
something?
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 


RE: FOP Errors when using attribute sets

2009-02-19 Thread Amick, Eric
Attribute sets are top-level elements in XSLT; you need to move the
definitions before the template rule. 


Eric Amick
Legislative Computer Systems
Office of the Clerk

-Original Message-
From: JeroenM [mailto:jeroenmeijer8...@hotmail.com] 
Sent: Thursday, February 19, 2009 10:30
To: fop-users@xmlgraphics.apache.org
Subject: FOP Errors when using attribute sets


Hi Friends,

Yesterday I was working on a FO transformation which worked fine. Today
FOP gives me a hard time nagging about non existing attribute sets
(which DO exists in the SAME xsl:FO). What am I missing here? I didn't
make any changes to the XSL:FO.

while running FOP I get the following error

ERROR:  'Attempting to use non-existing attribute set 'hyperlink-small'

If you look at my stylesheet, you can see that the attribute set DOES
exist

http://www.nabble.com/file/p22102963/report.xsl report.xsl 

Any help would be much appreciated
--
View this message in context:
http://www.nabble.com/FOP-Errors-when-using-attribute-sets-tp22102963p22
102963.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


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



Bug in multi-column output

2009-02-17 Thread Amick, Eric
Attached is some FO and the PDF output for some data I'm printing. I
thought the sets of data on either side of the rule should look the
same, but they don't. The presence of space-end on an inline affects the
result--I think there is already a bug filed for this--and the use of
no-break spaces seems to matter as well. The line that is truncated
occurs when there is no no-break space before the word "At" and
space-end is on the inline. There is no problem with any of these when
the output is single-column, probably because there is no line wrapping.
 
If you want me to file a formal bug in Bugzilla, let me know.
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 


test.pdf
Description: test.pdf


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

Unexpected error message with wrapper

2009-02-09 Thread Amick, Eric
I have the following simple test file in FO:
 
http://www.w3.org/1999/XSL/Format"; >
 
  
   
  
 
 
  
   

this is a test


This is also a test

   
  
 


When I run it through 0.94 or 0.95, I get the following error messages:
 
Feb 9, 2009 4:06:26 PM org.apache.fop.fo.FObjMixed flushText
SEVERE: Could not create block pointers. FOText w/o Block ancestor.
Feb 9, 2009 4:06:26 PM org.apache.fop.fo.FObjMixed flushText
SEVERE: Could not create block pointers. FOText w/o Block ancestor.
Feb 9, 2009 4:06:26 PM org.apache.fop.fo.FObjMixed flushText
SEVERE: Could not create block pointers. FOText w/o Block ancestor.
Feb 9, 2009 4:06:26 PM org.apache.fop.layoutmgr.FlowLayoutManager
getNextKnuthElements
SEVERE: inline area not allowed under flow - ignoring
 
(FOP produces the PDF just fine, BTW.) Unless I've misread the spec,
wrapper should be legal as a child of flow. When I change wrapper to
block-container, the messages go away. Am I missing something, or is
this truly a bug?
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 


RE: Suppress the Form-Feed at the end of a page-sequence

2009-02-03 Thread Amick, Eric
By definition, page-sequences generate complete pages. What are you
trying to do? If you're trying to have more than one flow contribute to
a single page-sequence, I don't think you can do that in FOP; though FO
1.1 has a feature called flow maps that allows such a thing, it's not
implemented in FOP.
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 



From: Steffanina, Jeff [mailto:jeff.steffan...@marriott.com] 
Sent: Monday, February 2, 2009 9:01
To: fop-users@xmlgraphics.apache.org
Subject: Suppress the Form-Feed at the end of a page-sequence




Fop-0.95 
Java1.5 
Linux 

Is there anything I can code that will prevent the "natural" form feed
at the end of a page-sequence? 



Jeff 



RE: Regarding case.

2008-12-31 Thread Amick, Eric
Unlike HTML, attribute names in XML (and thus property names in FO) are
case-sensitive. The fix is to use lowercase names.
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 



From: Binod Garg [mailto:binod.g...@gmail.com] 
Sent: Wednesday, December 31, 2008 8:10
To: fop-users@xmlgraphics.apache.org
Subject: Regarding case.


I have used style attributes in my html like  .This is giving exception like
org.apache.fop.fo.ValidationException: null:1:4537: Error(1/4537):
fo:inline, Invalid property name 'FONT-WEIGHT'. or
org.apache.fop.fo.ValidationException: null:1:4537: Error(1/4537):
fo:inline, Invalid property name 'COLOR'. When I am replacing this with
lowercase as  this works
fine. Can sumbody please let me know the cause for this and a quick fix
for this.
 
 
Thanks,
Binod


RE: Force page break to skip immediate next page and continue writing on third page

2008-12-16 Thread Amick, Eric
I found this in the mailing list archives, for what it's worth
 
From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch] 
Sent: Friday, June 15, 2007 1:28 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: flow does not map to the region-body error

Well, as the error message says, FOP doesn't support that, yet. FOP
currently expects that the flow-name of the fo:flow maps to the
region-body in the simple-page-master.

If it were:

it would work.

I know this is generally possible, but I guess it is too exotic and
nobody cared to implement that possibility, yet.

 
Obviously no one has implemented it since then.
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 



From: Chakravarty, Abhishek [mailto:abhis...@accidentfund.com] 
Sent: Tuesday, December 16, 2008 8:17
To: fop-users@xmlgraphics.apache.org
Subject: RE: Force page break to skip immediate next page and continue
writing on third page



I ran the transform just to generate the FO and subsequently tried to
generate the pdf from that fo and found that as long as the header text
was limited and not overflowing into the next page it was doing
fine(i.e. pdf generated) but as soon as the header overflowed from page
1 ('simple') then I ran into the same error as previous...

 

Error: Flow 'xsl-region-body' does not map to the region-body in
page-master 'blank-page'. FOP presently does not support this.

 

The FO generated from the transform is below. Plz let me know if there
is something that needs to be corrected in this.

 

 



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

  



  

  

  





  

  



  



  

  



  

  

  



  

FOOTER TEXT

  







  

HEADER TEXT..Sample TextSample
TextSample TextSample TextSample TextSample Text

Sample TextSample TextSample
TextSample TextSample TextSample TextSample Text..

..Sample TextSample TextSample
TextSample TextSample TextSample TextSample Text..

..Sample TextSample TextSample
TextSample TextSample TextSample TextSample Text..

..Sample Text

  



  



 

-Original Message-
From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch] 
Sent: Tuesday, December 16, 2008 3:38 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Force page break to skip immediate next page and continue
writing on third page

 

Abhishek,

 

I don't think you're hitting a limitation of FOP. Eric has a point. It

appears that the FO you're generating is not valid and that's why FOP

shows errors. To debug the situation I suggest you take FOP out of the

picture for the moment and just run your XSLT transformation. Then take

a look at the FO file that is generated and fix your stylesheet as

necessary. As a convenience, FOP offers to run just the XSLT

transformation on the command-line:

fop -xml my.xml -xsl my.xml -foout out.fo

 

It can be difficult to debug problems if you always run both the XSLT

transformation and the FO layout at the same time.

 

Good luck!

 

On 15.12.2008 21:10:42 Chakravarty, Abhishek wrote:

> Yes, I am using an xsl and xml to generate my pdf through FOP 0.95

> instead of using only an FO file. 

> 

> However I am able to generate an FO from my xsl and xml but unable to

> generate the pdf itself either by a combination of the xsl and xml or

> just through fo alone.

> 

> So this may just be a limitation of FOP. If nothing else works, I will

> probably be looking at iText to solve this issue now. 

> 

>  

> 

> 

> 

> From: Amick, Eric [mailto:eric.am...@mail.house.gov] 

> Sent: Monday, December 15, 2008 3:02 PM

> To: fop-users@xmlgraphics.apache.org

> Subject: RE: Force page break to skip immediate next page and continue

> writing on third page

> 

>  

> 

> It may well be true for FOP. I believe what I have in mind is legal
FO;

> maybe someone else knows for certain.

> 

>  

> 

> Eric Amick

> 

> Legislative Computer Systems

> 

> Office of the Clerk

> 

  

 

 

Jeremias Maerki

 

 

-

To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org

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

 



RE: Force page break to skip immediate next page and continue writing on third page

2008-12-15 Thread Amick, Eric
First, you must have the page-sequence-master inside the
layout-master-set. Second, you should have only one page-sequence with
the master-reference set to "document". The page-sequence should contain
the static-content from your current "blank-page" page-sequence and the
flow from the current "simple" page-sequence. Once you've moved the
approriate pieces into this new page-sequence, delete the two you
currently have.
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 



From: Chakravarty, Abhishek [mailto:abhis...@accidentfund.com] 
Sent: Monday, December 15, 2008 10:22
To: fop-users@xmlgraphics.apache.org
Subject: RE: Force page break to skip immediate next page and continue
writing on third page



I tried to use a second simple page master now however I am getting
stuck with the error as 

 

fo:Validation Exception: Error(Unknown location): fo:page-sequence is
missing child elements.

Required Content Model: (title?,static-content*,flow)

 

The updated stylesheet is below. Please tell me what exactly am doing
wrong over here

 

 



 

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

 

   

 

  

   

 

 

 

  

   

 

   

   

  

 





  





 

 



 







  





 

  









  

 

____

From: Amick, Eric [mailto:eric.am...@mail.house.gov] 
Sent: Monday, December 15, 2008 8:34 AM
To: fop-users@xmlgraphics.apache.org
Subject: RE: Force page break to skip immediate next page and continue
writing on third page

 

That isn't necessarily a problem. Is there only one data/footer element?
If so, you can just put the needed xsl:value-of in the
fo:static-content.

 

Eric Amick

Legislative Computer Systems

Office of the Clerk

 

 



From: Chakravarty, Abhishek [mailto:abhis...@accidentfund.com] 
Sent: Friday, December 12, 2008 16:35
To: fop-users@xmlgraphics.apache.org
Subject: RE: Force page break to skip immediate next page and continue
writing on third page

Yes, unfortunately the footer content is dynamic and will change
depending on the content being pulled in by the xml. :-(

 

____

From: Amick, Eric [mailto:eric.am...@mail.house.gov] 
Sent: Friday, December 12, 2008 4:26 PM
To: fop-users@xmlgraphics.apache.org
Subject: RE: Force page break to skip immediate next page and continue
writing on third page

 

I assume that simple is a simple-page-master. Create a second
simple-page-master called, say, blank-page which is a copy of simple
with one difference: Define the region-body in blank-page as

 



 

You'll then need an fo:page-sequence-master that looks something like
this:

 



   

   

   



 

Take the page break off the fo:block as well. If you use that
page-sequence-master, you will get a blank second page if and only if
the data overflows the first page. Putting the footer on the second page
is trickier and depends on whether that footer can change. If this was
FO 1.1, you could use flow maps; you may have to resort to having
fo:static-content in blank-page instead.

 

Eric Amick

Legislative Computer Systems

Office of the Clerk

 

 



From: Chakravarty, Abhishek [mailto:abhis...@accidentfund.com] 
Sent: Friday, December 12, 2008 14:53
To: fop-users@xmlgraphics.apache.org
Subject: Force page break to skip immediate next page and continue
writing on third page

Hi

 

I need to force page break within my fo block such that

If there is content from page 1('header') which is overflowing onto page
2 then it skips page 2 but continuous onto page 3 while at the same time
the 'footer' is written on page 2.

 

This is what my XSL looks like

 



 













  

  



   

 

 

 



   

 



 

 



  

 



 



 

 

 

Regards

Abhishek

 

 

 

Regards

Abhishek

 



RE: Force page break to skip immediate next page and continue writing on third page

2008-12-15 Thread Amick, Eric
That isn't necessarily a problem. Is there only one data/footer element?
If so, you can just put the needed xsl:value-of in the
fo:static-content.
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 



From: Chakravarty, Abhishek [mailto:abhis...@accidentfund.com] 
Sent: Friday, December 12, 2008 16:35
To: fop-users@xmlgraphics.apache.org
Subject: RE: Force page break to skip immediate next page and continue
writing on third page



Yes, unfortunately the footer content is dynamic and will change
depending on the content being pulled in by the xml. :-(

 



From: Amick, Eric [mailto:eric.am...@mail.house.gov] 
Sent: Friday, December 12, 2008 4:26 PM
To: fop-users@xmlgraphics.apache.org
Subject: RE: Force page break to skip immediate next page and continue
writing on third page

 

I assume that simple is a simple-page-master. Create a second
simple-page-master called, say, blank-page which is a copy of simple
with one difference: Define the region-body in blank-page as

 



 

You'll then need an fo:page-sequence-master that looks something like
this:

 



   

   

   



 

Take the page break off the fo:block as well. If you use that
page-sequence-master, you will get a blank second page if and only if
the data overflows the first page. Putting the footer on the second page
is trickier and depends on whether that footer can change. If this was
FO 1.1, you could use flow maps; you may have to resort to having
fo:static-content in blank-page instead.

 

Eric Amick

Legislative Computer Systems

Office of the Clerk

 

 



From: Chakravarty, Abhishek [mailto:abhis...@accidentfund.com] 
Sent: Friday, December 12, 2008 14:53
To: fop-users@xmlgraphics.apache.org
Subject: Force page break to skip immediate next page and continue
writing on third page

Hi

 

I need to force page break within my fo block such that

If there is content from page 1('header') which is overflowing onto page
2 then it skips page 2 but continuous onto page 3 while at the same time
the 'footer' is written on page 2.

 

This is what my XSL looks like

 



 













  

  



   

 

 

 



   

 



 

 



  

 



 



 

 

 

Regards

Abhishek

 

 

 

Regards

Abhishek

 



RE: Force page break to skip immediate next page and continue writing on third page

2008-12-12 Thread Amick, Eric
I assume that simple is a simple-page-master. Create a second
simple-page-master called, say, blank-page which is a copy of simple
with one difference: Define the region-body in blank-page as
 

 
You'll then need an fo:page-sequence-master that looks something like
this:
 

   
   
   

 
Take the page break off the fo:block as well. If you use that
page-sequence-master, you will get a blank second page if and only if
the data overflows the first page. Putting the footer on the second page
is trickier and depends on whether that footer can change. If this was
FO 1.1, you could use flow maps; you may have to resort to having
fo:static-content in blank-page instead.
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 



From: Chakravarty, Abhishek [mailto:abhis...@accidentfund.com] 
Sent: Friday, December 12, 2008 14:53
To: fop-users@xmlgraphics.apache.org
Subject: Force page break to skip immediate next page and continue
writing on third page



Hi

 

I need to force page break within my fo block such that

If there is content from page 1('header') which is overflowing onto page
2 then it skips page 2 but continuous onto page 3 while at the same time
the 'footer' is written on page 2.

 

This is what my XSL looks like

 



 













  

  



   

 

 

 



   

 



 

 



  

 



 



 

 

 

Regards

Abhishek

 

 

 

Regards

Abhishek

 



RE: Absolute position of image in page

2008-12-10 Thread Amick, Eric
If I understand correctly, the pure FO solution would be to use the 
float="left" property, but FOP (still?) doesn't support it.


Eric Amick
Legislative Computer Systems
Office of the Clerk

-Original Message-
From: Georg Datterl [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 9, 2008 10:35
To: fop-users@xmlgraphics.apache.org
Subject: Absolute position of image in page

Hi everybody,

It's me again. When creating my fo:file I sometimes get large PDF pages which I 
want to position at the left upper corner of the page. The PDF is always wide 
enough to cover the page and small enough not to cover the footer. 

I had no problem with forcing a break before the image and I did find 
"absolute-position" to position the image at 0/0. Which is the left upper 
corner of the flow area. But the position of this corner relative to the left 
upper corner of the page depends on whether it is an even or odd page. 
Using fox:external-document and therefore pulling the image out of the ordinary 
flow means no footer. 

I thought about defining two new simple-page-master with the flow starting at 
the page corner and only the footer moving on odd/even pages, but it seems 
awfully inconvenient. Any better ideas out there?

Regards,
 
Georg Datterl
 
-- Kontakt --
 
Georg Datterl
 
Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg
 
HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert 

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20
 
www.geneon.de
 
Weitere Mitglieder der Willmy MediaGroup:
 
IRS Integrated Realization Services GmbH:www.irs-nbg.de 
Willmy PrintMedia GmbH:www.willmy.de
Willmy Consult & Content GmbH: www.willmycc.de 

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



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



RE: leading -> Fop:???

2008-12-05 Thread Amick, Eric
> And something completely different: Is there a reason why a 
> line-height="20pt+1em" works, whereas line-height="20pt-1em" doesn't?

I suspect it's because "-" is a valid character in names, but "+" isn't.
Try putting whitespace around (or at least in front of) the "-".

Eric Amick
Legislative Computer Systems
Office of the Clerk

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



RE: Horizontal and Vertical Alignment with region-start

2008-11-05 Thread Amick, Eric
Wrap the block(s) in a block-container and use the display-align
property:


Hello



Eric Amick
Legislative Computer Systems
Office of the Clerk

-Original Message-
From: Frank Niedermann [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 5, 2008 7:36
To: fop-users@xmlgraphics.apache.org
Subject: Horizontal and Vertical Alignment with region-start


Hi,

I'm new to XSL-FO and I try to center a rotated text horizontally and
vertically in the region-start area.

This is the FO-file:


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






  Hello


World




The rotated text is centered horizontally (from text view) but not
vertically. What do I need to add to center vertically and horizontally?

Thanks,
  Frank
--
View this message in context:
http://www.nabble.com/Horizontal-and-Vertical-Alignment-with-region-star
t-tp20340905p20340905.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


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



RE: Using CHOOSE to control image in region-body

2008-10-07 Thread Amick, Eric
I can think of two possibilities off the top of my head: The value is a
lowercase Y, or there is whitespace present. Try
normalize-space(send-fax)='Y' instead.
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 



From: Steffanina, Jeff [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 7, 2008 14:54
To: fop-users@xmlgraphics.apache.org
Subject: Using CHOOSE to control image in region-body




FOP 0.95 / Redhat Linux / Java 1.5 

When the tag "send-fax" does not exist print the lilly, when send-fax=Y,
print the pebble.  I always get the Lilly.  Can you determine why?

 
   


   
   
   
   
 



Jeff 



RE: How to add space between words

2008-09-22 Thread Amick, Eric
The easiest way is probably with fo:leader
 

My name isABC

 
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 



From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 22, 2008 11:36
To: fop-users@xmlgraphics.apache.org
Subject: How to add space between words



Hi


I need to print text like "My Name is  ABC"

So i have 

 
 My Name isABC
 



When i print PDF, i get My Name is ABC without any gap beween is and ABC

How can i add space between words



RE: FOP 0.94 : How to increase heap size

2008-09-05 Thread Amick, Eric
There's a line in fop.bat that sets the variable JAVAOPTS; if you modify
that line and put quotes around references to that variable in the rest
of the file, it should work. 


Eric Amick
Legislative Computer Systems
Office of the Clerk

-Original Message-
From: Newkid [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 5, 2008 6:15
To: fop-users@xmlgraphics.apache.org
Subject: RE: FOP 0.94 : How to increase heap size


Hello Eric,

Thanks for URL.

I need to know how one can modify the FOP.BAT file. Is there any options
thru which I can reset the heap size in FOP.BAT file.

With Thanks!
Newkid


Amick, Eric wrote:
> 
> http://xmlgraphics.apache.org/fop/0.94/running.html#memory
> 
> 
> Eric Amick
> Legislative Computer Systems
> Office of the Clerk
> 
> -Original Message-
> From: Newkid [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 4, 2008 10:25
> To: fop-users@xmlgraphics.apache.org
> Subject: FOP 0.94 : How to increase heap size
> 
> 
> Hi there!
> 
> Could you please assist me how can I increase JVM heap size? 
> 
> Please let me know what I have to modify in FOP.BAT file so that it 
> can take automatically whenever I run FOP from command prompt.
> 
> When I am trying to convert XML to PDF using FOP, it's showing 
> java.lang:OutofMemory Java heap space error.
> 
> Would appreciate your prompt response!
> 
> With Thanks!
> Newkid
> --
> View this message in context:
> http://www.nabble.com/FOP-0.94-%3A-How-to-increase-heap-size-tp1930929
> 0p
> 19309290.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

--
View this message in context:
http://www.nabble.com/FOP-0.94-%3A-How-to-increase-heap-size-tp19309290p
19328398.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


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



RE: FOP 0.94 : How to increase heap size

2008-09-04 Thread Amick, Eric
http://xmlgraphics.apache.org/fop/0.94/running.html#memory 


Eric Amick
Legislative Computer Systems
Office of the Clerk

-Original Message-
From: Newkid [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 4, 2008 10:25
To: fop-users@xmlgraphics.apache.org
Subject: FOP 0.94 : How to increase heap size


Hi there!

Could you please assist me how can I increase JVM heap size? 

Please let me know what I have to modify in FOP.BAT file so that it can
take automatically whenever I run FOP from command prompt.

When I am trying to convert XML to PDF using FOP, it's showing
java.lang:OutofMemory Java heap space error.

Would appreciate your prompt response!

With Thanks!
Newkid
--
View this message in context:
http://www.nabble.com/FOP-0.94-%3A-How-to-increase-heap-size-tp19309290p
19309290.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


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



RE: Print Italics over an Image

2008-08-26 Thread Amick, Eric
I'm glad it worked, but that means there might be a bug in FOP;
background-color is not inherited, and its default value is transparent,
so that shouldn't have been necessary.
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 



From: Steffanina, Jeff [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 26, 2008 13:23
To: fop-users@xmlgraphics.apache.org
Subject: RE: Print Italics over an Image


 
 
Eric,
PERFECT again! 
Thank you very much!
 
 

Jeff 




From: Amick, Eric [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 26, 2008 1:00 PM
To: fop-users@xmlgraphics.apache.org
Subject: RE: Print Italics over an Image


What happens if you explicitly specify
background-color="transparent" on the block with italics?
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 



From: Steffanina, Jeff [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 26, 2008 12:44
To: fop-users@xmlgraphics.apache.org
Subject: Print Italics over an Image



Friends, 
FOP-0.95 
I have a background image  - no problem 
I print text over the image   -no problem 

I print some text in "italics" over the image  -PROBLEM - the
image behind the italics does not come through.  Therefore, the space
around

each italic
character is all white. 

How can I resolve this? 

HERE IS MY CODE: 

 
  preserve 
 
 
   
 





Jeff 



RE: Print Italics over an Image

2008-08-26 Thread Amick, Eric
What happens if you explicitly specify background-color="transparent" on
the block with italics?
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 



From: Steffanina, Jeff [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 26, 2008 12:44
To: fop-users@xmlgraphics.apache.org
Subject: Print Italics over an Image



Friends, 
FOP-0.95 
I have a background image  - no problem 
I print text over the image   -no problem 

I print some text in "italics" over the image  -PROBLEM - the image
behind the italics does not come through.  Therefore, the space around

each italic character is
all white. 

How can I resolve this? 

HERE IS MY CODE: 

 
  preserve 
 
 
   
 





Jeff 



fop-users@xmlgraphics.apache.org

2008-08-26 Thread Amick, Eric
I'm not sure I understand how exactly you want this to appear. Are you
looking for something like this?
 
DC   column 2
TH
column 2
TRcolumn 2
 
If so, I think it would make more sense to put a linefeed before the
data in every cell of the row but the first.
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 



From: Steffanina, Jeff [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 26, 2008 8:06
To: fop-users@xmlgraphics.apache.org
Subject: Issue with LineFeed 




Friends, 
Issue: When the first column in the table row contains 'TH', I want to
do a LINE FEED   before  the remainder of the table row is printed.  The
other components in the "choose" are working perfectly.In general, I
am having problems forcing a line feed at various point in my style
sheet.  I would appreciate any hints.

 
 
  preserve 
 
  
   
 

 
preserve 
   

 
   
 

 
preserve 
 
 
 
 






Jeff 



RE: Fop-0.95 Fill Patterns

2008-08-18 Thread Amick, Eric
I'm not entirely sure what you mean by "fill pattern", but I suspect you
want the various background properties.
 
http://www.w3.org/TR/xsl/#common-border-padding-and-background-propertie
s
 
The FOP compliance page has them as pretty much all implemented, so I
wouldn't expect a problem on that score.
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 



From: Steffanina, Jeff [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 18, 2008 8:00
To: fop-users@xmlgraphics.apache.org
Subject: Fop-0.95 Fill Patterns




Can you use a "fill pattern" in this version of fop? 

If yes, what command? 


Jeff Steffanina 
FOSSE Development,  Bethesda, MD 
(301)380-2047 
[EMAIL PROTECTED] 

This communication contains information from Marriott International,
Inc. that may be confidential. Except for personal use by the intended
recipient, or as expressly authorized by the sender, any person who
receives this information is prohibited from disclosing, copying,
distributing, and/or using it. If you have received this communication
in error, please immediately delete it and all copies, and promptly
notify the sender. Nothing in this communication is intended as an
electronic signature under applicable law.




RE: Issue after install of 0.95

2008-08-15 Thread Amick, Eric
The first two messages are strictly informational and tell you the
values of page-height and page-width you will get if you should specify
"auto" in your FO. You can safely ignore them. (They were present in
0.94 as well.)
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 



From: Steffanina, Jeff [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 15, 2008 14:39
To: fop-users@xmlgraphics.apache.org
Subject: Issue after install of 0.95



After I installed the fop-0.95 the following "Info" and "Warnings" began
to appear.   Any ideas on what I would have to do to correct it?



Error #1:   Aug 15, 2008 2:28:01 PM
org.apache.fop.apps.FopFactoryConfigurator configure 
INFO: Default page-height set to: 11in 

Error #2:   Aug 15, 2008 2:28:01 PM
org.apache.fop.apps.FopFactoryConfigurator configure 
INFO: Default page-width set to: 8.26in 

For errors 1 and 2, here is my setup: 
  



Error #3:
file:///CY/JLS/Java1.4/fop-0.95/./xml/xslt/foliomulti.xsl
 ; Line #11;
Column #63; Cannot add attribute text-align after 

child nodes or before an element is produced.  Attribute
will be ignored. 

For error #3, the line it is referring to is pointing to my fox
extension.  Here it is: 
 http://www.w3.org/1999/XSL/Transform"; 
   xmlns:fo="http://www.w3.org/1999/XSL/Format";
exclude-result-prefixes="fo" 
   xmlns:fox="http://xmlgraphics.apache.org/fop/extensions";> 




Jeff 



RE: Cause a Table Cell to Overflow to an Adjacent Cell

2008-08-14 Thread Amick, Eric
That sounds like a job for number-columns-spanned. Something roughly
like this for column 3 should do it:



whatever stuff you need




column 3






 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 



From: Steffanina, Jeff [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2008 11:00
To: fop-users@xmlgraphics.apache.org
Subject: Cause a Table Cell to Overflow to an Adjacent Cell



Friends, 

fop  0.95 
Every feature works in my table which consists of 4 columns. 

In some cases (10% of the time), when column 4 is blank, I need to force
the content of column 3 to continue into column 4 on the same line.  At
the present time, when this happens, the content of column 3 is
displayed and it just wraps on to the next line of column 3.

Any ideas? 



Jeff 



RE: padding-top property

2008-07-10 Thread Amick, Eric
We have found an issue with the padding-top property used in the
region-body object in FOP 0.94. Bear in mind we are newbies, and, while
it appears from the W3C website this property can be used with
region-body, maybe it can't.
 
It can't. Padding and border-width must be 0 on all regions. The error
message should be more informative; maybe someone could look into it.
 
http://www.w3.org/TR/xsl/#fo_region-bodySee the "Areas" section.
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 


RE: nested fo:list-item spacing - fop 0.20.5

2008-07-10 Thread Amick, Eric
I believe the provisional-label-separation property will do the trick;
it specifies the distance between the end of the list-item-label and the
start of the list-item-body. It's inherited, so you can put it on
fo:list-block or some ancestor of fo:list-block to get the desired
effect.

http://www.w3.org/TR/xsl/#provisional-label-separation


Eric Amick
Legislative Computer Systems
Office of the Clerk

-Original Message-
From: bonekrusher [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 10, 2008 7:50
To: fop-users@xmlgraphics.apache.org
Subject: nested fo:list-item spacing - fop 0.20.5


Hi,

I am in the process of creating a nested fo:list-item for a project. If
I set the  and
 I get about 1/4 inch
space between 
SYMPTOM
No shelter electrical power


MALFUNCTION

No voltage reading on digital power
meter

CORRECTIVE
ACTION


Check power
source.






1. 







Trace power from main input to
widget











4. 







If symptoms continue, repair or
replace widget.









--
View this message in context:
http://www.nabble.com/nested-fo%3Alist-item-spacing---fop-0.20.5-tp18381
193p18381193.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


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



RE: region-after set size to auto

2008-06-19 Thread Amick, Eric
Here's the thing, Andreas: the spec says display-align is available on
region-after, but it may be that FOP doesn't support it. Am I reading
the compliance page right?


Eric Amick
Legislative Computer Systems
Office of the Clerk

-Original Message-
From: Andreas Delmelle [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 19, 2008 15:13
To: fop-users@xmlgraphics.apache.org
Subject: Re: region-after set size to auto

On Jun 19, 2008, at 21:02, bonekrusher wrote:

Just FYI:

> Thanks but that didn't work. I ended up calculating the extend size 
> based on the length of the content:
>
>   
>   
>   
>   

Better, in XSLT terms would be:



And if you don't need the content-size variable further on, just make
it:



> 
> I just thought there was an easier way.

Unfortunately not. OTOH, I can't tell if this would be a feasible
alternative for you, but you might be able to achieve the same using
fo:footnotes and no region-after... If the footer information needs to
be preceded by some form of static-content, then this could be done by
means of fo:footnote-separator (?)

Maybe worth a try...

HTH!

Andreas

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


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



  1   2   >