Examples of XTableRows


Examples of com.sun.star.table.XTableRows

         */
        public void reduceDocumentTo(int topics) throws Exception {
            // we never remove the first topic...
            if (topics <= 0)
                topics = 1;
            XTableRows tableRows = table.getRows();
            int targetNumOfRows = topics * rowsPerTopic + 1;
            if (tableRows.getCount() > targetNumOfRows)
                tableRows.removeByIndex(targetNumOfRows , tableRows.getCount() - targetNumOfRows );
            formatLastRow();
            while ( writtenTopics.size() > topics )
                writtenTopics.remove(topics);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.