Example #1
0
        protected bool IsContainer(Component comp, out ComponentList list)
        {
            if (comp is Panel)
            {
                Panel panel = comp as Panel;
                if (panel.HasContent)
                {
                    list = panel.Contents;
                    return(true);
                }
            }
            else if (comp is IPDFInvisibleContainer)
            {
                IPDFInvisibleContainer container = comp as IPDFInvisibleContainer;
                if (container.HasContent)
                {
                    list = container.Content;
                    return(true);
                }
            }

            list = null;
            return(false);
        }
 public TableCellList(ComponentList inner)
     : base(inner)
 {
 }
Example #3
0
 public PDFLayerList(ComponentList innerList)
     : base(innerList)
 {
 }
Example #4
0
 /// <summary>
 /// Creates the list of rows based on the provided component list.
 /// </summary>
 /// <param name="inner"></param>
 public TableRowList(ComponentList inner)
     : base(inner)
 {
 }
Example #5
0
 /// <summary>
 /// Creates the list of list items based on the provided component list.
 /// </summary>
 /// <param name="inner"></param>
 public ListItemList(ComponentList inner)
     : base(inner)
 {
 }
Example #6
0
 public PageList(ComponentList innerList)
     : base(innerList)
 {
 }
Example #7
0
 public InnerComponentList(ComponentList owner)
 {
     this.owner = owner;
 }