private void WalkDocumentTree(Action <TextElement> action, TableRowGroupCollection trgc)
 {
     foreach (TableRowGroup trg in trgc)
     {
         WalkDocumentTree(action, trg);
     }
 }
 private TextElement FindTextElement(TreeNode node, TableRowGroupCollection trgc)
 {
     foreach (TableRowGroup trg in trgc)
     {
         TextElement te = FindTextElement(node, trg);
         if (te != null)
         {
             return(te);
         }
     }
     return(null);
 }
Esempio n. 3
0
        //------------------------------------------------------
        //
        //  Private Methods
        //
        //------------------------------------------------------

        #region Private Methods 

        /// <summary>
        /// Private ctor time initialization.
        /// </summary>
        private void PrivateInitialize()
        {
            // Acquire new PTS Context.
            _columns = new TableColumnCollection(this);
            _rowGroups = new TableRowGroupCollection(this);
            _rowGroupInsertionIndex = -1;
        }