Class: Idml::Elements::MasterSpreadObject

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/idml/elements/master_spread_object.rb

Overview

Typed model of <MasterSpread>. Declares attributes from MasterSpread_Object in the RNC schema plus typed child-element collections for page items (Page, Rectangle, TextFrame, Polygon, Group, GraphicLine) — same structure as SpreadObject.

Instance Method Summary collapse

Instance Method Details

#each_page_itemObject



46
47
48
49
50
51
52
# File 'lib/idml/elements/master_spread_object.rb', line 46

def each_page_item(&)
  return enum_for(:each_page_item) unless block_given?

  [page, rectangle, text_frame, polygon, group, graphic_line].each do |col|
    col.each(&)
  end
end