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.
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
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
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.
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
text:
http://old.nabble.com/omit-first-table-header-last-footer-tp25640345p32298868.html
Sent from the FOP - Dev mailing list archive at Nabble.com.
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.
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
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.
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
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
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
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.
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
14 matches
Mail list logo