Pdf::Writer ; page numbering, and table wrapping

Hey there,

I know this isn’t a pdf::writer list - If there’s a more appropriate
place for me to ask these questions I’d appreciate being set straight.

I’m having a couple of misunderstandings/isssues first with page numbers
and secondly with auto-wrapping of simple_table.

First

pdf.start_page_numbering(pdf.margin_x_middle,
pdf.absolute_bottom_margin, 9, :center, nil, nil)

Using the default ‘pattern’, is rendering ‘x of N+1’ - or specifically
it always thinks that is 1 greater than the number of
pages in the document. I’ve rendered 1, 2 and 3 page documents, and it
responds with “1 of 2”, “1 of 3”, “1 of 4”, etc. Using the pattern
string (’ of ’ results in the same output.

Secondly,

the auto-wrapping of tables, runs directly into both the before
mentioned page numbers, and into a header added via add_object(…,
:all_pages).

Is there a way to configure the auto-wrapping of tables to skip a Y? I’m
configuring the other paths, so I do know in advance where wrapping
should start, and begin.

Thanx for any thoughts.

cheers,
Jodi

http://rubyforge.org/mailman/listinfo/ruby-pdf-discuss

The page numbering issue is a known bug that I will be fixing. I am
not sure what you’re asking on the second item.

-austin

On 03/01/06, Jodi S. [email protected] wrote:

pdf.start_page_numbering(pdf.margin_x_middle,
the auto-wrapping of tables, runs directly into both the before
Jodi


Posted via http://www.ruby-forum.com/.


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails


Austin Z. * [email protected]
* Alternate: [email protected]

Austin Z. wrote:

http://rubyforge.org/mailman/listinfo/ruby-pdf-discuss

The page numbering issue is a known bug that I will be fixing. I am
not sure what you’re asking on the second item.

-austin

On 03/01/06, Jodi S. [email protected] wrote:

pdf.start_page_numbering(pdf.margin_x_middle,
the auto-wrapping of tables, runs directly into both the before
Jodi


Posted via http://www.ruby-forum.com/.


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails


Austin Z. * [email protected]
* Alternate: [email protected]

To fix the page numbering issue add the following before your program
exits

pdf.stop_page_numbering(true)

JB