Пример #1
0
 protected ElementSpecificationAbstract(IEnumerable<ElementSpecification> children)
 {
     this.children = children.ToList();
     Borders = new Borders();
     Margins = new Margins();
     WidowHeight = 2.cm();
     OrphanHeight = 2.cm();
     Breakable = true;
     Behavior = new NullBehavior();
 }
Пример #2
0
 public Content(IEnumerable<ElementSpecification> elements, Margins margins)
 {
     Margins = margins;
     this.elements = elements;
 }