Re: omit first table header/last footer

2011-10-05 Thread champagne_chary
gt;>>>> less easy would be to add a variable in the configuration file, so >>>>> that >>>>> you can enable it only for certain FO files. Even less easy would be >>>>> to >>>>> add an extension property to fo:table so that you can enable it only >>>>> for >>>>> some tables of an FO document. Please ask if you need more details. >>>>> >>>>> All that said, such a change would be very hacky and, unless there is >>>>> overwhelming demand from the user community, I would oppose to >>>>> integrate >>>>> it in the code base. This is a patch that you would have to maintain >>>>> on >>>>> your side. Better would be of course to actually implement >>>>> retrieve-table-marker. Although this would be more involving than >>>>> implementing this little trick... >>>>> >>>>> >>>>> HTH, >>>>> Vincent >>>>> >>>> >>> > > > -- View this message in context: http://old.nabble.com/omit-first-table-header-last-footer-tp25640345p32595267.html Sent from the FOP - Dev mailing list archive at Nabble.com.

Re: omit first table header/last footer

2011-09-21 Thread Carlos Villegas
It probably behaves that way. I wasn't sure about the implementation. It was enough for my purposes so I didn't checked it further. Cheers On 9/21/11 6:16 PM, champagne_chary wrote: Would I be right in assuming that this method removes the header however places a space at the bottom of the pag

Re: omit first table header/last footer

2011-09-21 Thread champagne_chary
would be to >>> add an extension property to fo:table so that you can enable it only for >>> some tables of an FO document. Please ask if you need more details. >>> >>> All that said, such a change would be very hacky and, unless there is >>> o

Re: omit first table header/last footer

2011-09-15 Thread champagne_chary
or >>> some tables of an FO document. Please ask if you need more details. >>> >>> All that said, such a change would be very hacky and, unless there is >>> overwhelming demand from the user community, I would oppose to integrate >>> it in the code base. This is a patch that you would have to maintain on >>> your side. Better would be of course to actually implement >>> retrieve-table-marker. Although this would be more involving than >>> implementing this little trick... >>> >>> >>> HTH, >>> Vincent >>> >> >> > > -- View this message in context: http://old.nabble.com/omit-first-table-header-last-footer-tp25640345p32471459.html Sent from the FOP - Dev mailing list archive at Nabble.com.

Re: omit first table header/last footer

2011-09-07 Thread champagne_chary
Hello, Hopefully somebody can point out how I should use this. Could anybody make a simple XSLT example I could learn from? Thanks -- View this message in context: http://old.nabble.com/omit-first-table-header-last-footer-tp25640345p32415582.html Sent from the FOP - Dev mailing list

Re: omit first table header/last footer

2011-08-19 Thread champagne_chary
text: http://old.nabble.com/omit-first-table-header-last-footer-tp25640345p32298868.html Sent from the FOP - Dev mailing list archive at Nabble.com.

Re: omit first table header/last footer

