/aoo41x/main/svx/source/table/ |
H A D | tablemodel.cxx | 793 pModel->EndUndo(); in insertColumns() 795 if( pModel ) in insertColumns() 903 pModel->EndUndo(); in removeColumns() 905 if( pModel ) in removeColumns() 925 const bool bUndo = pModel && mpTableObj->IsInserted() && pModel->IsUndoEnabled(); in insertRows() 971 pModel->EndUndo(); in insertRows() 973 if( pModel ) in insertRows() 974 pModel->SetChanged(); in insertRows() 990 const bool bUndo = pModel && mpTableObj->IsInserted()&& pModel->IsUndoEnabled(); in removeRows() 1062 pModel->EndUndo(); in removeRows() [all …]
|
H A D | cellcursor.cxx | 264 SdrModel* pModel = mxTable->getSdrTableObj()->GetModel(); in merge() local 265 const bool bUndo = pModel && mxTable->getSdrTableObj()->IsInserted() && pModel->IsUndoEnabled(); in merge() 268 pModel->BegUndo( ImpGetResStr(STR_TABLE_MERGE) ); in merge() 282 pModel->EndUndo(); in merge() 284 if( pModel ) in merge() 285 pModel->SetChanged(); in merge() 531 const bool bUndo = pModel && mxTable->getSdrTableObj()->IsInserted() && pModel->IsUndoEnabled(); in split() 533 pModel->BegUndo( ImpGetResStr(STR_TABLE_SPLIT) ); in split() 553 pModel->EndUndo(); in split() 555 if( pModel ) in split() [all …]
|
/aoo41x/main/sc/source/core/tool/ |
H A D | detfunc.cxx | 1207 if (!pModel) in ShowPred() 1227 if (!pModel) in ShowSucc() 1247 if (!pModel) in ShowError() 1266 if (!pModel) in DeleteSucc() 1279 if (!pModel) in DeletePred() 1292 if (!pModel) in DeleteAll() 1354 if (!pModel) in MarkInvalid() 1427 if (!pModel) in UpdateAllComments() 1469 if (!pModel) in UpdateAllArrowColors() 1550 if (!pModel) return sal_False; in FindFrameForObject() [all …]
|
/aoo41x/main/sd/source/core/ |
H A D | sdpage2.cxx | 328 sfx2::LinkManager* pLinkManager = pModel!=NULL ? pModel->GetLinkManager() : NULL; in ConnectLink() 332 ( (SdDrawDocument*) pModel)->IsNewOrLoadCompleted()) in ConnectLink() 361 sfx2::LinkManager* pLinkManager = pModel!=NULL ? pModel->GetLinkManager() : NULL; in DisconnectLink() 608 if( pModel && pModel->IsUndoEnabled() ) in addAnnotation() 612 pModel->AddUndo( pAction ); in addAnnotation() 617 if( pModel ) in addAnnotation() 619 pModel->SetChanged(); in addAnnotation() 627 if( pModel && pModel->IsUndoEnabled() ) in removeAnnotation() 631 pModel->AddUndo( pAction ); in removeAnnotation() 638 if( pModel ) in removeAnnotation() [all …]
|
H A D | sdpage.cxx | 250 …::svl::IUndoManager* pUndoManager = pModel ? static_cast<SdDrawDocument*>(pModel)->GetUndoManager(… in CreatePresObj() 379 if(nDestPageNum < pModel->GetPageCount()) in CreatePresObj() 704 if( pModel->isLocked() ) in Changed() 715 …::svl::IUndoManager* pUndoManager = pModel ? static_cast<SdDrawDocument*>(pModel)->GetUndoManager(… in Changed() 728 else if (pModel) in Changed() 766 …::svl::IUndoManager* pUndoManager = pModel ? static_cast<SdDrawDocument*>(pModel)->GetUndoManager(… in CreateTitleAndLayout() 1561 …::svl::IUndoManager* pUndoManager = pModel ? static_cast<SdDrawDocument*>(pModel)->GetUndoManager(… in SetAutoLayout() 1711 if( pModel ) in onRemoveObject() 2116 if( !pModel || !pSourceObj ) in convertPresentationObjectImpl() 2119 …::svl::IUndoManager* pUndoManager = pModel ? static_cast<SdDrawDocument*>(pModel)->GetUndoManager(… in convertPresentationObjectImpl() [all …]
|
/aoo41x/main/svx/source/svdraw/ |
H A D | svdoole2.cxx | 1030 if ( pModel ) in BreakFileLink_Impl() 1512 if( pModel && !pModel->isLocked() && !IsChart() ) in SetModel() 1927 if( pModel && !pModel->isLocked() ) in NbcResize() 1941 if( pModel && !pModel->isLocked() ) in NbcResize() 1951 if( pModel && !pModel->isLocked() ) in SetGeoData() 1961 if( pModel && !pModel->isLocked() ) in NbcSetSnapRect() 1979 if( pModel && !pModel->isLocked() ) in NbcSetLogicRect() 2009 if( pModel && !pModel->isLocked() ) in NbcMove() 2143 if(!bWasChanged && pModel && pModel->IsChanged()) in GetObjRef_Impl() 2154 if (pModel && pModel->GetRefDevice() && in GetObjRef_Impl() [all …]
|
H A D | svdpage.cxx | 107 pModel=pNewModel; in SdrObjList() 123 pModel=NULL; in SdrObjList() 141 pModel = 0L; in ~SdrObjList() 261 if(pModel) in Clear() 298 return pModel; in GetModel() 304 pModel=pNewModel; in SetModel() 409 if(pModel) in InsertObject() 688 if (pModel) in NbcReformatAllTextObjects() 1717 if (pModel && pModel->IsMPgNumsDirty()) in GetPageNum() 1720 if (pModel && pModel->IsPagNumsDirty()) in GetPageNum() [all …]
|
H A D | svdlayer.cxx | 201 if (pModel!=NULL) { in SetStandardLayer() 204 pModel->SetChanged(); in SetStandardLayer() 215 if(pModel) in SetName() 220 pModel->SetChanged(); in SetName() 239 pModel(NULL) in SdrLayerAdmin() 250 pModel(NULL) in SdrLayerAdmin() 303 pModel=pNewModel; in SetModel() 314 if (pModel!=NULL) { in Broadcast() 317 pModel->SetChanged(); in Broadcast() 332 pLay->SetModel(pModel); in NewLayer() [all …]
|
H A D | svdobj.cxx | 393 ,pModel(NULL) in SdrObject() 530 pModel = pNewModel; in SetModel() 578 if(pModel) in GetObjectItemPool() 928 if(pModel && pModel->isLocked()) in RecalcBoundRect() 955 if( pModel && pModel->isLocked() ) in BroadcastObjectChange() 1015 pObj->pModel=pModel; in Clone() 1042 pModel =rObj.pModel; in operator =() 3039 if( pModel && pModel->IsWriter() ) in TRGetBaseGeometry() 3124 if( pModel && pModel->IsWriter() ) in TRSetBaseGeometry() 3144 if(pModel) in IsInDestruction() [all …]
|
/aoo41x/main/svtools/inc/svtools/ |
H A D | treelist.hxx | 336 SvTreeList* pModel; member in SvListView 349 SvListView( SvTreeList* pModel ); 352 SvTreeList* GetModel() const { return pModel; } in GetModel() 357 sal_uLong GetVisibleCount() const { return pModel->GetVisibleCount( (SvListView*)this );} in GetVisibleCount() 358 SvListEntry* FirstVisible() const { return pModel->FirstVisible(); } in FirstVisible() 361 SvListEntry* LastVisible( sal_uInt16* pDepth=0 ) const { return pModel->LastVisible(this,pDepth);} in LastVisible() 366 SvListEntry* FirstSelected() const { return pModel->FirstSelected(this);} in FirstSelected() 368 …SvListEntry* PrevSelected( SvListEntry* pEntry ) const { return pModel->PrevSelected(this,pEntry);… in PrevSelected() 369 SvListEntry* LastSelected() const { return pModel->LastSelected(this); } in LastSelected() 375 void Expand( SvListEntry* pParent ) { pModel->Expand((SvListView*)this,pParent); } in Expand() [all …]
|
H A D | svlbox.hxx | 335 …void InsertTree( SvLBoxEntry* pTree, SvLBoxEntry* pTarget) {pModel->InsertTree( pTree, pTarget )… in InsertTree() 400 SvLBoxTreeList* GetModel() const { return (SvLBoxTreeList*)pModel; } in GetModel() 406 sal_uLong GetEntryCount() const {return pModel->GetEntryCount();} in GetEntryCount() 407 SvLBoxEntry* First() const { return (SvLBoxEntry*)(pModel->First()); } in First() 410 SvLBoxEntry* Last( sal_uInt16* pDepth=0 ) const { return (SvLBoxEntry*)(pModel->Last(pDepth));} in Last() 412 …SvLBoxEntry* FirstChild(SvLBoxEntry* pParent ) const { return (SvLBoxEntry*)(pModel->FirstChild(pP… in FirstChild() 413 …SvLBoxEntry* NextSibling(SvLBoxEntry* pEntry ) const { return (SvLBoxEntry*)(pModel->NextSibling( … in NextSibling() 414 …SvLBoxEntry* PrevSibling(SvLBoxEntry* pEntry ) const { return (SvLBoxEntry*)(pModel->PrevSibling( … in PrevSibling() 435 …SvLBoxEntry* GetEntry( sal_uLong nRootPos ) const { return (SvLBoxEntry*)(pModel->GetEntry(nRootPo… in GetEntry() 442 …SvLBoxEntry* GetParent( SvLBoxEntry* pEntry ) const { return (SvLBoxEntry*)(pModel->GetParent(pEnt… in GetParent() [all …]
|
/aoo41x/main/svx/source/xml/ |
H A D | xmlexport.cxx | 54 …return SvxDrawingLayerExport( pModel, xOut, xComponent, "com.sun.star.comp.DrawingLayer.XMLExporte… in SvxDrawingLayerExport() 72 xSourceDoc = new SvxUnoDrawingModel( pModel ); in SvxDrawingLayerExport() 73 pModel->setUnoModel( Reference< XInterface >::query( xSourceDoc ) ); in SvxDrawingLayerExport() 92 ::comphelper::IEmbeddedHelper *pPersist = pModel->GetPersist(); in SvxDrawingLayerExport() 154 sal_Bool SvxDrawingLayerExport( SdrModel* pModel, const uno::Reference<io::XOutputStream>& xOut ) in SvxDrawingLayerExport() argument 157 return SvxDrawingLayerExport( pModel, xOut, xComponent ); in SvxDrawingLayerExport() 180 xTargetDocument = new SvxUnoDrawingModel( pModel ); in SvxDrawingLayerImport() 181 pModel->setUnoModel( Reference< XInterface >::query( xTargetDocument ) ); in SvxDrawingLayerImport() 205 ::comphelper::IEmbeddedHelper *pPersist = pModel->GetPersist(); in SvxDrawingLayerImport() 275 sal_Bool SvxDrawingLayerImport( SdrModel* pModel, const uno::Reference<io::XInputStream>& xInputStr… in SvxDrawingLayerImport() argument [all …]
|
/aoo41x/main/sc/source/ui/app/ |
H A D | drwtrans.cxx | 96 pModel( pClipModel ), in ScDrawTransferObj() 111 SdrPage* pPage = pModel->GetPage(0); in ScDrawTransferObj() 218 SdrView aView(pModel); in ScDrawTransferObj() 269 delete pModel; in ~ScDrawTransferObj() 289 if ( pModel ) in lcl_HasOnlyControls() 291 SdrPage* pPage = pModel->GetPage(0); in lcl_HasOnlyControls() 377 if ( !lcl_HasOnlyControls( pModel ) ) in AddSupportedFormats() 407 if( pModel ) in GetData() 415 if( pModel ) in GetData() 438 SdrView aView( pModel ); in GetData() [all …]
|
/aoo41x/main/svtools/source/contnr/ |
H A D | svlbox.cxx | 709 pModel->InsertView( this ); in SvLBox() 730 pModel->InsertView( this ); in SvLBox() 742 pModel->RemoveView( this ); in ~SvLBox() 743 if ( pModel->GetRefCount() == 0 ) in ~SvLBox() 745 pModel->Clear(); in ~SvLBox() 746 delete pModel; in ~SvLBox() 747 pModel = NULL; in ~SvLBox() 1061 pModel->SetCloneLink( aCloneLink ); in CopySelection() 1132 pModel->SetCloneLink( aCloneLink ); in MoveSelectionCopyFallbackPossible() 1154 pModel->Remove( pEntry ); in RemoveSelection() [all …]
|
/aoo41x/main/forms/source/xforms/ |
H A D | binding.cxx | 178 Model* pModel = getModelImpl(); in getModelID() local 179 return ( pModel == NULL ) ? OUString() : pModel->getID(); in getModelID() 509 return ( pModel != NULL ) ? pModel->isInitialized() : false; in isLive() 520 Model* pModel = xTunnel.is() in getModelImpl() local 524 return pModel; in getModelImpl() 651 Model* pModel = getModelImpl(); in bind() local 653 pModel->removeMIPs( this ); in bind() 863 Model* pModel = getModelImpl(); in clear() local 864 if( pModel != NULL ) in clear() 957 if( pModel != NULL ) in _getNamespaces() [all …]
|
/aoo41x/main/svx/source/dialog/ |
H A D | graphctl.cxx | 86 pModel ( NULL ), in GraphCtrl() 116 pModel ( NULL ), in GraphCtrl() 141 delete pModel; in ~GraphCtrl() 165 delete pModel; in SetWinStyle() 166 pModel = NULL; in SetWinStyle() 187 delete pModel; in InitSdrModel() 190 pModel = new SdrModel; in InitSdrModel() 196 pPage = new SdrPage( *pModel ); in InitSdrModel() 200 pModel->InsertPage( pPage ); in InitSdrModel() 201 pModel->SetChanged( sal_False ); in InitSdrModel() [all …]
|
H A D | contwnd.cxx | 79 SdrPage* pPage = (SdrPage*) pModel->GetPage( 0 ); in SetPolyPolygon() 100 SfxItemSet aSet( pModel->GetItemPool() ); in SetPolyPolygon() 119 pModel->SetChanged( sal_False ); in SetPolyPolygon() 131 if ( pModel->IsChanged() ) in GetPolyPolygon() 133 SdrPage* pPage = (SdrPage*) pModel->GetPage( 0 ); in GetPolyPolygon() 146 pModel->SetChanged( sal_False ); in GetPolyPolygon() 163 SfxItemSet aSet( pModel->GetItemPool() ); in InitSdrModel() 193 SdrPage* pPage = (SdrPage*) pModel->GetPage( 0 ); in IsContourChanged() 197 bRet = ( (SdrPathObj*) pPage->GetObj( 0 ) )->GetPathPoly().count() && pModel->IsChanged(); in IsContourChanged()
|
H A D | imapwnd.cxx | 172 pModel->SetChanged( sal_True ); in ReplaceActualIMapInfo() 189 if ( pModel->IsChanged() ) in GetImageMap() 191 SdrPage* pPage = (SdrPage*) pModel->GetPage( 0 ); in GetImageMap() 203 pModel->SetChanged( sal_False ); in GetImageMap() 229 pModel->SetChanged( sal_False ); in SetTargetList() 314 SfxItemSet aSet( pModel->GetItemPool() ); in CreateObj() 350 SfxItemSet aSet( pModel->GetItemPool() ); in InitSdrModel() 687 pModel->SetChanged( sal_True ); in ExecuteDrop() 747 SfxItemSet aSet( pModel->GetItemPool() ); in SetCurrentObjState() 834 pModel->SetChanged( sal_True ); in DoMacroAssign() [all …]
|
/aoo41x/main/sc/source/ui/unoobj/ |
H A D | shapeuno.cxx | 361 if ( pModel && pPage ) in setPropertyValue() 482 if ( pModel && pPage ) in setPropertyValue() 580 if ( pModel && pPage ) in setPropertyValue() 662 if ( pModel && pPage ) in getPropertyValue() 664 ScDocument* pDoc = pModel->GetDocument(); in getPropertyValue() 723 if ( pModel && pPage ) in getPropertyValue() 782 if ( pModel && pPage ) in getPropertyValue() 1017 if ( pModel ) in getAnchor() 1019 ScDocument* pDoc = pModel->GetDocument(); in getAnchor() 1277 if ( pModel ) in getParent() [all …]
|
/aoo41x/main/sd/source/ui/view/ |
H A D | sdview3.cxx | 696 SdDrawDocument* pModel = xShell->GetDoc(); in InsertData() local 697 pModel->InsertPage(pModel->AllocPage(false)); in InsertData() 705 if( pModel->GetPageCount() == 0 ) in InsertData() 818 SdrPage* pWorkPage = pModel->GetSdPage( 0, PK_STANDARD ); in InsertData() 905 pModel->DeletePage( (sal_uInt16) i ); in InsertData() 1538 pModel->NewOrLoadCompleted(NEW_DOC); in PasteRTFTable() 1539 pModel->GetItemPool().SetDefaultMetric(SFX_MAPUNIT_100TH_MM); in PasteRTFTable() 1540 pModel->InsertPage(pModel->AllocPage(false)); in PasteRTFTable() 1545 CreateTableFromRTF( *xStm, pModel ); in PasteRTFTable() 1546 bool bRet = Paste( *pModel, maDropPos, pPage, nPasteOptions ); in PasteRTFTable() [all …]
|
/aoo41x/main/svx/source/sdr/properties/ |
H A D | attributeproperties.cxx | 175 SdrModel* pModel = GetSdrObject().GetModel(); in ItemChange() local 181 pItem = ((XFillBitmapItem*)pItem)->checkForUniqueItem( pModel ); in ItemChange() 186 pItem = ((XLineDashItem*)pItem)->checkForUniqueItem( pModel ); in ItemChange() 191 pItem = ((XLineStartItem*)pItem)->checkForUniqueItem( pModel ); in ItemChange() 196 pItem = ((XLineEndItem*)pItem)->checkForUniqueItem( pModel ); in ItemChange() 201 pItem = ((XFillGradientItem*)pItem)->checkForUniqueItem( pModel ); in ItemChange() 212 pItem = ((XFillHatchItem*)pItem)->checkForUniqueItem( pModel ); in ItemChange() 562 SdrModel* pModel = rObj.GetModel(); in Notify() local 568 if(pModel && !rObj.IsInDestruction()) in Notify() 572 pNewStSh = (SfxStyleSheet*)pModel->GetStyleSheetPool()->Find( in Notify() [all …]
|
/aoo41x/main/svx/source/form/ |
H A D | fmview.cxx | 94 :E3dView(pModel,pOut) in FmFormView() 108 SdrModel* pModel = GetModel(); in Init() local 110 DBG_ASSERT( pModel->ISA(FmFormModel), "Falsches Model" ); in Init() 111 if( !pModel->ISA(FmFormModel) ) return; in Init() 112 FmFormModel* pFormModel = (FmFormModel*)pModel; in Init() 244 FmFormModel* pModel = PTR_CAST(FmFormModel, GetModel()); in ChangeDesignMode() local 245 if (pModel) in ChangeDesignMode() 250 pModel->GetUndoEnv().Lock(); in ChangeDesignMode() 314 sal_Bool bForceControlFocus = pModel ? pModel->GetAutoControlFocus() : sal_False; in ChangeDesignMode() 321 if (pModel) in ChangeDesignMode() [all …]
|
/aoo41x/main/cui/source/tabpages/ |
H A D | tabarea.cxx | 64 SdrModel* pModel, in SvxAreaTabDialog() argument 70 mpDrawModel ( pModel ), in SvxAreaTabDialog() 71 maColorTab ( pModel->GetColorTableFromSdrModel() ), in SvxAreaTabDialog() 72 maNewColorTab ( pModel->GetColorTableFromSdrModel() ), in SvxAreaTabDialog() 73 maGradientList ( pModel->GetGradientListFromSdrModel() ), in SvxAreaTabDialog() 74 maNewGradientList ( pModel->GetGradientListFromSdrModel() ), in SvxAreaTabDialog() 75 maHatchingList ( pModel->GetHatchListFromSdrModel() ), in SvxAreaTabDialog() 76 maNewHatchingList ( pModel->GetHatchListFromSdrModel() ), in SvxAreaTabDialog() 77 maBitmapList ( pModel->GetBitmapListFromSdrModel() ), in SvxAreaTabDialog() 78 maNewBitmapList ( pModel->GetBitmapListFromSdrModel() ), in SvxAreaTabDialog()
|
/aoo41x/main/sd/source/ui/table/ |
H A D | tablefunction.cxx | 91 static void apply_table_style( SdrTableObj* pObj, SdrModel* pModel, const OUString& sTableStyle ) in apply_table_style() argument 93 if( pModel && pObj ) in apply_table_style() 95 Reference< XNameAccess > xPool( dynamic_cast< XNameAccess* >( pModel->GetStyleSheetPool() ) ); in apply_table_style() 258 void CreateTableFromRTF( SvStream& rStream, SdDrawDocument* pModel ) in CreateTableFromRTF() argument 262 if( pModel ) in CreateTableFromRTF() 264 SdrPage* pPage = pModel->GetPage(0); in CreateTableFromRTF() 270 ::sdr::table::SdrTableObj* pObj = new ::sdr::table::SdrTableObj( pModel, aRect, 1, 1 ); in CreateTableFromRTF() 271 pObj->NbcSetStyleSheet( pModel->GetDefaultStyleSheet(), sal_True ); in CreateTableFromRTF() 273 apply_table_style( pObj, pModel, sTableStyle ); in CreateTableFromRTF()
|
/aoo41x/main/svx/inc/svx/ |
H A D | svdlayer.hxx | 42 SdrModel* pModel; // zum Broadcasten member in SdrLayer 46 …LayerID nNewID, const String& rNewName) { nID=nNewID; aName=rNewName; nType=0; pModel=NULL; } in SdrLayer() 49 SdrLayer(): pModel(NULL),nType(0),nID(0) {} in SdrLayer() 63 void SetModel(SdrModel* pNewModel) { pModel=pNewModel; } in SetModel() 64 SdrModel* GetModel() const { return pModel; } in GetModel() 84 SdrModel* pModel; // zum Broadcasten member in SdrLayerAdmin 103 SdrModel* GetModel() const { return pModel; } in GetModel() 104 …Int16 nPos=0xFFFF) { aLayer.Insert(pLayer,nPos); pLayer->SetModel(pModel); Broadcast(); } in InsertLayer()
|