Home
last modified time | relevance | path

Searched refs:nScTab (Results 1 – 25 of 54) sorted by relevance

123

/trunk/main/sc/source/filter/excel/
H A Dxelink.cxx668 for( nScTab = 0; nScTab < mnScCnt; ++nScTab ) in XclExpTabInfo()
731 for( nScTab = 0; nScTab < mnScCnt; ++nScTab ) in XclExpTabInfo()
822 for( nScTab = 0; nScTab < mnScCnt; ++nScTab ) in CalcXclIndexes()
835 for( nScTab = 0; nScTab < mnScCnt; ++nScTab ) in CalcXclIndexes()
864 for( nScTab = 0; nScTab < mnScCnt; ++nScTab ) in CalcSortedIndexes()
866 rDoc.GetName( nScTab, aVec[ nScTab ].first ); in CalcSortedIndexes()
867 aVec[ nScTab ].second = nScTab; in CalcSortedIndexes()
874 for( nScTab = 0; nScTab < mnScCnt; ++nScTab ) in CalcSortedIndexes()
877 maToSortedVec[ aVec[ nScTab ].second ] = nScTab; in CalcSortedIndexes()
2057 for( SCTAB nScTab = 0, nScCnt = rTabInfo.GetScTabCount(); nScTab < nScCnt; ++nScTab ) in CreateInternal() local
[all …]
H A Dxlescher.cxx54 XclObjId::XclObjId( SCTAB nScTab, sal_uInt16 nObjId ) : in XclObjId() argument
55 mnScTab( nScTab ), in XclObjId()
109 ScDocument& rDoc, SCTAB nScTab, sal_uInt16& rnXclCol, in lclGetColFromX() argument
128 ScDocument& rDoc, SCTAB nScTab, sal_uInt16& rnXclRow, in lclGetRowFromY() argument
138 nRowH = rDoc.GetRowHeight( nRow, nScTab ); in lclGetRowFromY()
182 lclGetXFromCol( rDoc, nScTab, maFirst.mnCol, mnLX, fScale ), in GetRect()
183 lclGetYFromRow( rDoc, nScTab, maFirst.mnRow, mnTY, fScale ), in GetRect()
184 lclGetXFromCol( rDoc, nScTab, maLast.mnCol, mnRX + 1, fScale ), in GetRect()
185 lclGetYFromRow( rDoc, nScTab, maLast.mnRow, mnBY, fScale ) ); in GetRect()
188 if( rDoc.IsLayoutRTL( nScTab ) ) in GetRect()
[all …]
H A Dxename.cxx62 void SetLocalTab( SCTAB nScTab );
251 void XclExpName::SetLocalTab( SCTAB nScTab ) in SetLocalTab() argument
254 if( GetTabInfo().IsExportTab( nScTab ) ) in SetLocalTab()
256 mnScTab = nScTab; in SetLocalTab()
402 xName->SetLocalTab( nScTab ); in InsertBuiltInName()
412 xName->SetLocalTab( nScTab ); in InsertUniqueName()
625 if( rTabInfo.IsExportTab( nScTab ) ) in CreateBuiltInNames()
636 aRange.aStart.SetTab( nScTab ); in CreateBuiltInNames()
637 aRange.aEnd.SetTab( nScTab ); in CreateBuiltInNames()
653 pColRange->aStart.Col(), 0, nScTab, in CreateBuiltInNames()
[all …]
H A Dcolrowst.cxx181 void XclImpColRowSettings::Convert( SCTAB nScTab ) in Convert() argument
187 rDoc.IncSizeRecalcLevel( nScTab ); in Convert()
202 rDoc.SetColWidthOnly( nScCol, nScTab, nWidth ); in Convert()
208 rDoc.SetRowHeightOnly( 0, MAXROW, nScTab, mnDefHeight ); in Convert()
211 rDoc.SetRowFlags( 0, MAXROW, nScTab, CR_MANUALSIZE ); in Convert()
240 … rDoc.SetRowFlags( nScRow, nScTab, rDoc.GetRowFlags( nScRow, nScTab ) | CR_MANUALSIZE ); in Convert()
273 rDoc.DecSizeRecalcLevel( nScTab ); in Convert()
276 void XclImpColRowSettings::ConvertHiddenFlags( SCTAB nScTab ) in ConvertHiddenFlags() argument
284 rDoc.SetColHidden( nScCol, nScCol, nScTab, sal_True ); in ConvertHiddenFlags()
288 rDoc.SetColHidden( mnMaxCol + 1, MAXCOL, nScTab, sal_True ); in ConvertHiddenFlags()
[all …]
H A Dimpop.cxx246 SCTAB nScTab = GetCurrScTab(); in ReadDimensions() local
248 GetAddressConverter().ConvertRange( rScUsedArea, aXclUsedArea, nScTab, nScTab, false ); in ReadDimensions()
268 GetAddressConverter().ConvertRange( rScUsedArea, aXclUsedArea, nScTab, nScTab, false ); in ReadDimensions()
729 if( nScTab > 0 ) in Boundsheet()
732 pD->MakeTable( nScTab ); in Boundsheet()
741 pD->RenameTab( nScTab, aName ); in Boundsheet()
923 SCTAB nScTab = GetCurrScTab(); in Cellmerging() local
932 if( rAddrConv.ConvertRange( aScRange, aXclRange, nScTab, nScTab, true ) ) in Cellmerging()
944 SCTAB nScTab = GetCurrScTab(); in Olesize() local
945 GetAddressConverter().ConvertRange( maScOleSize, aXclOleSize, nScTab, nScTab, false ); in Olesize()
[all …]
H A Dexcdoc.cxx142 aRecList.AppendNewRecord( new ExcEScenarioManager( rRoot, nScTab ) ); in lcl_AddScenariosAndFilters()
144 aRecList.AppendRecord( rRoot.GetFilterManager().CreateRecord( nScTab ) ); in lcl_AddScenariosAndFilters()
157 ExcTable::ExcTable( const XclExpRoot& rRoot, SCTAB nScTab ) : in ExcTable() argument
159 mnScTab( nScTab ), in ExcTable()
160 nExcTab( rRoot.GetTabInfo().GetXclTab( nScTab ) ), in ExcTable()
720 SCTAB nScTab = 0, nScTabCount = GetTabInfo().GetScTabCount(); in ReadDoc() local
723 for( ; nScTab < nScTabCount; ++nScTab ) in ReadDoc()
725 if( GetTabInfo().IsExportTab( nScTab ) ) in ReadDoc()
727 ExcTableList::RecordRefType xTab( new ExcTable( GetRoot(), nScTab ) ); in ReadDoc()
733 for( ; nCodeNameIdx < nCodeNameCount; ++nScTab, ++nCodeNameIdx ) in ReadDoc()
[all …]
H A Dxiview.cxx215 SCTAB nScTab = GetCurrScTab(); in Finalize() local
218 ScExtTabSettings& rTabSett = GetExtDocOptions().GetOrCreateTabSettings( nScTab ); in Finalize()
219 bool bDisplayed = GetDocViewSettings().GetDisplScTab() == nScTab; in Finalize()
226 rDoc.SetLayoutRTL( nScTab, sal_True ); in Finalize()
230 rTabSett.maFirstVis = rAddrConv.CreateValidAddress( maData.maFirstXclPos, nScTab, false ); in Finalize()
231 rTabSett.maSecondVis = rAddrConv.CreateValidAddress( maData.maSecondXclPos, nScTab, false ); in Finalize()
236 rTabSett.maCursor = rAddrConv.CreateValidAddress( pSelData->maXclCursor, nScTab, false ); in Finalize()
237 rAddrConv.ConvertRangeList( rTabSett.maSelection, pSelData->maXclSelection, nScTab, false ); in Finalize()
296 rDoc.SetTabBgColor(nScTab, maData.maTabBgColor); in Finalize()
H A Dxicontent.cxx170 ScAddress aScPos( nScCol, nScRow, nScTab ); in lclInsertUrl()
179 rDoc.GetString( nScCol, nScRow, nScTab, aDisplText ); in lclInsertUrl()
420 SCTAB nScTab = rRoot.GetCurrScTab(); in InsertUrl() local
422 if( rRoot.GetAddressConverter().ConvertRange( aScRange, rXclRange, nScTab, nScTab, true ) ) in InsertUrl()
426 aScRange.GetVars( nScCol1, nScRow1, nScTab, nScCol2, nScRow2, nScTab ); in InsertUrl()
429 lclInsertUrl( rRoot, aUrl, nScCol, nScRow, nScTab ); in InsertUrl()
441 SCTAB nScTab = rRoot.GetCurrScTab(); in ReadLabelranges() local
451 rAddrConv.ConvertRangeList( aRowScRanges, aRowXclRanges, nScTab, false ); in ReadLabelranges()
471 rAddrConv.ConvertRangeList( aColScRanges, aColXclRanges, nScTab, false ); in ReadLabelranges()
719 SCTAB nScTab = rRoot.GetCurrScTab(); in ReadDV() local
[all …]
H A Dxipivot.cxx232 GetDoc().SetString( nScCol, 0, nScTab, maFieldInfo.maName ); in WriteFieldNameToSource()
663 SCTAB nScTab = 0; // sheet index of source data in ReadPivotCacheStream() local
669 nScTab = GetTabInfo().GetScTabFromXclName( maTabName ); in ReadPivotCacheStream()
670 if( rDoc.HasTable( nScTab ) ) in ReadPivotCacheStream()
673 maSrcRange.aStart.SetTab( nScTab ); in ReadPivotCacheStream()
674 maSrcRange.aEnd.SetTab( nScTab ); in ReadPivotCacheStream()
695 nScTab = rDoc.GetTableCount(); in ReadPivotCacheStream()
696 rDoc.MakeTable( nScTab ); in ReadPivotCacheStream()
701 rDoc.RenameTab( nScTab, aDummyName ); in ReadPivotCacheStream()
703 maSrcRange.aStart.SetTab( nScTab ); in ReadPivotCacheStream()
[all …]
H A Dxihelper.cxx49 inline void lclFillAddress( ScAddress& rScPos, sal_uInt16 nXclCol, sal_uInt16 nXclRow, SCTAB nScTab in lclFillAddress() argument
53 rScPos.SetTab( nScTab ); in lclFillAddress()
83 const XclAddress& rXclPos, SCTAB nScTab, bool bWarn ) in ConvertAddress() argument
87 lclFillAddress( rScPos, rXclPos.mnCol, rXclPos.mnRow, nScTab ); in ConvertAddress()
92 const XclAddress& rXclPos, SCTAB nScTab, bool bWarn ) in CreateValidAddress() argument
95 if( !ConvertAddress( aScPos, rXclPos, nScTab, bWarn ) ) in CreateValidAddress()
99 aScPos.SetTab( limit_cast< SCTAB >( nScTab, 0, maMaxPos.Tab() ) ); in CreateValidAddress()
152 const XclRangeList& rXclRanges, SCTAB nScTab, bool bWarn ) in ConvertRangeList() argument
158 if( ConvertRange( aScRange, *aIt, nScTab, nScTab, bWarn ) ) in ConvertRangeList()
H A Dexcrecds.cxx461 XclExpWsbool::XclExpWsbool( bool bFitToPages, SCTAB nScTab, XclExpFilterManager* pManager ) in XclExpWsbool() argument
463 , mnScTab( nScTab ) in XclExpWsbool()
1016 void XclExpFilterManager::InitTabFilter( SCTAB nScTab ) in InitTabFilter() argument
1018 maFilterMap[ nScTab ].reset( new ExcAutoFilterRecs( GetRoot(), nScTab ) ); in InitTabFilter()
1021 XclExpRecordRef XclExpFilterManager::CreateRecord( SCTAB nScTab ) in CreateRecord() argument
1024 XclExpTabFilterMap::iterator aIt = maFilterMap.find( nScTab ); in CreateRecord()
1033 bool XclExpFilterManager::HasFilterMode( SCTAB nScTab ) in HasFilterMode() argument
1036 XclExpTabFilterMap::iterator aIt = maFilterMap.find( nScTab ); in HasFilterMode()
H A Dxistyle.cxx1206 SCTAB nScTab, sal_uLong nForceScNumFmt ) in ApplyPattern() argument
1224 rDoc.ApplyStyleAreaTab( nScCol1, nScRow1, nScCol2, nScRow2, nScTab, *mpStyleSheet ); in ApplyPattern()
1229 rDoc.ApplyPatternAreaTab( nScCol1, nScRow1, nScCol2, nScRow2, nScTab, rPattern ); in ApplyPattern()
1236 mpPooledPattern = rDoc.GetPattern(nScCol1, nScRow1, nScTab); in ApplyPattern()
1521 SCTAB nScTab, const XclImpXFIndex& rXFIndex ) in ApplyPattern() argument
1528 pXF->ApplyPattern( nScCol1, nScRow1, nScCol2, nScRow2, nScTab, nForceScNumFmt ); in ApplyPattern()
1816 rDoc.GetAttr( nFromScCol, nFromScRow, nScTab, ATTR_BORDER ) ); in SetBorderLine()
1822 rDoc.ApplyAttr( rRange.aStart.Col(), rRange.aStart.Row(), nScTab, aNewItem ); in SetBorderLine()
1844 SCTAB nScTab = GetCurrScTab(); in Finalize() local
1873 SetBorderLine( *pRange, nScTab, BOX_LINE_RIGHT ); in Finalize()
[all …]
H A Dexcimp8.cxx169 SCTAB nScTab = static_cast< SCTAB >( nBdshtTab ); in Boundsheet() local
170 if( nScTab > 0 ) in Boundsheet()
172 DBG_ASSERT( !pD->HasTable( nScTab ), "ImportExcel8::Boundsheet - sheet exists already" ); in Boundsheet()
173 pD->MakeTable( nScTab ); in Boundsheet()
178 pD->SetPendingRowHeights( nScTab, true ); in Boundsheet()
181 pD->SetVisible( nScTab, sal_False ); in Boundsheet()
183 if( !pD->RenameTab( nScTab, aName ) ) in Boundsheet()
186 pD->RenameTab( nScTab, aName ); in Boundsheet()
H A Dxladdress.cxx143 bool XclAddressConverterBase::CheckScTab( SCTAB nScTab, bool bWarn ) in CheckScTab() argument
145 bool bValid = (0 <= nScTab) && (nScTab <= maMaxPos.Tab()); in CheckScTab()
148 mbTabTrunc |= (nScTab > maMaxPos.Tab()); // do not warn for deleted refs in CheckScTab()
149 mrTracer.TraceInvalidTab( nScTab, maMaxPos.Tab() ); in CheckScTab()
H A Dxepivot.cxx644 SCTAB nScTab = maExpSrcRange.aStart.Tab(); in XclExpPivotCache() local
645 if( (nScTab == maExpSrcRange.aEnd.Tab()) && GetTabInfo().IsExportTab( nScTab ) ) in XclExpPivotCache()
653 GetDoc().GetDataStart( nScTab, nDocCol1, nDocRow1 ); in XclExpPivotCache()
654 GetDoc().GetPrintArea( nScTab, nDocCol2, nDocRow2, false ); in XclExpPivotCache()
678 GetDoc().GetName( nScTab, maTabName ); in XclExpPivotCache()
1682 mnScTab( nScTab ) in XclExpPivotRecWrapper()
1726 XclExpRecordRef XclExpPivotTableManager::CreatePivotTablesRecord( SCTAB nScTab ) in CreatePivotTablesRecord() argument
1728 return XclExpRecordRef( new XclExpPivotRecWrapper( *this, nScTab ) ); in CreatePivotTablesRecord()
1746 void XclExpPivotTableManager::WritePivotTables( XclExpStream& rStrm, SCTAB nScTab ) in WritePivotTables() argument
1751 if( xPTable->GetScTab() == nScTab ) in WritePivotTables()
[all …]
H A Dxipage.cxx220 SCTAB nScTab = GetCurrScTab(); in Finalize() local
226 if( GetDoc().GetName( nScTab, aTableName ) ) in Finalize()
229 aStyleName.Append( String::CreateFromInt32( nScTab + 1 ) ); in Finalize()
364 rDoc.SetPageStyle( nScTab, rStyleSheet.GetName() ); in Finalize()
374 rDoc.SetRowBreak(nScRow, nScTab, false, true); in Finalize()
381 rDoc.SetColBreak(nScCol, nScTab, false, true); in Finalize()
H A Dxeview.cxx299 XclExpTabViewSettings::XclExpTabViewSettings( const XclExpRoot& rRoot, SCTAB nScTab ) : in XclExpTabViewSettings() argument
306 maData.mbSelected = rTabInfo.IsSelectedTab( nScTab ); in XclExpTabViewSettings()
307 maData.mbDisplayed = rTabInfo.IsDisplayedTab( nScTab ); in XclExpTabViewSettings()
308 maData.mbMirrored = rTabInfo.IsMirroredTab( nScTab ); in XclExpTabViewSettings()
319 if( const ScExtTabSettings* pTabSett = GetExtDocOptions().GetTabSettings( nScTab ) ) in XclExpTabViewSettings()
396 if ( GetBiff() == EXC_BIFF8 && !GetDoc().IsDefaultTabBgColor(nScTab) ) in XclExpTabViewSettings()
399 maData.maTabBgColor = GetDoc().GetTabBgColor(nScTab); in XclExpTabViewSettings()
H A Dread.cxx101 sal_uInt16 nScTab = GetCurrScTab(); in Read() local
102 if( nScTab < maSheetOffsets.size() ) in Read()
105 nProgressBasePos = maSheetOffsets[ nScTab ]; in Read()
828 sal_uInt16 nScTab = GetCurrScTab(); in Read() local
829 if( nScTab < maSheetOffsets.size() ) in Read()
832 nProgressBasePos = maSheetOffsets[ nScTab ]; in Read()
836 if( nScTab > GetScMaxPos().Tab() ) in Read()
841 GetAddressConverter().CheckScTab( nScTab, true ); in Read()
H A Dxetable.cxx1589 SCTAB nScTab = GetCurrScTab(); in XclExpColinfo() local
1596 sal_uInt16 nScWidth = rDoc.GetColWidth( nScCol, nScTab ); in XclExpColinfo()
1818 SCTAB nScTab = GetCurrScTab(); in XclExpRow() local
1823 sal_uInt8 nRowFlags = GetDoc().GetRowFlags( nScRow, nScTab ); in XclExpRow()
1825 bool bHidden = GetDoc().RowHidden(nScRow, nScTab); in XclExpRow()
1832 mnHeight = GetDoc().GetRowHeight(nScRow, nScTab, false); in XclExpRow()
2315 SCTAB nScTab = GetCurrScTab(); in XclExpCellTable() local
2325 rDoc.GetTableArea( nScTab, nLastUsedScCol, nLastUsedScRow ); in XclExpCellTable()
2327 ScRange aUsedRange( 0, 0, nScTab, nLastUsedScCol, nLastUsedScRow, nScTab ); in XclExpCellTable()
2333 SCROW nFirstUnflaggedScRow = rDoc.GetLastFlaggedRow( nScTab ) + 1; in XclExpCellTable()
[all …]
H A Dxepage.cxx207 SCTAB nScTab = GetCurrScTab(); in XclExpPageSettings() local
209 …if( SfxStyleSheetBase* pStyleSheet = GetStyleSheetPool().Find( rDoc.GetPageStyle( nScTab ), SFX_ST… in XclExpPageSettings()
224 …maData.mbManualStart = maData.mnStartPage && (!nScTab || rDoc.NeedPageResetAfterTab( nScTab - 1 … in XclExpPageSettings()
304 rDoc.GetAllRowBreaks(aRowBreaks, nScTab, false, true); in XclExpPageSettings()
317 rDoc.GetAllColBreaks(aColBreaks, nScTab, false, true); in XclExpPageSettings()
H A Dxecontent.cxx546 SCTAB nScTab = GetCurrScTab(); in XclExpLabelranges() local
548 FillRangeList( maRowRanges, rRoot.GetDoc().GetRowNameRangesRef(), nScTab ); in XclExpLabelranges()
554 FillRangeList( maColRanges, rRoot.GetDoc().GetColNameRangesRef(), nScTab ); in XclExpLabelranges()
558 ScRangePairListRef xLabelRangesRef, SCTAB nScTab ) in FillRangeList() argument
563 if( rScRange.aStart.Tab() == nScTab ) in FillRangeList()
1390 SCTAB nScTab = rRoot.GetCurrScTab(); in XclExpWebQueryBuffer() local
1407 if( static_cast< SCTAB >( aDestRange.Sheet ) == nScTab ) in XclExpWebQueryBuffer()
1443 … sal_uInt16 nNameIdx = rNameMgr.InsertUniqueName( aUrlObj.getBase(), xTokArr, nScTab ); in XclExpWebQueryBuffer()
/trunk/main/sc/source/filter/inc/
H A Dxelink.hxx61 bool IsExportTab( SCTAB nScTab ) const;
63 bool IsExternalTab( SCTAB nScTab ) const;
65 bool IsVisibleTab( SCTAB nScTab ) const;
67 bool IsSelectedTab( SCTAB nScTab ) const;
69 bool IsDisplayedTab( SCTAB nScTab ) const;
71 bool IsMirroredTab( SCTAB nScTab ) const;
73 const String& GetScTabName( SCTAB nScTab ) const;
76 sal_uInt16 GetXclTab( SCTAB nScTab ) const;
100 bool GetFlag( SCTAB nScTab, sal_uInt8 nFlags ) const;
102 void SetFlag( SCTAB nScTab, sal_uInt8 nFlags, bool bSet = true );
[all …]
H A Dexcrecds.hxx358 …explicit XclExpWsbool( bool bFitToPages, SCTAB nScTab = -1, XclExpFilterManager…
483 void InitTabFilter( SCTAB nScTab );
486 XclExpRecordRef CreateRecord( SCTAB nScTab );
489 bool HasFilterMode( SCTAB nScTab );
H A Dxihelper.hxx57 const XclAddress& rXclPos, SCTAB nScTab, bool bWarn );
65 SCTAB nScTab, bool bWarn );
115 const XclRangeList& rXclRanges, SCTAB nScTab, bool bWarn );
H A Dxlroot.hxx232 SdrPage* GetSdrPage( SCTAB nScTab ) const;
279 inline void SetCurrScTab( SCTAB nScTab ) { mrData.mnScTab = nScTab; } in SetCurrScTab() argument

Completed in 210 milliseconds

123