Re: Adding editable text boxes to PDF document

2012-05-24 Thread J.Pietschmann
Am 24.05.2012 12:03, schrieb KEILHOLZ Werner:
> I need to add editable text boxes (actual text boxes with a name, not
> just 'drawn' text boxes) to a PDF document generated by FOP.
> 
> The xmlgraphics web site seems to suggest that this is possible using
> extensions, like in the example of adding JAVA script to open a
> search box (
> http://xmlgraphics.apache.org/fop/dev/design/extending.html ).
> 
> I did some research and all discussions seem to say that this is
> 'impossible'. Didn't anyone ever implement such an extension? Is it
> not possible to create editable forms with FOP?

FOP can't produce editable text boxes in PDF directly. It could be done
using embedded JavaScript, but using a different tool line PDFBox or
iText to post process the PDF generated by FOP is much easier.

J.Pietschmann

-
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 different page

2012-05-24 Thread J.Pietschmann
Am 24.05.2012 17:57, schrieb Lalatendu Mohanty:
> Hi I have a requirement where each page should have a different
> footer. Basically, each footer will have a different image based on
> the page number. Is this something can be done in xsl-fo using
>  or any other way.

One way to achieve this is to use a new page master for every page:


  
...

  
  
...

  
 ...
  


...
  


then set the static content for each footer region as you like. If you
expect to get a large number of pages you might have to set up a
generator for all the repeating stuff.

Markers could provide another way to achieve what you want, depending on
the kind of content you have.

J.Pietschmann

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



Column break with background colour

2012-05-24 Thread Rob Sargent
We have what we're calling "shaded boxes", which are bulleted lists in a 
container with background-color set in a two-column flow of text.  When 
a shaded box wraps from left column to right, the background colour 
begins in the right column at the exact level of the ascenders and 
capitals. Since the baselines are not matching across the columns 
anyway, what would it take to get something like padding-before (with 
colour) at the top of the continued block?


rjs


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



Different footer for different page

2012-05-24 Thread Lalatendu Mohanty
Hi 
I have a requirement where each page should have a different footer. Basically, 
each footer will have a different image based on the page number. Is this 
something can be done in xsl-fo using  or 
any other way.
Please advice.
Thanks
Lal Mohanty 
 

RE: table of contents page number not showing in RTF output

2012-05-24 Thread Chen Yang
Sorry for the confusion, just like Glenn said earlier the issue I am
facing right now it's when I open the rtf document in M$ word, # is
displayed instead of page numbers.

The # won't go away until I take more action (print or saved as PDF).
This only happened in TOC, in the header part of the document everything
is displaying correctly (page? Of ?). 

Any help is appreciated,

Chen Yang.


-Original Message-
From: John Brown [mailto:johnbrown...@hotmail.com] 
Sent: May-24-12 5:33 AM
To: fop-users@xmlgraphics.apache.org
Subject: RE: table of contents page number not showing in RTF output


Hello Glenn,

Glenn Adams wrote:
>
> On Wed, May 23, 2012 at 2:21 PM, Chen Yang  wrote:
>>
>> Hey guys,
> >
>>I am converting xml to rtf using fop trunk ver. page numbers (table of

>>content to be exact) showing up as # symbol but field codes are 
>>correct, if I print the document, Word will display the numbers, what 
>>is it that I need to do to display the numbers immediately?
> >
> >
> >
>>example:
> >
>>CONFLICT 
>>MANAGEMENT#
>>DEVELOPING 
>>OTHERS#
>>FOSTERING 
>>LEARNING...#
>>IMPACT AND 
>>INFLUENCE...#
>>
> >
>
> what do you mean by "Word will display the numbers"?
>


He probably means that when he opens the document for the first time, #
is displayed instead of page numbers, but if he refreshes the table of
contents, the numbers will appear.

Regards,
John Brown.

  
-
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



Adding editable text boxes to PDF document

2012-05-24 Thread KEILHOLZ Werner
Hi,

I need to add editable text boxes (actual text boxes with a name, not just 
'drawn' text boxes) to a PDF document generated by FOP.

The xmlgraphics web site seems to suggest that this is possible using 
extensions, like in the example of adding JAVA script to open a search box
( http://xmlgraphics.apache.org/fop/dev/design/extending.html ).

I did some research and all discussions seem to say that this is 'impossible'. 
Didn't anyone ever implement such an extension?
Is it not possible to create editable forms with FOP?

Thanks,

Werner


RE: table of contents page number not showing in RTF output

2012-05-24 Thread John Brown

Hello Glenn,

Glenn Adams wrote:
>
> On Wed, May 23, 2012 at 2:21 PM, Chen Yang  wrote:
>>
>> Hey guys,
> >
>>I am converting xml to rtf using fop trunk ver. page numbers (table of
>>content to be exact) showing up as # symbol but field codes are
>>correct, if I print the document, Word will display the numbers, what
>>is it that I need to do to display the numbers immediately?
> >
> >
> >
>>example:
> >
>>CONFLICT MANAGEMENT#
>>DEVELOPING OTHERS#
>>FOSTERING LEARNING...#
>>IMPACT AND INFLUENCE...#
>>
> >
>
> what do you mean by "Word will display the numbers"?
>


He probably means that when he opens the document for the
first time, # is displayed instead of page numbers, but if he
refreshes the table of contents, the numbers will appear.

Regards,
John Brown.

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