search for: start_page_numb

Displaying 2 results from an estimated 2 matches for "start_page_numb".

2006 Jan 03
2
Pdf::Writer ; page numbering, and table wrapping
...sn''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 <TOTALPAGENUM> is 1 greater than the number of pages in the document. I''ve...
2006 May 05
8
pdf/writer: table.render_on best practices?
..."}) pdf.text " ", :font_size => 12, :justification => :center s = 9 t = ''Seite <PAGENUM>'' y = pdf.absolute_bottom_margin - 5 x = pdf.absolute_right_margin x -=(pdf.text_width(''Seite XX'', s)) pdf.start_page_numbering(x, y, s, nil, t, nil) pdf.open_object do |heading| pdf.save_state pdf.stroke_color! Color::Black pdf.stroke_style! PDF::Writer::StrokeStyle::DEFAULT s = 9 t = "My title - " + Date.today().to_s w = pdf.text_width(t, s) / 2.0...