Lines Matching refs:eObjKind
163 SdrObject* SdPage::GetPresObj(PresObjKind eObjKind, int nIndex, bool bFuzzySearch /* = false */ ) in GetPresObj() argument
175 if( pInfo->mePresObjKind == eObjKind ) in GetPresObj()
179 else if( bFuzzySearch && (eObjKind == PRESOBJ_OUTLINE) ) in GetPresObj()
244 SdrObject* SdPage::CreatePresObj(PresObjKind eObjKind, sal_Bool bVertical, const Rectangle& rRect, … in CreatePresObj() argument
254 switch( eObjKind ) in CreatePresObj()
438 if( (eObjKind == PRESOBJ_FOOTER) && (mePageKind != PK_STANDARD) ) in CreatePresObj()
442 else if( (eObjKind == PRESOBJ_SLIDENUMBER) && (mePageKind != PK_STANDARD) ) in CreatePresObj()
455 String aString = GetPresObjText(eObjKind); in CreatePresObj()
466 SetObjText( (SdrTextObj*) pSdrObj, (SdrOutliner*)pOutliner, eObjKind, aString ); in CreatePresObj()
472 …if( (eObjKind == PRESOBJ_HEADER) || (eObjKind == PRESOBJ_FOOTER) || (eObjKind == PRESOBJ_SLIDENUMB… in CreatePresObj()
481 if( (eObjKind == PRESOBJ_DATETIME) && (mePageKind != PK_STANDARD ) ) in CreatePresObj()
485 else if( (eObjKind == PRESOBJ_FOOTER) && (mePageKind == PK_STANDARD ) ) in CreatePresObj()
489 else if( eObjKind == PRESOBJ_SLIDENUMBER ) in CreatePresObj()
514 SfxStyleSheet* pSheetForPresObj = GetStyleSheetForPresObj(eObjKind); in CreatePresObj()
519 if (eObjKind == PRESOBJ_OUTLINE) in CreatePresObj()
533 if ( eObjKind == PRESOBJ_OBJECT || in CreatePresObj()
534 eObjKind == PRESOBJ_CHART || in CreatePresObj()
535 eObjKind == PRESOBJ_ORGCHART || in CreatePresObj()
536 eObjKind == PRESOBJ_CALC || in CreatePresObj()
537 eObjKind == PRESOBJ_GRAPHIC ) in CreatePresObj()
557 InsertPresObj(pSdrObj, eObjKind); in CreatePresObj()
590 SfxStyleSheet* SdPage::GetStyleSheetForPresObj(PresObjKind eObjKind) const in GetStyleSheetForPresObj()
601 switch (eObjKind) in GetStyleSheetForPresObj()
856 SdrObject* SdPage::CreateDefaultPresObj(PresObjKind eObjKind, bool bInsert) in CreateDefaultPresObj() argument
858 if( eObjKind == PRESOBJ_TITLE ) in CreateDefaultPresObj()
863 else if( eObjKind == PRESOBJ_OUTLINE ) in CreateDefaultPresObj()
868 else if( eObjKind == PRESOBJ_NOTES ) in CreateDefaultPresObj()
873 …else if( (eObjKind == PRESOBJ_FOOTER) || (eObjKind == PRESOBJ_DATETIME) || (eObjKind == PRESOBJ_SL… in CreateDefaultPresObj()
891 if( eObjKind == PRESOBJ_DATETIME ) in CreateDefaultPresObj()
898 else if( eObjKind == PRESOBJ_FOOTER ) in CreateDefaultPresObj()
905 else if( eObjKind == PRESOBJ_SLIDENUMBER ) in CreateDefaultPresObj()
937 if( eObjKind == PRESOBJ_HEADER ) in CreateDefaultPresObj()
943 else if( eObjKind == PRESOBJ_DATETIME ) in CreateDefaultPresObj()
949 else if( eObjKind == PRESOBJ_FOOTER ) in CreateDefaultPresObj()
955 else if( eObjKind == PRESOBJ_SLIDENUMBER ) in CreateDefaultPresObj()
1904 SdrObjKind eObjKind = (SdrObjKind) pObj->GetObjIdentifier(); in ScaleObjects() local
2024 else if ( eObjKind != OBJ_TITLETEXT && in ScaleObjects()
2025 eObjKind != OBJ_OUTLINETEXT && in ScaleObjects()
2074 …sentationObjectImpl( SdPage& rPage, SdrObject* pSourceObj, PresObjKind& eObjKind, bool bVertical, … in convertPresentationObjectImpl() argument
2085 if((eObjKind == PRESOBJ_OUTLINE) && (pSourceObj->GetObjIdentifier() == OBJ_TEXT) ) in convertPresentationObjectImpl()
2144 else if((eObjKind == PRESOBJ_TEXT) && (pSourceObj->GetObjIdentifier() == OBJ_OUTLINETEXT) ) in convertPresentationObjectImpl()
2189 else if((eObjKind == PRESOBJ_OUTLINE) && (pSourceObj->GetObjIdentifier() != OBJ_OUTLINETEXT) ) in convertPresentationObjectImpl()
2193 case OBJ_TABLE: eObjKind = PRESOBJ_TABLE; break; in convertPresentationObjectImpl()
2194 case OBJ_MEDIA: eObjKind = PRESOBJ_MEDIA; break; in convertPresentationObjectImpl()
2195 case OBJ_GRAF: eObjKind = PRESOBJ_GRAPHIC; break; in convertPresentationObjectImpl()
2196 case OBJ_OLE2: eObjKind = PRESOBJ_OBJECT; break; in convertPresentationObjectImpl()
2219 SdrObject* SdPage::InsertAutoLayoutShape( SdrObject* pObj, PresObjKind eObjKind, bool bVertical, Re… in InsertAutoLayoutShape() argument
2226 pObj = CreatePresObj(eObjKind, bVertical, aRect); in InsertAutoLayoutShape()
2232 pObj = convertPresentationObjectImpl( *this, pObj, eObjKind, bVertical, aRect ); in InsertAutoLayoutShape()
2257 if(PRESOBJ_OUTLINE == eObjKind) in InsertAutoLayoutShape()
2306 InsertPresObj( pObj, eObjKind ); in InsertAutoLayoutShape()
2310 if( bVertical && (( eObjKind == PRESOBJ_TITLE) || (eObjKind == PRESOBJ_OUTLINE))) in InsertAutoLayoutShape()
2315 if( eObjKind == PRESOBJ_OUTLINE ) in InsertAutoLayoutShape()
2381 void SdPage::SetObjText(SdrTextObj* pObj, SdrOutliner* pOutliner, PresObjKind eObjKind, const Strin… in SetObjText() argument
2414 switch( eObjKind ) in SetObjText()
2425 pOutl->SetStyleSheet( 0, GetStyleSheetForPresObj(eObjKind) ); in SetObjText()
2468 switch( eObjKind ) in SetObjText()
2626 String SdPage::GetPresObjText(PresObjKind eObjKind) const in GetPresObjText()
2630 if (eObjKind == PRESOBJ_TITLE) in GetPresObjText()
2648 else if (eObjKind == PRESOBJ_OUTLINE) in GetPresObjText()
2659 else if (eObjKind == PRESOBJ_NOTES) in GetPresObjText()
2670 else if (eObjKind == PRESOBJ_TEXT) in GetPresObjText()
2674 else if (eObjKind == PRESOBJ_GRAPHIC) in GetPresObjText()
2678 else if (eObjKind == PRESOBJ_OBJECT) in GetPresObjText()
2682 else if (eObjKind == PRESOBJ_CHART) in GetPresObjText()
2686 else if (eObjKind == PRESOBJ_ORGCHART) in GetPresObjText()
2690 else if (eObjKind == PRESOBJ_CALC) in GetPresObjText()