lib/rabbit/renderer/print/multiple.rb in rabbit-2.1.3 vs lib/rabbit/renderer/print/multiple.rb in rabbit-2.1.4

- old
+ new

@@ -9,41 +9,38 @@ module Print class Multiple include Base include Kernel extend Forwardable - + def_delegators(:@canvas, :current_index) - + def_delegators(:@print, :filename, :filename=) def_delegators(:@print, :foreground=, :background=) def_delegators(:@print, :background_image=) - + def_delegators(:@print, :page_width, :page_width=) def_delegators(:@print, :page_height, :page_height=) def_delegators(:@print, :width, :height) - + def_delegators(:@print, :pre_print, :post_print, :post_apply_theme) def_delegators(:@print, :post_move, :post_move_in_slide, :post_iconify) def_delegators(:@print, :post_fullscreen, :post_unfullscreen) def_delegators(:@print, :pre_parse, :post_parse) def_delegators(:@print, :post_toggle_index_mode) def_delegators(:@print, :index_mode_on, :index_mode_off) def_delegators(:@print, :make_color, :make_layout) def_delegators(:@print, :create_pango_context) - + def_delegators(:@print, :clear_theme) - def_delegators(:@print, :rsvg_available?, :poppler_available?) - def_delegators(:@print, :rsvg_available?, :poppler_available?) - def initialize(canvas) @print = Print.new(canvas) super end - + def width @slide_width ||= @layout.slide_width end def height @@ -57,16 +54,16 @@ def page_margin_right=(margin) super @print.page_margin_right = margin end - + def page_margin_top=(margin) super @print.page_margin_top = margin end - + def page_margin_bottom=(margin) super @print.page_margin_bottom = margin end @@ -77,21 +74,21 @@ def margin_right=(margin) super @print.margin_right = margin end - + def margin_top=(margin) super @print.margin_top = margin end - + def margin_bottom=(margin) super @print.margin_bottom = margin end - + def draw_slide(slide, simulation) @print.show_page = need_show_page? @print.internal_draw_slide(slide, simulation) do if simulation yield