Home
last modified time | relevance | path

Searched refs:nColumnCount (Results 1 – 25 of 46) sorted by relevance

12

/aoo41x/main/sd/source/ui/sidebar/
H A DPreviewValueSet.cxx115 int nColumnCount = 0; in CalculateColumnCount() local
119 if (nColumnCount < 1) in CalculateColumnCount()
120 nColumnCount = 1; in CalculateColumnCount()
121 else if (mnMaxColumnCount>0 && nColumnCount>mnMaxColumnCount) in CalculateColumnCount()
122 nColumnCount = mnMaxColumnCount; in CalculateColumnCount()
124 return (sal_uInt16)nColumnCount; in CalculateColumnCount()
134 if (nColumnCount > 0) in CalculateRowCount()
136 nRowCount = (nItemCount+nColumnCount-1) / nColumnCount; in CalculateRowCount()
159 int nColumnCount = (GetItemCount()+nRowCount-1) / nRowCount; in GetPreferredWidth() local
160 if (nColumnCount > 0) in GetPreferredWidth()
[all …]
H A DLayoutMenu.cxx313 if (nColumnCount <= 0) in GetHeightForWidth()
314 nColumnCount = 1; in GetHeightForWidth()
315 else if (nColumnCount > 4) in GetHeightForWidth()
316 nColumnCount = 4; in GetHeightForWidth()
317 int nRowCount = (GetItemCount() + nColumnCount-1) / nColumnCount; in GetHeightForWidth()
369 if (nColumnCount < 1) in Resize()
370 nColumnCount = 1; in Resize()
371 else if (nColumnCount > 4) in Resize()
372 nColumnCount = 4; in Resize()
452 if (GetItemCount() > 0 && nColumnCount > 0) in CalculateRowCount()
[all …]
H A DPreviewValueSet.hxx64 sal_uInt16 CalculateRowCount (sal_uInt16 nColumnCount) const;
/aoo41x/main/svx/source/sidebar/
H A DColorPanel.cxx70 if (nColumnCount <= 0) in GetPreferredHeight()
71 nColumnCount = 1; in GetPreferredHeight()
72 else if (nColumnCount > 4) in GetPreferredHeight()
73 nColumnCount = 4; in GetPreferredHeight()
75 / nColumnCount; in GetPreferredHeight()
99 if (nColumnCount < 1) in Resize()
100 nColumnCount = 1; in Resize()
101 else if (nColumnCount > 4) in Resize()
102 nColumnCount = 4; in Resize()
106 SetColCount((sal_uInt16)nColumnCount); in Resize()
[all …]
H A DColorPanel.hxx53 int CalculateRowCount (const Size& rItemSize, int nColumnCount);
/aoo41x/main/svx/source/sidebar/debug/
H A DColorPanel.cxx70 if (nColumnCount <= 0) in GetPreferredHeight()
71 nColumnCount = 1; in GetPreferredHeight()
72 else if (nColumnCount > 4) in GetPreferredHeight()
73 nColumnCount = 4; in GetPreferredHeight()
75 / nColumnCount; in GetPreferredHeight()
99 if (nColumnCount < 1) in Resize()
100 nColumnCount = 1; in Resize()
101 else if (nColumnCount > 4) in Resize()
102 nColumnCount = 4; in Resize()
106 SetColCount((sal_uInt16)nColumnCount); in Resize()
[all …]
H A DColorPanel.hxx53 int CalculateRowCount (const Size& rItemSize, int nColumnCount);
/aoo41x/main/sd/source/ui/slidesorter/controller/
H A DSlsFocusManager.cxx71 const sal_Int32 nColumnCount (mrSlideSorter.GetView().GetLayouter().GetColumnCount()); in MoveFocus() local
95 const sal_Int32 nCandidate (mnPageIndex - nColumnCount); in MoveFocus()
103 const sal_Int32 nLastColumn (nLastIndex % nColumnCount); in MoveFocus()
104 const sal_Int32 nCurrentColumn (mnPageIndex%nColumnCount); in MoveFocus()
114 - nColumnCount in MoveFocus()
129 const sal_Int32 nCandidate (mnPageIndex + nColumnCount); in MoveFocus()
135 mnPageIndex = mnPageIndex % nColumnCount; in MoveFocus()
H A DSlsSlotManager.cxx167 sal_Int32 nColumnCount = pPagesPerRow->GetValue(); in FuTemporary() local
172 nColumnCount, nColumnCount); in FuTemporary()
/aoo41x/main/svtools/source/contnr/
H A Dsvtabbx.cxx976 const sal_uInt16 nColumnCount = GetColumnCount(); in CreateAccessibleCell() local
981 sal_Int32 nCount = ( GetRowCount() + 1 ) * nColumnCount; in CreateAccessibleCell()
985 nIndex = ( _nRow * nColumnCount ) + _nColumnPos + nColumnCount; in CreateAccessibleCell()
1019 const sal_uInt16 nColumnCount = GetColumnCount(); in CreateAccessibleColumnHeader() local
1021 nColumnCount : ( GetRowCount() + 1 ) * nColumnCount; in CreateAccessibleColumnHeader()
1091 sal_uInt16 nColumnCount = GetColumnCount(); in GetAccessibleObjectName() local
1092 if (nColumnCount > 0) in GetAccessibleObjectName()
1094 sal_Int32 nRow = _nPos / nColumnCount; in GetAccessibleObjectName()
1131 sal_uInt16 nColumnCount = GetColumnCount(); in GetAccessibleObjectDescription() local
1132 if (nColumnCount > 0) in GetAccessibleObjectDescription()
[all …]
/aoo41x/main/odk/examples/DevelopersGuide/Charts/
H A DCalcHelper.java213 public XCellRange insertRandomRange( int nColumnCount, int nRowCount ) in insertRandomRange() argument
225 nColumnCount - 1, nRowCount - 1 ); in insertRandomRange()
234 for( nCol = 0; nCol < nColumnCount; nCol++ ) in insertRandomRange()
276 public XCellRange insertFormulaRange( int nColumnCount, int nRowCount ) in insertFormulaRange() argument
288 nColumnCount - 1, nRowCount - 1 ); in insertFormulaRange()
296 int nFactorCol = nColumnCount + 2; in insertFormulaRange()
302 for( nCol = 0; nCol < nColumnCount; nCol++ ) in insertFormulaRange()
/aoo41x/main/sd/source/ui/table/
H A DTableDesignPane.cxx222 …int nColumnCount = (pValueSet->GetSizePixel().Width() - pValueSet->GetScrollWidth()) / aItemSize.W… in GetHeightForWidth() local
223 if (nColumnCount < 1) in GetHeightForWidth()
224 nColumnCount = 1; in GetHeightForWidth()
226 int nRowCount = (pValueSet->GetItemCount() + nColumnCount - 1) / nColumnCount; in GetHeightForWidth()
472 … int nColumnCount = (aValueSetSize.Width() - pValueSet->GetScrollWidth()) / aItemSize.Width(); in updateLayout() local
473 if (nColumnCount < 1) in updateLayout()
474 nColumnCount = 1; in updateLayout()
476 int nRowCount = (pValueSet->GetItemCount() + nColumnCount - 1) / nColumnCount; in updateLayout()
484 pValueSet->SetColCount ((sal_uInt16)nColumnCount); in updateLayout()
/aoo41x/main/sw/source/ui/frmdlg/
H A Dcolex.cxx213 sal_uInt16 nColumnCount; in DrawPage() local
214 if( pColMgr && 0 != (nColumnCount = pColMgr->GetCount())) in DrawPage()
252 for(i = 0; i < nColumnCount; ++i) in DrawPage()
254 nAutoColWidth = nColumnWidthSum / nColumnCount; in DrawPage()
258 for( i = 0; i < nColumnCount; i++) in DrawPage()
264 if(i < nColumnCount - 1) in DrawPage()
290 for( i = 0; i < nColumnCount - 1; i++) in DrawPage()
/aoo41x/main/xmloff/source/table/
H A DXMLTableExport.cxx231 const sal_Int32 nColumnCount = xIndexAccessCols->getCount(); in collectTableAutoStyles() local
232 for( sal_Int32 nColumn = 0; nColumn < nColumnCount; ++nColumn ) try in collectTableAutoStyles()
269 for ( sal_Int32 nColumn = 0; nColumn < nColumnCount; ++nColumn ) in collectTableAutoStyles()
395 const sal_Int32 nColumnCount = xtableColumnsIndexAccess->getCount(); in ExportTableColumns() local
396 for( sal_Int32 nColumn = 0; nColumn < nColumnCount; ++nColumn ) in ExportTableColumns()
/aoo41x/main/accessibility/workben/org/openoffice/accessibility/awb/view/
H A DTableView.java93 int nColumnCount = mxTable.getAccessibleColumnCount(); in Update() local
95 maColumnCountLabel.setText (Integer.toString (nColumnCount)); in Update()
96 maCellCountLabel.setText (Integer.toString (nRowCount*nColumnCount)); in Update()
/aoo41x/main/chart2/source/tools/
H A DInternalData.cxx92 const sal_Int32 nColumnCount = 3; in createDefaultData() local
95 m_nColumnCount = nColumnCount; in createDefaultData()
96 const sal_Int32 nSize = nColumnCount * nRowCount; in createDefaultData()
279 bool InternalData::enlargeData( sal_Int32 nColumnCount, sal_Int32 nRowCount ) in enlargeData() argument
281 sal_Int32 nNewColumnCount( ::std::max<sal_Int32>( m_nColumnCount, nColumnCount ) ); in enlargeData()
H A DExplicitCategoriesProvider.cxx106 sal_Int32 nColumnCount = aColumns.getLength(); in ExplicitCategoriesProvider() local
108 if( nColumnCount>1 && nRowCount>1 ) in ExplicitCategoriesProvider()
/aoo41x/main/connectivity/source/parse/
H A DPColumn.cxx102 sal_Int32 nColumnCount = _rxResMetaData->getColumnCount(); in createColumnsForResultSet() local
103 ::vos::ORef< OSQLColumns > aReturn( new OSQLColumns ); aReturn->get().reserve( nColumnCount ); in createColumnsForResultSet()
106 for ( sal_Int32 i = 1; i <= nColumnCount; ++i ) in createColumnsForResultSet()
/aoo41x/main/connectivity/qa/complex/connectivity/
H A DJdbcLongVarCharTest.java86 int nColumnCount = xRsMetaData.getColumnCount(); in testLongVarChar() local
89 for (int i = 1; i <= nColumnCount; ++i) in testLongVarChar()
/aoo41x/main/odk/examples/DevelopersGuide/Database/
H A DSales.java231 int nColumnCount = xRsMetaData.getColumnCount(); in displayColumnNames() local
232 for(int i=1 ; i <= nColumnCount ; ++i) in displayColumnNames()
/aoo41x/main/qadevOOo/runner/convwatch/
H A DDB.java272 … int nColumnCount = aResultSetMetaData.getColumnCount(); // java sql starts with '1' in QuerySQL() local
288 for (int i=1;i<=nColumnCount;i++) in QuerySQL()
/aoo41x/main/dbaccess/source/core/api/
H A DStaticSet.cxx140 sal_Int32 nColumnCount = m_xSetMetaData->getColumnCount(); in fillAllRows() local
143 ORowSetRow pRow = new connectivity::ORowVector< connectivity::ORowSetValue >(nColumnCount); in fillAllRows()
/aoo41x/main/sfx2/source/sidebar/
H A DGridLayouter.cxx169 CellDescriptor& CellDescriptor::SetGridWidth (const sal_Int32 nColumnCount) in SetGridWidth() argument
171 mnGridWidth = nColumnCount; in SetGridWidth()
/aoo41x/main/connectivity/source/drivers/file/
H A DFResultSet.cxx1395 sal_Int32 nColumnCount = m_xColsIdx->getCount(); in OpenImpl() local
1397 initializeRow(m_aRow,nColumnCount); in OpenImpl()
1398 initializeRow(m_aEvaluateRow,nColumnCount); in OpenImpl()
1399 initializeRow(m_aInsertRow,nColumnCount); in OpenImpl()
/aoo41x/main/sfx2/inc/sfx2/sidebar/
H A DGridLayouter.hxx95 CellDescriptor& SetGridWidth (const sal_Int32 nColumnCount);

Completed in 272 milliseconds

12