/trunk/main/sw/source/ui/uno/ |
H A D | SwXDocumentSettings.cxx | 217 , mpDoc ( NULL ) in SwXDocumentSettings() 290 mpDoc = mpDocSh->GetDoc(); in _preSetValues() 292 if( NULL == mpDoc || NULL == mpDocSh ) in _preSetValues() 463 SwDBData aData = mpDoc->GetDBData(); in _setSingleValue() 465 mpDoc->ChgDBData( aData ); in _setSingleValue() 470 SwDBData aData = mpDoc->GetDBData(); in _setSingleValue() 472 mpDoc->ChgDBData( aData ); in _setSingleValue() 479 mpDoc->ChgDBData( aData ); in _setSingleValue() 717 mpDoc = 0; in _postSetValues() 724 mpDoc = mpDocSh->GetDoc(); in _preGetValues() [all …]
|
/trunk/main/sw/source/ui/app/ |
H A D | docshini.cxx | 366 mpDoc(0), in SwDocShell() 385 mpDoc(0), in SwDocShell() 404 mpDoc(pD), in SwDocShell() 424 if( mpDoc ) in ~SwDocShell() 464 if( !mpDoc ) in AddLink() 468 mpDoc->acquire(); in AddLink() 472 mpDoc->acquire(); in AddLink() 494 if( mpDoc ) in UpdateFontList() 515 if(mpDoc) in RemoveLink() 526 delete mpDoc; in RemoveLink() [all …]
|
H A D | docsh.cxx | 269 if( mpDoc ) in ConvertFrom() 271 mpDoc = pRdr->GetDoc(); in ConvertFrom() 280 InitDrawModelAndDocShell(this, mpDoc ? mpDoc->GetDrawModel() : 0); in ConvertFrom() 302 if ( mpDoc == NULL ) in BeforeLoading() 544 mpDoc->SetModified(); in SaveAs() 1203 const bool bHasDocToStayModified( mpDoc->IsModified() && mpDoc->LinksUpdated() ); in LoadingFinished() 1305 if ( mpDoc ) in setDocAccTitle() 1313 if ( mpDoc ) in getDocAccTitle() 1324 if ( mpDoc ) in setDocReadOnly() 1332 if ( mpDoc ) in getDocReadOnly() [all …]
|
H A D | docsh2.cxx | 199 if ( !mpDoc ) return; in DoFlushDocInfo() 208 mpDoc->DocInfoChgd(); in DoFlushDocInfo() 245 if( !mpDoc ) in Notify() 330 if( mpDoc && IsInPrepareClose() ) in PrepareClose() 542 ASSERT(mpDoc, "Doc fehlt"); in Insert() 632 ASSERT(mpDoc, "Doc fehlt"); in Remove() 1181 mpDoc->EmbedAllLinks(); in Execute() 1596 if (!mpDoc->IsInCallModified() ) in SetModified() 1602 mpDoc->SetModified(); in SetModified() 1609 mpDoc->ResetModified(); in SetModified() [all …]
|
/trunk/main/sd/source/ui/unoidl/ |
H A D | unomodel.cxx | 220 if( mpDoc ) in SdXImpressDocument() 233 mpDoc( pDoc ), in SdXImpressDocument() 239 if( mpDoc ) in SdXImpressDocument() 446 if( mpDoc ) in Notify() 461 if( mpDoc ) in Notify() 483 if(mpDoc) in Notify() 608 if( mpDoc ) in SetModified() 646 return mpDoc && mpDoc->isLocked(); in hasControllersLocked() 872 if( mpDoc ) in getHandoutMasterPage() 2680 SdDrawDocument* mpDoc = mpModel->mpDoc; in insertNewByIndex() local [all …]
|
/trunk/main/sd/source/ui/docshell/ |
H A D | docshel4.cxx | 245 if( mpDoc ) in UpdateRefDevice() 431 mpDoc->CreateFirstPages(); in LoadFrom() 494 mpDoc->CreateFirstPages(); in ConvertFrom() 503 mpDoc->CreateFirstPages(); in ConvertFrom() 510 mpDoc->CreateFirstPages(); in ConvertFrom() 516 mpDoc->CreateFirstPages(); in ConvertFrom() 730 return mpDoc; in GetDoc() 1285 if (mpDoc ) in setDocAccTitle() 1293 if (mpDoc) in getDocAccTitle() 1302 if (mpDoc ) in setDocReadOnly() [all …]
|
H A D | docshell.cxx | 136 mbOwnDocument = mpDoc == 0; in Construct() 145 SetPool( &mpDoc->GetItemPool() ); in Construct() 163 mpDoc(NULL), in DrawDocShell() 185 mpDoc(NULL), in DrawDocShell() 209 mpDoc(pDoc), in DrawDocShell() 243 if( mpDoc ) in ~DrawDocShell() 244 mpDoc->SetSdrUndoManager( 0 ); in ~DrawDocShell() 251 delete mpDoc; in ~DrawDocShell() 441 mpDoc->StartOnlineSpelling(); in Activate() 540 if ( mpDoc ) in SetModified() [all …]
|
/trunk/main/sd/source/ui/func/ |
H A D | fupage.cxx | 184 SfxItemSet aNewAttr(mpDoc->GetPool(), in ExecuteDialog() 185 mpDoc->GetPool().GetWhich(SID_ATTR_LRSPACE), in ExecuteDialog() 186 mpDoc->GetPool().GetWhich(SID_ATTR_ULSPACE), in ExecuteDialog() 213 aPageItem.SetNumType( mpDoc->GetPageNumType() ); in ExecuteDialog() 236 bool bScale = mpDoc->GetDocumentType() != DOCUMENT_TYPE_DRAW; in ExecuteDialog() 415 SdUndoGroup* pUndoGroup = new SdUndoGroup(mpDoc); in ExecuteDialog() 434 sal_uInt16 nPageCount(mpDoc->GetSdPageCount(ePageKind)); in ExecuteDialog() 437 SdPage *pPage = mpDoc->GetSdPage(i, ePageKind); in ExecuteDialog() 477 mpDoc->SetChanged(sal_True); in ExecuteDialog() 631 Size aPageSize = mpDoc->GetSdPage(0, ePageKind)->GetSize(); in ApplyItemSet() [all …]
|
H A D | fuexpand.cxx | 89 sal_uInt16 nCount = mpDoc->GetSdPageCount(PK_STANDARD); in DoExecute() 93 if (mpDoc->GetSdPage(i, PK_STANDARD)->IsSelected()) in DoExecute() 95 pActualPage = mpDoc->GetSdPage(i, PK_STANDARD); in DoExecute() 104 new ::sd::Outliner( mpDoc, OUTLINERMODE_OUTLINEOBJECT ); in DoExecute() 111 pOutl->SetDefTab( mpDoc->GetDefaultTabulator() ); in DoExecute() 116 SdPage* pActualNotesPage = (SdPage*) mpDoc->GetPage(nActualPageNum + 1); in DoExecute() 150 SdPage* pPage = (SdPage*) mpDoc->AllocPage(sal_False); in DoExecute() 159 mpDoc->InsertPage(pPage, nActualPageNum + nPos); in DoExecute() 172 SdPage* pNotesPage = (SdPage*) mpDoc->AllocPage(sal_False); in DoExecute() 182 mpDoc->InsertPage(pNotesPage, nActualPageNum + nPos); in DoExecute() [all …]
|
H A D | futempl.cxx | 229 mpDoc->SetChanged(sal_True); in DoExecute() 260 mpDoc->SetChanged(sal_True); in DoExecute() 325 …pStdDlg = pFact ? pFact->CreateSdTabTemplateDlg( 0, mpDoc->GetDocSh(), *pStyleSheet, mpDoc, mpView… in DoExecute() 584 if( mpDoc->GetOnlineSpell() ) in DoExecute() 591 mpDoc->StopOnlineSpelling(); in DoExecute() 592 mpDoc->StartOnlineSpelling(); in DoExecute() 596 mpDoc->SetChanged(sal_True); in DoExecute() 620 SfxItemSet aCoreSet( mpDoc->GetPool() ); in DoExecute() 647 mpDoc->SetChanged(sal_True); in DoExecute() 665 SfxItemSet aCoreSet( mpDoc->GetPool() ); in DoExecute() [all …]
|
H A D | fusumry.cxx | 82 sal_uInt16 nCount = mpDoc->GetSdPageCount(PK_STANDARD); in DoExecute() 91 SdPage* pActualPage = mpDoc->GetSdPage(i, PK_STANDARD); in DoExecute() 112 SdPage* pActualPage = mpDoc->GetSdPage(i, PK_STANDARD); in DoExecute() 116 SdPage* pActualNotesPage = mpDoc->GetSdPage(i, PK_NOTES); in DoExecute() 137 pSummaryPage = (SdPage*) mpDoc->AllocPage(sal_False); in DoExecute() 145 mpDoc->InsertPage(pSummaryPage, nCount * 2 + 1); in DoExecute() 157 SdPage* pNotesPage = (SdPage*) mpDoc->AllocPage(sal_False); in DoExecute() 166 mpDoc->InsertPage(pNotesPage, nCount * 2 + 2); in DoExecute() 178 pOutl = new ::sd::Outliner( mpDoc, OUTLINERMODE_OUTLINEOBJECT ); in DoExecute() 185 pOutl->SetDefTab( mpDoc->GetDefaultTabulator() ); in DoExecute() [all …]
|
/trunk/main/sc/source/filter/rtf/ |
H A D | eeimpars.cxx | 75 mpDoc( pDocP ), in ScEEImport() 79 const ScPatternAttr* pPattern = mpDoc->GetPattern( in ScEEImport() 147 pFormatter = mpDoc->GetFormatTable(); in WriteToDocument() 155 ScDocumentPool* pDocPool = mpDoc->GetPool(); in WriteToDocument() 156 ScRangeName* pRangeNames = mpDoc->GetRangeName(); in WriteToDocument() 303 mpDoc->ApplyFlagsTab( nCol+1, nRow, in WriteToDocument() 309 mpDoc->ApplyFlagsTab( nCol, nRow+1, in WriteToDocument() 426 mpDoc->SetOptimalHeight( 0, nEndRow, 0, in WriteToDocument() 528 ScDrawLayer* pModel = mpDoc->GetDrawLayer(); in InsertGraphic() 531 mpDoc->InitDrawLayer(); in InsertGraphic() [all …]
|
/trunk/main/svx/source/unodraw/ |
H A D | unomod.cxx | 274 : mpDoc( pDoc ) in SvxUnoDrawingModel() 346 if( mpDoc ) in lockControllers() 347 mpDoc->setLock( sal_True ); in lockControllers() 353 if( mpDoc && mpDoc->isLocked() ) in unlockControllers() 355 mpDoc->setLock( sal_False ); in unlockControllers() 362 return mpDoc && mpDoc->isLocked(); in hasControllersLocked() 626 if( mrModel.mpDoc ) in getCount() 639 if( mrModel.mpDoc ) in getByIndex() 691 if( mrModel.mpDoc ) in insertNewByIndex() 698 pPage = new SdrPage(*mrModel.mpDoc); in insertNewByIndex() [all …]
|
/trunk/main/sc/source/filter/xml/ |
H A D | XMLCodeNameProvider.cxx | 61 mpDoc( pDoc ), in XMLCodeNameProvider() 75 return mpDoc->GetCodeName().Len() > 0; in hasByName() 77 SCTAB nCount = mpDoc->GetTableCount(); in hasByName() 84 mpDoc->GetCodeName( i, sCodeName ); in hasByName() 107 SCTAB nCount = mpDoc->GetTableCount(); in getByName() 114 mpDoc->GetCodeName( i, sCodeName ); in getByName() 132 if( mpDoc->GetCodeName().Len() ) in getElementNames() 138 mpDoc->GetCodeName( i, sCodeName ); in getElementNames() 161 if( mpDoc->GetCodeName().Len() > 0 ) in hasElements() 164 SCTAB nCount = mpDoc->GetTableCount(); in hasElements() [all …]
|
/trunk/main/sd/source/ui/annotations/ |
H A D | annotationmanager.cxx | 375 if( mpDoc->IsUndoEnabled() ) in InsertAnnotation() 440 mpDoc->EndUndo(); in InsertAnnotation() 531 mpDoc->EndUndo(); in DeleteAnnotation() 539 if( mpDoc->IsUndoEnabled() ) in DeleteAnnotationsByAuthor() 563 if( mpDoc->IsUndoEnabled() ) in DeleteAnnotationsByAuthor() 564 mpDoc->EndUndo(); in DeleteAnnotationsByAuthor() 569 if( mpDoc->IsUndoEnabled() ) in DeleteAllAnnotations() 591 if( mpDoc->IsUndoEnabled() ) in DeleteAllAnnotations() 592 mpDoc->EndUndo(); in DeleteAllAnnotations() 1215 return mpDoc->GetSdPage( mpDoc->GetSdPageCount(PK_STANDARD)-1, PK_STANDARD ); in GetNextPage() [all …]
|
/trunk/main/sc/source/ui/Accessibility/ |
H A D | AccessibleCellBase.cxx | 75 mpDoc(pDoc), in ScAccessibleCellBase() 93 if (mpDoc) in isVisible() 112 if (mpDoc) in getForeground() 153 if (mpDoc) in getBackground() 253 if (mpDoc) in getCurrentValue() 270 if((aNumber >>= fValue) && mpDoc && mpDoc->GetDocumentShell()) in setCurrentValue() 353 if (mpDoc) in GetNote() 402 if (mpDoc) in getShadowAttrs() 488 if (mpDoc) in getBorderAttrs() 527 sal_Bool bIn = mpDoc ? mpDoc->IsCellInChangeTrack(maCellAddress,&aColor) : sal_False; in getBorderAttrs() [all …]
|
H A D | AccessibleCell.cxx | 194 if (mpDoc) in GetBoundingBox() 336 mpDoc) in IsEditable() 353 if (mpDoc) in IsOpaque() 407 if (mpDoc) in FillDependends() 433 if (mpDoc) in FillPrecedents() 435 ScBaseCell* pBaseCell = mpDoc->GetCell(maCellAddress); in FillPrecedents() 531 if( mpDoc ) in getExtendedAttributes() 596 sal_uInt16 nTabCount = mpDoc->GetTableCount(); in IsDropdown() 597 if ( nTab+1<nTabCount && mpDoc->IsScenario(nTab+1) && !mpDoc->IsScenario(nTab) ) in IsDropdown() 601 for (i=nTab+1; i<nTabCount && mpDoc->IsScenario(i); i++) in IsDropdown() [all …]
|
/trunk/main/sd/source/ui/view/ |
H A D | outlview.cxx | 111 , mpOutliner( mpDoc->GetOutliner(sal_True) ) in OutlineView() 697 SdrPage* pPage = mpDoc->GetPage(nAbsPos); in IMPL_LINK() 700 mpDoc->RemovePage(nAbsPos); in IMPL_LINK() 703 pPage = mpDoc->GetPage(nAbsPos); in IMPL_LINK() 706 mpDoc->RemovePage(nAbsPos); in IMPL_LINK() 837 mpDoc->RemovePage(nAbsPos); in IMPL_LINK() 840 pPage = mpDoc->GetPage(nAbsPos); in IMPL_LINK() 843 mpDoc->RemovePage(nAbsPos); in IMPL_LINK() 1105 mpDoc->MovePages(nPos); in IMPL_LINK() 1814 mpDoc->SetSelected(pPage, sal_False); in UpdateDocument() [all …]
|
/trunk/main/svtools/source/edit/ |
H A D | texteng.cxx | 92 mpDoc = 0; in SV_IMPL_VARARR_SORT() 142 delete mpDoc; in ~TextEngine() 330 return mpDoc->GetText( nPara ); in GetText() 446 if ( mpDoc ) in ImpInitDoc() 447 mpDoc->Clear(); in ImpInitDoc() 449 mpDoc = new TextDoc; in ImpInitDoc() 455 mpDoc->GetNodes().Insert( pNode, 0 ); in ImpInitDoc() 585 mpDoc->RemoveChars( rPaM, nChars ); in ImpRemoveChars() 1417 return mpDoc->GetNodes().Count(); in GetParagraphCount() 3033 mpDoc->SetLeftMargin( n ); in SetLeftMargin() [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | spelldialog.cxx | 54 mpDoc( 0 ), in SFX_IMPL_CHILDWINDOW() 142 mpDoc->SetDirty(); in Reset() 150 mpDoc->DisableIdle( mbOldIdleDisabled ); in Reset() 159 mpDoc = 0; in Reset() 180 mpDoc = mpDocShell->GetDocument(); in Init() 196 ScEditableTester aTester( mpDoc, rMarkData ); in Init() 218 mbOldIdleDisabled = mpDoc->IsIdleDisabled(); in Init() 219 mpDoc->DisableIdle( sal_True ); // #42726# stop online spelling in Init() 224 mxUndoDoc->InitUndo( mpDoc, nTab, nTab ); in Init() 226 mxRedoDoc->InitUndo( mpDoc, nTab, nTab ); in Init() [all …]
|
/trunk/main/sd/source/core/text/ |
H A D | textapi.cxx | 96 SdDrawDocument* mpDoc; member 119 SdDrawDocument* GetDoc() { return pImpl->mpDoc; } in GetDoc() 221 pImpl->mpDoc = pDoc; in TextAPIEditSource() 235 pImpl->mpDoc=0; in Dispose() 245 if( !pImpl->mpDoc ) in GetTextForwarder() 251 pImpl->mpOutliner = new Outliner( pImpl->mpDoc, OUTLINERMODE_TEXTOBJECT ); in GetTextForwarder() 252 pImpl->mpDoc->SetCalcFieldValueHdl( pImpl->mpOutliner ); in GetTextForwarder() 263 if ( pImpl->mpDoc ) in SetText() 269 pImpl->mpDoc->SetCalcFieldValueHdl( pImpl->mpOutliner ); in SetText() 278 if ( pImpl->mpDoc && pImpl->mpOutliner ) in CreateText() [all …]
|
/trunk/main/sd/source/ui/dlg/ |
H A D | sdtreelb.cxx | 252 , mpDoc ( NULL ) in SdPageObjsTLB() 301 sal_uInt16 maxPages = mpDoc->GetPageCount(); in getAltLongDescText() 311 pPage = (SdPage*) mpDoc->GetPage( pageNo ); in getAltLongDescText() 583 mpDoc = pInDoc; in Fill() 598 pPage = (SdPage*) mpDoc->GetPage( nPage ); in Fill() 642 mpDoc = pInDoc; in Fill() 896 Fill(mpDoc, mpMedium, maDocName); in SetShowAllShapes() 923 mpDoc = pInDoc; in IsEqualToDoc() 925 if( !mpDoc ) in IsEqualToDoc() 939 pPage = (SdPage*) mpDoc->GetPage( nPage ); in IsEqualToDoc() [all …]
|
H A D | headerfooterdlg.cxx | 168 SdDrawDocument * mpDoc; member in sd::HeaderFooterTabPage 208 mpDoc( pDoc ), in HeaderFooterDialog() 343 SdUndoGroup* pUndoGroup = new SdUndoGroup(mpDoc); in apply() 361 int nPageCount = mpDoc->GetSdPageCount( PK_STANDARD ); in apply() 365 SdPage* pPage = mpDoc->GetSdPage( (sal_uInt16)nPage, PK_STANDARD ); in apply() 390 change( pUndoGroup, mpDoc->GetSdPage( 0, PK_STANDARD ), aTempSettings ); in apply() 402 int nPageCount = mpDoc->GetSdPageCount( PK_NOTES ); in apply() 406 SdPage* pPage = mpDoc->GetSdPage( (sal_uInt16)nPage, PK_NOTES ); in apply() 472 mpDoc(pDoc), in HeaderFooterTabPage() 723 sal_uInt16 nPageCount = mpDoc->GetMasterSdPageCount( PK_NOTES ); in GetOrSetDateTimeLanguage() [all …]
|
H A D | tpaction.cxx | 140 mpDoc ( NULL ), in SdTPAction() 183 mpDoc = pDocSh->GetDoc(); in SetView() 319 if( mpDoc && mpDoc->GetDocSh() && mpDoc->GetDocSh()->GetMedium() ) in FillItemSet() 321 String aBaseURL = mpDoc->GetDocSh()->GetMedium()->GetBaseURL(); in FillItemSet() 418 if( !bTreeUpdated && mpDoc && mpDoc->GetDocSh() && mpDoc->GetDocSh()->GetMedium() ) in UpdateTree() 421 aLbTree.Fill( mpDoc, sal_True, mpDoc->GetDocSh()->GetMedium()->GetName() ); in UpdateTree() 727 SdDrawDocument* pBookmarkDoc = mpDoc->OpenBookmarkDoc( aFile ); in IMPL_LINK() 734 mpDoc->CloseBookmarkDoc(); in IMPL_LINK() 877 if( mpDoc && mpDoc->GetDocSh() && mpDoc->GetDocSh()->GetMedium() ) in GetEditText() 878 aBaseURL = mpDoc->GetDocSh()->GetMedium()->GetBaseURL(); in GetEditText()
|
/trunk/main/sc/source/filter/html/ |
H A D | htmlimp.cxx | 80 const String& aPageStyle = mpDoc->GetPageStyle( rRange.aStart.Tab() ); in ScHTMLImport() 81 ScStyleSheet* pStyleSheet = (ScStyleSheet*)mpDoc-> in ScHTMLImport() 145 pGlobTable->ApplyCellBorders( mpDoc, maRange.aStart ); in WriteToDocument() 160 mpDoc->GetAttr( pEntry->nCol, pEntry->nRow, nTab, ATTR_BORDER ); in WriteToDocument() 165 … mpDoc->GetAttr( pEntry->nCol + nColMerge - 1, pEntry->nRow, nTab, ATTR_BORDER ); in WriteToDocument() 174 mpDoc->ApplyAttr( pEntry->nCol, pEntry->nRow, nTab, aNewItem ); in WriteToDocument() 184 InsertRangeName( mpDoc, ScfTools::GetHTMLDocName(), aNewRange ); in WriteToDocument() 187 InsertRangeName( mpDoc, ScfTools::GetHTMLTablesName(), ScRange( maRange.aStart ) ); in WriteToDocument() 201 InsertRangeName( mpDoc, ScfTools::GetNameFromHTMLIndex( nTableId ), aNewRange ); in WriteToDocument() 207 if( !mpDoc->GetRangeName()->SearchName( aName, nPos ) ) in WriteToDocument() [all …]
|