Home
last modified time | relevance | path

Searched refs:nColumns (Results 1 – 25 of 78) sorted by relevance

1234

/trunk/main/filter/source/graphicfilter/ipsd/
H A Dipsd.cxx50 sal_uInt32 nColumns; member
372 if ( ++nX == mpFileHeader->nColumns ) in ImplReadBody()
393 if ( ++nX == mpFileHeader->nColumns ) in ImplReadBody()
422 if ( ++nX == mpFileHeader->nColumns ) in ImplReadBody()
439 if ( ++nX == mpFileHeader->nColumns ) in ImplReadBody()
471 if ( ++nX == mpFileHeader->nColumns ) in ImplReadBody()
488 if ( ++nX == mpFileHeader->nColumns ) in ImplReadBody()
512 if ( ++nX == mpFileHeader->nColumns ) in ImplReadBody()
530 if ( ++nX == mpFileHeader->nColumns ) in ImplReadBody()
690 if ( ++nX == mpFileHeader->nColumns ) in ImplReadBody()
[all …]
/trunk/main/sw/source/ui/dbui/
H A Dmailmergehelper.cxx212 sal_uInt16 nColumns; member
218 nColumns(1), in SwAddressPreview_Impl()
289 sal_uInt16 nSelectRow = nSelect / pImpl->nColumns; in SelectAddress()
328 pImpl->nColumns = nColumns; in SetLayout()
343 if(pImpl->nColumns) in UpdateScrollBar()
346 …t16 nResultingRows = (sal_uInt16)(pImpl->aAdresses.size() + pImpl->nColumns - 1) / pImpl->nColumns; in UpdateScrollBar()
380 sal_uInt16 nAddress = nStartRow * pImpl->nColumns; in Paint()
391 if((pImpl->nColumns * pImpl->nRows) == 1) in Paint()
407 if(rMEvt.IsLeft() && ( pImpl->nRows || pImpl->nColumns)) in MouseButtonDown()
419 sal_uInt32 nSelect = nRow * pImpl->nColumns + nCol; in MouseButtonDown()
[all …]
/trunk/main/sw/source/ui/utlui/
H A Dviewlayoutctrl.cxx99 const sal_uInt16 nColumns = static_cast<const SvxViewLayoutItem*>( pState )->GetValue(); in StateChanged() local
103 if ( 1 == nColumns ) in StateChanged()
106 else if ( 0 == nColumns ) in StateChanged()
109 else if ( bBookMode && 2 == nColumns ) in StateChanged()
170 sal_uInt16 nColumns = 1; in MouseButtonDown() local
178 nColumns = 1; in MouseButtonDown()
183 nColumns = 0; in MouseButtonDown()
188 nColumns = 2; in MouseButtonDown()
193 SvxViewLayoutItem aViewLayout( nColumns, bBookMode ); in MouseButtonDown()
/trunk/main/svx/source/table/
H A Dcellcursor.cxx290 void CellCursor::split_column( sal_Int32 nCol, sal_Int32 nColumns, std::vector< sal_Int32 >& rLeftO… in split_column() argument
301 nNewCols = std::max( nNewCols, nColumns - xCell->getColumnSpan() + 1 - rLeftOvers[nRow] ); in split_column()
353 sal_Int32 nSplitSpan = (nCellsAvailable / (nColumns + 1)) - 1; in split_column()
356 sal_Int32 nSplits = nColumns + 1; in split_column()
361 nSplitSpan = nCellsAvailable - ((nSplitSpan+1) * nColumns) - 1; in split_column()
394 void CellCursor::split_horizontal( sal_Int32 nColumns ) in split_horizontal() argument
401 split_column( nCol, nColumns, aLeftOvers ); in split_horizontal()
524 if( (nColumns < 0) || (nRows < 0) ) in split()
537 if( nColumns > 0 ) in split()
538 split_horizontal( nColumns ); in split()
[all …]
H A Dtablemodel.cxx155 sal_Int32 nColumns = nColCount; in TableModel() local
156 while( nColumns-- ) in TableModel()
157 (*maColumns[nColumns]) = (*xSourceTable->maColumns[nColumns]); in TableModel()
180 void TableModel::init( sal_Int32 nColumns, sal_Int32 nRows ) in init() argument
185 if( nColumns < 20 ) in init()
188 if( nRows && nColumns ) in init()
190 maColumns.resize( nColumns ); in init()
194 maRows[nRows].set( new TableRow( this, nRows, nColumns ) ); in init()
196 while( nColumns-- ) in init()
197 maColumns[nColumns].set( new TableColumn( this, nColumns ) ); in init()
H A Dtablerow.cxx57 TableRow::TableRow( const TableModelRef& xTableModel, sal_Int32 nRow, sal_Int32 nColumns ) in TableRow() argument
66 if( nColumns < 20 ) in TableRow()
69 if( nColumns ) in TableRow()
71 maCells.resize( nColumns ); in TableRow()
72 while( nColumns-- ) in TableRow()
73 maCells[ nColumns ] = mxTableModel->createCell(); in TableRow()
H A Dsvdotable.cxx236 void init( SdrTableObj* pTable, sal_Int32 nColumns, sal_Int32 nRows );
280 void SdrTableObjImpl::init( SdrTableObj* pTable, sal_Int32 nColumns, sal_Int32 nRows ) in init() argument
284 mxTable->init( nColumns, nRows ); in init()
744 if( nColumns <= 0 ) in SdrTableObj()
745 nColumns = 1; in SdrTableObj()
750 init( nColumns, nRows ); in SdrTableObj()
755 void SdrTableObj::init( sal_Int32 nColumns, sal_Int32 nRows ) in init() argument
761 mpImpl->init( this, nColumns, nRows ); in init()
2708 const sal_Int32 nColumns = rEnd.mnCol - rStart.mnCol + 1; in CloneRange() local
2727 for( sal_Int32 nCol = 0; nCol < nColumns; ++nCol ) try in CloneRange()
[all …]
/trunk/main/accessibility/source/extended/
H A DAccessibleBrowseBoxTableBase.cxx222 sal_uInt16 nColumns = mpBrowseBox->GetColumnCount(); in implGetColumnCount() local
224 if( nColumns && implHasHandleColumn() ) in implGetColumnCount()
225 --nColumns; in implGetColumnCount()
226 return nColumns; in implGetColumnCount()
256 sal_Int32 nColumns = implGetColumnCount(); in implGetRow() local
257 return nColumns ? (nChildIndex / nColumns) : 0; in implGetRow()
262 sal_Int32 nColumns = implGetColumnCount(); in implGetColumn() local
263 return nColumns ? (nChildIndex % nColumns) : 0; in implGetColumn()
H A DAccessibleGridControlTableBase.cxx226 sal_Int32 nColumns = m_aTable.GetColumnCount(); in implGetRow() local
227 return nColumns ? (nChildIndex / nColumns) : 0; in implGetRow()
232 sal_Int32 nColumns = m_aTable.GetColumnCount(); in implGetColumn() local
233 return nColumns ? (nChildIndex % nColumns) : 0; in implGetColumn()
H A DAccessibleGridControlTable.cxx268 sal_Int32 nColumns = m_aTable.GetColumnCount(); in selectAccessibleChild() local
269 sal_Int32 nRow = (nChildIndex / nColumns); in selectAccessibleChild()
279 sal_Int32 nColumns = m_aTable.GetColumnCount(); in isAccessibleChildSelected() local
280 sal_Int32 nRow = (nChildIndex / nColumns); in isAccessibleChildSelected()
308 sal_Int32 nColumns = m_aTable.GetColumnCount(); in getSelectedAccessibleChildCount() local
309 return selectedRows.getLength()*nColumns; in getSelectedAccessibleChildCount()
/trunk/main/starmath/source/
H A Ddialog.cxx1172 ((nSelectSymbol - v) / nColumns) * nLen), in Paint()
1212 case KEY_PAGEUP: n -= nColumns * nRows; break; in KeyInput()
1213 case KEY_PAGEDOWN: n += nColumns * nRows; break; in KeyInput()
1230 aVScrollBar.SetThumbPos(n / nColumns); in KeyInput()
1254 if (nColumns > 2 && nColumns % 2 != 0) in SmShowSymbolSet()
1255 nColumns--; in SmShowSymbolSet()
1258 DBG_ASSERT(nColumns > 0, "Sm : keine Spalten"); in SmShowSymbolSet()
1263 aOutputSize.Width() = nColumns * nLen; in SmShowSymbolSet()
1285 aVScrollBar.SetRange(Range(0, ((aSymbolSet.size() + (nColumns - 1)) / nColumns) - nRows)); in SetSymbolSet()
1304 ((nSelectSymbol - v) / nColumns) * nLen), in SelectSymbol()
[all …]
/trunk/main/sc/source/ui/Accessibility/
H A DAccessiblePreviewTable.cxx283 sal_Int32 nColumns = 1; in getAccessibleColumnExtentAt() local
300 nColumns = pItem->GetColMerge(); in getAccessibleColumnExtentAt()
306 return nColumns; in getAccessibleColumnExtentAt()
576 long nColumns = mpTableInfo->GetCols(); in getAccessibleChild() local
577 if ( nColumns > 0 ) in getAccessibleChild()
580 long nCol = nIndex % nColumns; in getAccessibleChild()
581 long nRow = nIndex / nColumns; in getAccessibleChild()
728 SCCOL nColumns = mpTableInfo->GetCols(); in GetBoundingBox() local
730 if ( nColumns > 0 && nRows > 0 ) in GetBoundingBox()
737 pColInfo[nColumns-1].nPixelEnd, in GetBoundingBox()
H A DAccessibleCsvControl.cxx1241 sal_Int32 nColumns = implGetSelColumnCount(); in getSelectedAccessibleChild() local
1242 if( nColumns == 0 ) in getSelectedAccessibleChild()
1245 sal_Int32 nRow = nSelectedChildIndex / nColumns; in getSelectedAccessibleChild()
1246 sal_Int32 nColumn = implGetSelColumn( nSelectedChildIndex % nColumns ); in getSelectedAccessibleChild()
1255 sal_Int32 nColumns = implGetSelColumnCount(); in deselectAccessibleChild() local
1256 if( nColumns == 0 ) in deselectAccessibleChild()
1259 sal_Int32 nColumn = implGetSelColumn( nSelectedChildIndex % nColumns ); in deselectAccessibleChild()
1260 ensureValidPosition( nSelectedChildIndex / nColumns, nColumn ); in deselectAccessibleChild()
/trunk/main/sc/source/filter/xml/
H A DXMLDDELinksContext.cxx94 nColumns(0), in ScXMLDDELinkContext()
157 if (nPosition > -1 && nColumns && nRows && GetScImport().GetDocument()) in EndElement()
159 bool bSizeMatch = (static_cast<size_t>(nColumns * nRows) == aDDELinkTable.size()); in EndElement()
166 if (!bSizeMatch && nColumns == 1) in EndElement()
168 nColumns = aDDELinkTable.size() / nRows; in EndElement()
169 DBG_ASSERT( static_cast<size_t>(nColumns * nRows) == aDDELinkTable.size(), in EndElement()
172 … ScMatrixRef pMatrix = new ScMatrix( static_cast<SCSIZE>(nColumns), static_cast<SCSIZE>(nRows) ); in EndElement()
180 if (nIndex % nColumns == 0) in EndElement()
H A DXMLCellRangeSourceContext.cxx42 nColumns( 0 ), in ScMyImpCellRangeSource()
89 pCellRangeSource->nColumns = nValue; in ScXMLCellRangeSourceContext()
91 pCellRangeSource->nColumns = 1; in ScXMLCellRangeSourceContext()
/trunk/main/svx/source/items/
H A Dviewlayoutitem.cxx44 sal_uInt16 nColumns, in SvxViewLayoutItem() argument
48 : SfxUInt16Item( _nWhich, nColumns ), in SvxViewLayoutItem()
147 sal_Int32 nColumns( 0 ); in PutValue() local
155 bAllConverted &= ( aSeq[i].Value >>= nColumns ); in PutValue()
167 SetValue( (sal_uInt16)nColumns ); in PutValue()
/trunk/main/cui/source/dialogs/
H A Dzoom.cxx281 const sal_uInt16 nColumns = static_cast<const SvxViewLayoutItem*>(pViewLayoutItem)->GetValue(); in SvxZoomDialog() local
284 if ( 0 == nColumns ) in SvxZoomDialog()
291 else if ( 1 == nColumns) in SvxZoomDialog()
303 aColumnsEdit.SetValue( nColumns ); in SvxZoomDialog()
304 if ( 0 != nColumns % 2 ) in SvxZoomDialog()
309 aColumnsEdit.SetValue( nColumns ); in SvxZoomDialog()
/trunk/main/toolkit/workben/layout/
H A Dzoom.cxx389 const USHORT nColumns = static_cast<const SvxViewLayoutItem*>(pViewLayoutItem)->GetValue(); in SvxZoomDialog() local
392 if ( 0 == nColumns ) in SvxZoomDialog()
399 else if ( 1 == nColumns) in SvxZoomDialog()
411 aColumnsEdit.SetValue( nColumns ); in SvxZoomDialog()
412 if ( 0 != nColumns % 2 ) in SvxZoomDialog()
417 aColumnsEdit.SetValue( nColumns ); in SvxZoomDialog()
/trunk/main/sd/source/ui/table/
H A Dtablefunction.cxx119 sal_Int32 nColumns = 0; in FuTable() local
128 nColumns = pCols->GetValue(); in FuTable()
136 if( (nColumns == 0) || (nRows == 0) ) in FuTable()
144 nColumns = pDlg->getColumns(); in FuTable()
169 …::sdr::table::SdrTableObj* pObj = new ::sdr::table::SdrTableObj( GetDoc(), aRect, nColumns, nRows … in FuTable()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/util/
H A DTableDsc.java45 public TableDsc( int nRows, int nColumns ) { in TableDsc() argument
47 columns = nColumns; in TableDsc()
51 public TableDsc( String TableName, int nRows, int nColumns ) { in TableDsc() argument
54 columns = nColumns; in TableDsc()
/trunk/main/dbaccess/source/ui/dlg/
H A Dqueryorder.cxx207 sal_Int32 nColumns = xOrderColumns->getCount(); in IMPL_LINK_INLINE_END() local
208 if ( nColumns > DOG_ROWS ) in IMPL_LINK_INLINE_END()
209 nColumns = DOG_ROWS; in IMPL_LINK_INLINE_END()
211 for ( sal_Int32 i = 0; i < nColumns; ++i ) in IMPL_LINK_INLINE_END()
/trunk/main/vcl/source/gdi/
H A Dprint3.cxx192 if( maMultiPage.nRows * maMultiPage.nColumns > 1 && ! bNoNUP ) in getRealPaperSize()
425 aMPS.nColumns = nCols > 1 ? nCols : 1; in ImplPrintJob()
989 int nSubPages = rMPS.nRows * rMPS.nColumns; in getFilteredPageFile()
1041 long nAdvX = aMPArea.Width() / rMPS.nColumns; in getFilteredPageFile()
1072 nCellX = (nSubPage % rMPS.nColumns); in getFilteredPageFile()
1073 nCellY = (nSubPage / rMPS.nColumns); in getFilteredPageFile()
1080 nCellX = rMPS.nColumns - 1 - (nSubPage % rMPS.nColumns); in getFilteredPageFile()
1081 nCellY = (nSubPage / rMPS.nColumns); in getFilteredPageFile()
1084 nCellX = rMPS.nColumns - 1 - (nSubPage / rMPS.nRows); in getFilteredPageFile()
1123 int nDiv = mpImplData->maMultiPage.nRows * mpImplData->maMultiPage.nColumns; in getFilteredPageCount()
[all …]
/trunk/main/sw/source/ui/uiview/
H A Dviewmdi.cxx249 void SwView::SetViewLayout( sal_uInt16 nColumns, bool bBookMode, sal_Bool bViewOnly ) in SetViewLayout() argument
266 if ( nColumns != pUsrPref->GetViewLayoutColumns() || in SetViewLayout()
269 pUsrPref->SetViewLayoutColumns( nColumns ); in SetViewLayout()
280 if ( nColumns != pOpt->GetViewLayoutColumns() || in SetViewLayout()
284 aOpt.SetViewLayoutColumns( nColumns ); in SetViewLayout()
/trunk/main/xmlhelp/source/cxxhelp/inc/qe/
H A DQuery.hxx43 QueryHit( sal_Int32 nColumns,double penalty,sal_Int32 doc,sal_Int32 begin,sal_Int32 end ) in QueryHit() argument
47 matchesL_( 2*nColumns ), in QueryHit()
48 matches_( new sal_Int32[ 2*nColumns ] ), in QueryHit()
/trunk/main/vcl/source/window/
H A Darrange.cxx842 sal_uInt32 nRows = 0, nColumns = 0; in getOptimalSize() local
846 if( it->m_nX >= nColumns ) in getOptimalSize()
847 nColumns = it->m_nX+1; in getOptimalSize()
853 o_rColumnWidths = std::vector< long >( nColumns, 0 ); in getOptimalSize()
855 o_rColumnPrio = std::vector< sal_Int32 >( nColumns, 0 ); in getOptimalSize()
876 for( sal_uInt32 i = 0; i < nColumns; i++ ) in getOptimalSize()
878 if( nColumns > 0 ) in getOptimalSize()

Completed in 113 milliseconds

1234