2011-08-18 Thread champagne_chary
df/PDFGoToNamed.java (revision 0) > +++ src/java/org/apache/fop/pdf/PDFGoToNamed.java (revision 0) > @@ -0,0 +1,117 @@ > +/* > + * Licensed to the Apache Software Foundation (ASF) under one or more > + * contributor license agreements. See the NOTICE file distributed with > + * this work for additional information regarding copyright ownership. > + * The ASF licenses this file to You under the Apache License, Version > 2.0 > + * (the "License"); you may not use this file except in compliance with > + * the License. You may obtain a copy of the License at > + * > + * http://www.apache.org/licenses/LICENSE-2.0 > + * > + * Unless required by applicable law or agreed to in writing, software > + * distributed under the License is distributed on an "AS IS" BASIS, > + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or > implied. > + * See the License for the specific language governing permissions and > + * limitations under the License. > + */ > + > +/* $Id: PDFGoTo.java 815358 2009-09-15 15:07:51Z maxberger $ */ > + > +package org.apache.fop.pdf; > + > +/** > + * class representing a /GoTo object. > + * This can either have a Goto to a page reference and location > + * or to a specified PDF reference string. > + */ > +public class PDFGoToNamed extends PDFAction { > + > +/** > + * the pageReference > + */ > +private String destination = null; > + > +/** > + * create a /GoTo object. > + * > + * @param pageReference the pageReference represented by this object > + */ > +public PDFGoToNamed(String destination) { > +/* generic creation of object */ > +super(); > + > +this.destination = destination; > +} > + > + > +/** > + * Set the destination string for this Goto. > + * > + * @param dest the PDF destination string > + */ > +public void setDestination(String dest) { > +destination = dest; > +} > + > +/** > + * Get the PDF reference for the GoTo action. > + * > + * @return the PDF reference for the action > + */ > +public String getAction() { > +return referencePDF(); > +} > + > +/** > + * {@inheritDoc} > + */ > +public String toPDFString() { > +String dest; > +if (destination == null) { > +dest = "/D (UNKNOWN)\n"; > +} else { > +dest = "/D (" + destination + ")\n"; > +} > +return getObjectID() > ++ "<< /Type /Action\n/S /GoTo\n" + dest > ++ ">>\nendobj\n"; > +} > + > +/* > + * example > + * 29 0 obj > + * << > + * /S /GoTo > + * /D (N123232) > + * >> > + * endobj > + */ > + > +/** {@inheritDoc} */ > +protected boolean contentEquals(PDFObject obj) { > +if (this == obj) { > +return true; > +} > + > +if (obj == null || !(obj instanceof PDFGoToNamed)) { > +return false; > +} > + > +PDFGoToNamed gt = (PDFGoToNamed)obj; > + > + > + > +if (destination == null) { > +if (gt.destination != null) { > +return false; > +} > +} else { > +if (!destination.equals(gt.destination)) { > +return false; > +} > +} > + > +return true; > +} > +} > + > > -- View this message in context: http://old.nabble.com/omit-first-table-header-last-footer-tp25640345p32292141.html Sent from the FOP - Dev mailing list archive at Nabble.com.

Re: omit first table header/last footer

2011-08-18 Thread Carlos Villegas
Hi, here's a patch against svn trunk revision 1153319. It contains 3 things, you may want to edit the patch if you don't want all of them: 1. omit table last header/footer patch 2. fix for hyphenation when interletter values in hyphenation patterns are higher than 7. This is a long standing b

Re: omit first table header/last footer

2011-08-18 Thread champagne_chary
or >>> some tables of an FO document. Please ask if you need more details. >>> >>> All that said, such a change would be very hacky and, unless there is >>> overwhelming demand from the user community, I would oppose to integrate >>> it in the code base. This is a patch that you would have to maintain on >>> your side. Better would be of course to actually implement >>> retrieve-table-marker. Although this would be more involving than >>> implementing this little trick... >>> >>> >>> HTH, >>> Vincent >>> >> >> > > -- View this message in context: http://old.nabble.com/omit-first-table-header-last-footer-tp25640345p32292028.html Sent from the FOP - Dev mailing list archive at Nabble.com.

AW: omit first table header/last footer

2009-11-09 Thread Georg Datterl
www.willmy.de Willmy Consult & Content GmbH: www.willmycc.de -Ursprüngliche Nachricht- Von: Carlos Villegas [mailto:c...@uniscope.jp] Gesendet: Montag, 9. November 2009 10:18 An: fop-dev@xmlgraphics.apache.org Betreff: Re: omit first table header/last footer I

Re: omit first table header/last footer

2009-11-09 Thread Carlos Villegas
I implemented this extension. I added fox:table-omit-last-footer and fox:table-omit-first-header attributes to fo:table. It seems to work well in my use case. If anyone is interested I can submit a patch. Cheers, Carlos Carlos Villegas wrote: Thanks for the pointers. I agree that implementing

Re: omit first table header/last footer

2009-09-28 Thread Carlos Villegas
Thanks for the pointers. I agree that implementing retrieve-table-marker is not only a more generic solution but also what the spec requires. However, I'm short on time and this seems easier so I'll give it a try first. Regards, Carlos Vincent Hennebert wrote: Hi Carlos, Carlos Villegas wro

Re: omit first table header/last footer

2009-09-28 Thread Vincent Hennebert
Hi Carlos, Carlos Villegas wrote: > Hi, > > I searched the mailing lists and it seems that although some people had > worked at several times at trying to implement retrieve-table-marker, > it's not yet done. Is somebody working on this? What's the status? It’s not being worked on at the moment.

omit first table header/last footer

2009-09-27 Thread Carlos Villegas
Hi, I searched the mailing lists and it seems that although some people had worked at several times at trying to implement retrieve-table-marker, it's not yet done. Is somebody working on this? What's the status? In many use cases omitting the first table header and the last table footer wil