コード例 #1
0
ファイル: XWPFFootnote.cs プロジェクト: hiodava/Romero
        /**
         * add a new table to the end of the footnote
         * @param table
         * @return the Added XWPFTable
         */
        public XWPFTable AddNewTbl(CT_Tbl table)
        {
            CT_Tbl newTable = ctFtnEdn.AddNewTbl();

            newTable.Set(table);
            XWPFTable xTable = new XWPFTable(newTable, this);

            tables.Add(xTable);
            return(xTable);
        }
コード例 #2
0
ファイル: XWPFFootnote.cs プロジェクト: thachgiasoft/shuijin
        public XWPFTable AddNewTbl(CT_Tbl table)
        {
            CT_Tbl table1 = this.ctFtnEdn.AddNewTbl();

            table1.Set(table);
            XWPFTable xwpfTable = new XWPFTable(table1, (IBody)this);

            this.tables.Add(xwpfTable);
            return(xwpfTable);
        }