Lines Matching refs:mpDoc
188 , mpDoc( rViewShellBase.GetDocument() ) in AnnotationManagerImpl()
192 SdOptions* pOptions = SD_MOD()->GetSdOptions(mpDoc->GetDocumentType()); in AnnotationManagerImpl()
276 SdOptions* pOptions = SD_MOD()->GetSdOptions(mpDoc->GetDocumentType()); in ShowAnnotations()
375 if( mpDoc->IsUndoEnabled() ) in InsertAnnotation()
376 mpDoc->BegUndo( String( SdResId( STR_ANNOTATION_UNDO_INSERT ) ) ); in InsertAnnotation()
439 if( mpDoc->IsUndoEnabled() ) in InsertAnnotation()
440 mpDoc->EndUndo(); in InsertAnnotation()
466 mpDoc->SetCalcFieldValueHdl( pOutliner.get() ); in ExecuteReplyToAnnotation()
525 if( mpDoc->IsUndoEnabled() ) in DeleteAnnotation()
526 mpDoc->BegUndo( String( SdResId( STR_ANNOTATION_UNDO_DELETE ) ) ); in DeleteAnnotation()
530 if( mpDoc->IsUndoEnabled() ) in DeleteAnnotation()
531 mpDoc->EndUndo(); in DeleteAnnotation()
539 if( mpDoc->IsUndoEnabled() ) in DeleteAnnotationsByAuthor()
540 mpDoc->BegUndo( String( SdResId( STR_ANNOTATION_UNDO_DELETE ) ) ); in DeleteAnnotationsByAuthor()
563 if( mpDoc->IsUndoEnabled() ) in DeleteAnnotationsByAuthor()
564 mpDoc->EndUndo(); in DeleteAnnotationsByAuthor()
569 if( mpDoc->IsUndoEnabled() ) in DeleteAllAnnotations()
570 mpDoc->BegUndo( String( SdResId( STR_ANNOTATION_UNDO_DELETE ) ) ); in DeleteAllAnnotations()
591 if( mpDoc->IsUndoEnabled() ) in DeleteAllAnnotations()
592 mpDoc->EndUndo(); in DeleteAllAnnotations()
733 bool bImpress = mpDoc->GetDocumentType() == DOCUMENT_TYPE_IMPRESS; in SelectNextAnnotation()
869 if( mxCurrentPage.is() && mpDoc ) try in CreateTags()
880 … Color aColor( GetColorLight( mpDoc->GetAnnotationAuthorIndex( xAnnotation->getAuthor() ) ) ); in CreateTags()
1184 if( nPageNum >= mpDoc->GetSdPageCount(PK_STANDARD)-1 ) in GetNextPage()
1187 …return mpDoc->GetMasterSdPage( (mpDoc->GetDocumentType() == DOCUMENT_TYPE_IMPRESS) ? 0 : 1, PK_STA… in GetNextPage()
1198 return mpDoc->GetSdPage(nPageNum, PK_STANDARD); in GetNextPage()
1204 if( nPageNum >= mpDoc->GetMasterSdPageCount(PK_STANDARD)-1 ) in GetNextPage()
1212 if( nPageNum == (mpDoc->GetDocumentType() == DOCUMENT_TYPE_IMPRESS) ? 0 : 1 ) in GetNextPage()
1215 return mpDoc->GetSdPage( mpDoc->GetSdPageCount(PK_STANDARD)-1, PK_STANDARD ); in GetNextPage()
1220 return mpDoc->GetMasterSdPage(nPageNum,PK_STANDARD); in GetNextPage()
1227 return mpDoc->GetSdPage(0, PK_STANDARD ); in GetFirstPage()
1232 return mpDoc->GetMasterSdPage( mpDoc->GetMasterSdPageCount(PK_STANDARD) - 1, PK_STANDARD ); in GetLastPage()