class Thinreports::Core::Shape::PageNumber::Format
Public Class Methods
next_default_id()
click to toggle source
# File lib/thinreports/core/shape/page_number/format.rb, line 22 def self.next_default_id @id_counter ||= 0 "__pageno#{@id_counter += 1}" end
Public Instance Methods
for_report?()
click to toggle source
# File lib/thinreports/core/shape/page_number/format.rb, line 18 def for_report? blank_value?(target) end
id()
click to toggle source
# File lib/thinreports/core/shape/page_number/format.rb, line 14 def id @id ||= blank_value?(read('id')) ? self.class.next_default_id : read('id') end