Lines Matching refs:GetDoc
167 const SmNode *pTree = pViewShell->GetDoc()->GetFormulaTree(); in MouseButtonDown()
258 const SmNode *pTree = pViewShell->GetDoc()->GetFormulaTree(); in SetCursor()
293 const SmNode *pTree = pViewShell->GetDoc()->GetFormulaTree(), in SetCursorPos()
311 SmDocShell &rDoc = *pViewShell->GetDoc(); in Paint()
338 SmDocShell &rDoc = *pViewShell->GetDoc(); in SetTotalSize()
427 SmDocShell &rDoc = *pViewShell->GetDoc(); in ZoomToFitInWindow()
685 …uno::Reference< container::XChild > xModel( GetView()->GetDoc()->GetModel(), uno::UNO_QUERY_THROW … in IMPL_LINK()
804 return aGraphic.LogicToPixel( ((SmViewShell*)this)->GetDoc()->GetSize() ); in GetOptimalSizePixel()
840 if (GetDoc()->IsPreview()) in OuterResizePixel()
1082 Size aTitleSize (GetTextSize(rOutDev, GetDoc()->GetTitle(), aOutRect.GetWidth() - 200)); in Impl_Print()
1088 Size aDescSize (GetTextSize(rOutDev, GetDoc()->GetComment(), aOutRect.GetWidth() - 200)); in Impl_Print()
1101 DrawText(rOutDev, aPoint, GetDoc()->GetTitle(), in Impl_Print()
1111 DrawText(rOutDev, aPoint, GetDoc()->GetComment(), in Impl_Print()
1126 Size aSize (GetTextSize(rOutDev, GetDoc()->GetText(), aOutRect.GetWidth() - 200)); in Impl_Print()
1136 DrawText(rOutDev, aPoint, GetDoc()->GetText(), in Impl_Print()
1149 Size aSize (GetDoc()->GetSize()); in Impl_Print()
1199 GetDoc()->Draw(rOutDev, aPos); in Impl_Print()
1217 SmDocShell *pDoc = GetDoc(); in GetPrinter()
1227 SfxPrinter *pOld = GetDoc()->GetPrinter(); in SetPrinter()
1232 GetDoc()->SetPrinter( pNewPrinter ); in SetPrinter()
1283 DBG_ASSERT(GetDoc(), "Sm : Document missing"); in ShowError()
1284 if (pErrorDesc || 0 != (pErrorDesc = GetDoc()->GetParser().GetError(0)) ) in ShowError()
1297 DBG_ASSERT(GetDoc(), "Sm : Document missing"); in NextError()
1298 const SmErrorDesc *pErrorDesc = GetDoc()->GetParser().NextError(); in NextError()
1309 DBG_ASSERT(GetDoc(), "Sm : Document missing"); in PrevError()
1310 const SmErrorDesc *pErrorDesc = GetDoc()->GetParser().PrevError(); in PrevError()
1321 SmDocShell *pDoc = GetDoc(); in Insert()
1369 SmDocShell *pDoc = GetDoc(); in InsertFrom()
1443 GetDoc()->SetText( pWin->GetText() ); in Execute()
1446 GetDoc()->Repaint(); in Execute()
1479 Reference< datatransfer::XTransferable > xTrans( GetDoc()->GetModel(), uno::UNO_QUERY ); in Execute()
1513 GetDoc()->UpdateText(); in Execute()
1602 new ::sfx2::DocumentInserter( 0, GetDoc()->GetFactory().GetFactoryName(), 0 ); in Execute()
1624 GetDoc()->UpdateText(); in Execute()
1668 GetDoc()->UpdateText(); in Execute()
1721 if (pWin->GetText ().Len ()) GetDoc()->SetText( pWin->GetText() ); in Execute()
1733 SfxItemSet aSet( GetDoc()->GetPool(), SID_ATTR_ZOOM, SID_ATTR_ZOOM); in Execute()
1768 Size GraphicSize(pPrinter->LogicToPixel(GetDoc()->GetSize(), aMap)); in Execute()
1793 SmDocShell *pDoc = GetDoc(); in Execute()
1909 SfxShell::SetUndoManager( &GetDoc()->GetEditEngine().GetUndoManager() ); in SmViewShell()
1952 SmDocShell *pDoc = GetDoc(); in Activate()
1980 SmDocShell* pDoc = GetDoc(); in IMPL_LINK()