Lines Matching refs:pDoc
72 ScDocument* pDoc = pViewData->GetDocument(); in ExecuteTable() local
75 SCTAB nTabCount = pDoc->GetTableCount(); in ExecuteTable()
86 pDoc->GetName( nCurrentTab, aName ); in ExecuteTable()
102 if (pDoc->IsVisible(i)) in ExecuteTable()
104 if ( nVis<2 || !pDoc->IsDocEditable() || nTabSelCount > 1 ) in ExecuteTable()
108 if (pDoc->GetTable( aName, nHideTab )) in ExecuteTable()
124 if (pDoc->IsVisible(i)) in ExecuteTable()
126 if ( nVis<2 || !pDoc->IsDocEditable() || nTabSelCount > 1 ) in ExecuteTable()
140 pDoc->GetName( nCurrentTab, aName ); // aktuelle Tabelle in ExecuteTable()
145 if (pDoc->GetTable( aName, nHideTab )) in ExecuteTable()
182 if (!pDoc->IsVisible(i)) in ExecuteTable()
184 pDoc->GetName( i, aTabName ); in ExecuteTable()
213 if ( !pDoc->IsDocEditable() ) in ExecuteTable()
277 if(!pDoc->IsScenario(j)) in ExecuteTable()
320 if(!pDoc->IsScenario(j)) in ExecuteTable()
365 if ( !pDoc->IsDocEditable() ) in ExecuteTable()
369 ( pDoc->IsTabProtected( nTabNr ) || nTabSelCount > 1 ) ) in ExecuteTable()
426 pDoc->CreateValidTabName( aName ); in ExecuteTable()
432 pDoc->GetName( pViewData->GetTabNo(), aName ); in ExecuteTable()
494 if ( pDoc->GetChangeTrack() != NULL ) in ExecuteTable()
505 SCTAB nTableCount = pDoc->GetTableCount(); in ExecuteTable()
566 SCTAB nTableCount = pDoc->GetTableCount(); in ExecuteTable()
645 if(rMark.GetTableSelect(i) &&!pDoc->IsTabProtected(i)) in ExecuteTable()
667 sal_Bool bSet = !pDoc->IsLayoutRTL( nCurrentTab ); in ExecuteTable()
697 if ( !pDoc->IsDocEditable() ) in ExecuteTable()
700 if ( pDoc->IsTabProtected( nTabNr ) ) // ||nTabSelCount > 1 in ExecuteTable()
720 if ( rMark.GetTableSelect(nTab) && !pDoc->IsTabProtected(nTab) ) in ExecuteTable()
745 aTabBgColor = pDoc->GetTabBgColor( nCurrentTab ); in ExecuteTable()
768 if ( rMark.GetTableSelect(nTab) && !pDoc->IsTabProtected(nTab) ) in ExecuteTable()
829 ScDocument* pDoc = pViewData->GetDocument(); in GetStateTable() local
834 SCTAB nTabCount = pDoc->GetTableCount(); in GetStateTable()
846 rSet.Put( SfxBoolItem( nWhich, pDoc->IsVisible(nTab) )); in GetStateTable()
853 if (pDoc->IsVisible(i)) in GetStateTable()
856 if ( nVis<2 || !pDoc->IsDocEditable() || nTabSelCount > 1 ) in GetStateTable()
865 if (!pDoc->IsVisible(i)) in GetStateTable()
867 if ( !bHasHidden || pDoc->IsDocProtected() || nTabSelCount > 1 ) in GetStateTable()
874 if ( pDoc->GetChangeTrack() ) in GetStateTable()
880 if (pDoc->IsVisible(i)) in GetStateTable()
882 if ( pDoc->IsTabProtected(nTab) in GetStateTable()
883 || !pDoc->IsDocEditable() in GetStateTable()
894 if ( !pDoc->IsDocEditable() || in GetStateTable()
901 if ( !pDoc->IsDocEditable() in GetStateTable()
902 || pDoc->GetChangeTrack() != NULL in GetStateTable()
911 if ( !pDoc->IsDocEditable() || in GetStateTable()
912 pDoc->IsTabProtected(nTab) ||nTabSelCount > 1 || in GetStateTable()
920 pDoc->GetName( nTab, aTabName ); in GetStateTable()
933 rSet.Put( SfxBoolItem( nWhich, pDoc->IsLayoutRTL( nTab ) ) ); in GetStateTable()
939 if ( !pDoc->IsDocEditable() in GetStateTable()
941 || pDoc->IsTabProtected(nTab) ) in GetStateTable()
949 aColor = pDoc->GetTabBgColor( nTab ); in GetStateTable()