internal HorizontalPageBreakCollection(HorizontalPageBreakCollection source)
 {
     foreach (HorizontalPageBreak break1 in source.items)
     {
         base.items.Add(new HorizontalPageBreak(break1.Row, break1.FirstColumn, break1.LastColumn));
     }
 }
Exemplo n.º 2
0
        private void FixPageBreaksIndexes(int rowIndex, int offset)
        {
            HorizontalPageBreakCollection collection1 = base.Parent.horizontalPageBreaks;
            HorizontalPageBreakCollection collection2 = new HorizontalPageBreakCollection();

            foreach (HorizontalPageBreak break1 in collection1)
            {
                if (break1.FixRowIndexes(rowIndex, offset))
                {
                    collection2.Add(break1);
                }
            }
            base.Parent.horizontalPageBreaks = collection2;
        }