Lines Matching refs:pDoc
121 ScDocument* pDoc = GetViewData()->GetDocument(); in GetBlockState() local
145 bDisable = pDoc->HasSelectedBlockMatrixFragment( in GetBlockState()
148 bDisable = pDoc->HasSelectedBlockMatrixFragment( in GetBlockState()
159 bDisable = pDoc->HasSelectedBlockMatrixFragment( in GetBlockState()
162 bDisable = pDoc->HasSelectedBlockMatrixFragment( in GetBlockState()
169 if (pDoc->GetChangeTrack()!=NULL &&nWhich ==SID_OPENDLG_TABOP) in GetBlockState()
176 bDisable = pDoc->HasSelectedBlockMatrixFragment( in GetBlockState()
178 || pDoc->HasSelectedBlockMatrixFragment( in GetBlockState()
180 || pDoc->HasSelectedBlockMatrixFragment( in GetBlockState()
182 || pDoc->HasSelectedBlockMatrixFragment( in GetBlockState()
275 ScDocument* pDoc = GetViewData()->GetDocShell()->GetDocument(); in GetCellState() local
289 CellType eType = pDoc->GetCellType( aCursor ); in GetCellState()
294 sal_uInt16 nLang = ScViewUtil::GetEffLanguage( pDoc, aCursor ); in GetCellState()
307 if (!pDoc->IsBlockEditable( aCursor.Tab(), aRange.aStart.Col(),aRange.aStart.Row(), in GetCellState()
327 if (!pDoc->IsBlockEditable( aCursor.Tab(), aCursor.Col(),aCursor.Row(), in GetCellState()
476 ScDocument* pDoc = GetViewData()->GetDocShell()->GetDocument(); in GetClipState() local
477 if (!pDoc->IsBlockEditable( nTab, nCol,nRow, nCol,nRow )) in GetClipState()
524 ScDocument* pDoc = pData->GetDocument(); in GetState() local
530 SCTAB nTabCount = pDoc->GetTableCount(); in GetState()
542 if (!pDoc->HasDetectiveOperations()) in GetState()
553 aRange.Format(aStr,nFlags,pDoc); in GetState()
564 if ( const ScPostIt* pNote = pDoc->GetNote( aPos ) ) in GetState()
585 pDoc->GetValue( nPosX, nPosY, nTab, nValue ); in GetState()
593 pDoc->GetFormula( nPosX, nPosY, nTab, aString ); in GetState()
596 pDoc->GetInputString( nPosX, nPosY, nTab, aString ); in GetState()
605 pDoc->GetString( nPosX, nPosY, nTab, aString ); in GetState()
653 if ( pDoc->IsInInterpreter() ) in GetState()
660 pDoc->GetCell( nPosX, nPosY, nTab, pCell ); in GetState()
678 if ( !pDoc->HasSelectionData( nPosX, nPosY, nTab ) && in GetState()
692 if ( pDoc->GetChangeTrack() || !pTabViewShell->TestMergeCells() ) in GetState()
697 if ( pDoc->GetChangeTrack() || !pTabViewShell->TestRemoveMerge() ) in GetState()
702 if ( pDoc->GetChangeTrack() ) in GetState()
716 if ( nPosY==0 || (pDoc->HasRowBreak(nPosY, nTab) & BREAK_MANUAL) ) in GetState()
721 if ( nPosX==0 || (pDoc->HasColBreak(nPosX, nTab) & BREAK_MANUAL) ) in GetState()
726 if ( nPosY==0 || (pDoc->HasRowBreak(nPosY, nTab) & BREAK_MANUAL) == 0 ) in GetState()
731 if ( nPosX==0 || (pDoc->HasColBreak(nPosX, nTab) & BREAK_MANUAL) == 0 ) in GetState()
748 if ( !pDoc->IsScenario(nTab) ) in GetState()
754 bool bSheetProtected = pDoc->IsTabProtected(nTab); in GetState()
756 while ( pDoc->IsScenario(nScTab) ) in GetState()
758 pDoc->GetName( nScTab, aStr ); in GetState()
760 pDoc->GetScenarioData( nScTab, aStr, aDummyCol, nFlags ); in GetState()
772 pDoc->GetScenarioData( nTab, aComment, aDummyCol, nDummyFlags ); in GetState()
792 if ( pDoc->IsTabProtected(nTab) || pDocSh->IsReadOnly()) in GetState()
816 else if (pDoc->GetChangeTrack()!=NULL || GetViewData()->IsMultiMarked()) in GetState()
862 SfxUInt16Item aWidthItem( FID_COL_WIDTH, pDoc->GetColWidth( nPosX , nTab) ); in GetState()
874 SfxUInt16Item aHeightItem( FID_ROW_HEIGHT, pDoc->GetRowHeight( nPosY , nTab) ); in GetState()
897 const ScPostIt* pNote = pDoc->GetNote( ScAddress( nPosX, nPosY, nTab ) ); in GetState()
898 if ( pNote && pDoc->IsBlockEditable( nTab, nPosX,nPosY, nPosX,nPosY ) ) in GetState()
910 if ( pDoc->IsSelectionEditable( rMark ) ) in GetState()
918 ScCellIterator aCellIter( pDoc, *aRanges.GetObject(nPos) ); in GetState()
927 bEnable = pDoc->IsBlockEditable( nTab, nPosX,nPosY, nPosX,nPosY ) && in GetState()
928 pDoc->GetNote( ScAddress( nPosX, nPosY, nTab ) ); in GetState()
938 if(pDoc->GetChangeTrack()!=NULL) in GetState()
974 if ( pDoc && pData && pDoc->IsTabProtected( pData->GetTabNo() ) ) in GetState()