tablemodel.hxx (3334a7e6) | tablemodel.hxx (870c3792) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 72 unchanged lines hidden (view full) --- 81 TableModel( SdrTableObj* pTableObj ); 82 TableModel( SdrTableObj* pTableObj, const TableModelRef& xSourceTable ); 83 virtual ~TableModel(); 84 85 void init( sal_Int32 nColumns, sal_Int32 nRows ); 86 87 SdrTableObj* getSdrTableObj() const { return mpTableObj; } 88 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 72 unchanged lines hidden (view full) --- 81 TableModel( SdrTableObj* pTableObj ); 82 TableModel( SdrTableObj* pTableObj, const TableModelRef& xSourceTable ); 83 virtual ~TableModel(); 84 85 void init( sal_Int32 nColumns, sal_Int32 nRows ); 86 87 SdrTableObj* getSdrTableObj() const { return mpTableObj; } 88 |
89 /** deletes rows and columns that are completly merged. Must be called between BegUndo/EndUndo! */ | 89 /** deletes rows and columns that are completely merged. Must be called between BegUndo/EndUndo! */ |
90 void optimize(); 91 92 /// merges the cell at the given position with the given span 93 void merge( sal_Int32 nCol, sal_Int32 nRow, sal_Int32 nColSpan, sal_Int32 nRowSpan ); 94 95 // ICellRange 96 virtual sal_Int32 getLeft(); 97 virtual sal_Int32 getTop(); --- 124 unchanged lines hidden --- | 90 void optimize(); 91 92 /// merges the cell at the given position with the given span 93 void merge( sal_Int32 nCol, sal_Int32 nRow, sal_Int32 nColSpan, sal_Int32 nRowSpan ); 94 95 // ICellRange 96 virtual sal_Int32 getLeft(); 97 virtual sal_Int32 getTop(); --- 124 unchanged lines hidden --- |