Lines Matching refs:eObjKind
167 SdrObject* SdPage::GetPresObj(PresObjKind eObjKind, int nIndex, bool bFuzzySearch /* = false */ ) in GetPresObj() argument
179 if( pInfo->mePresObjKind == eObjKind ) in GetPresObj()
183 else if( bFuzzySearch && (eObjKind == PRESOBJ_OUTLINE) ) in GetPresObj()
248 SdrObject* SdPage::CreatePresObj(PresObjKind eObjKind, sal_Bool bVertical, const Rectangle& rRect, … in CreatePresObj() argument
258 switch( eObjKind ) in CreatePresObj()
442 if( (eObjKind == PRESOBJ_FOOTER) && (mePageKind != PK_STANDARD) ) in CreatePresObj()
446 else if( (eObjKind == PRESOBJ_SLIDENUMBER) && (mePageKind != PK_STANDARD) ) in CreatePresObj()
459 String aString = GetPresObjText(eObjKind); in CreatePresObj()
470 SetObjText( (SdrTextObj*) pSdrObj, (SdrOutliner*)pOutliner, eObjKind, aString ); in CreatePresObj()
476 …if( (eObjKind == PRESOBJ_HEADER) || (eObjKind == PRESOBJ_FOOTER) || (eObjKind == PRESOBJ_SLIDENUMB… in CreatePresObj()
485 if( (eObjKind == PRESOBJ_DATETIME) && (mePageKind != PK_STANDARD ) ) in CreatePresObj()
489 else if( (eObjKind == PRESOBJ_FOOTER) && (mePageKind == PK_STANDARD ) ) in CreatePresObj()
493 else if( eObjKind == PRESOBJ_SLIDENUMBER ) in CreatePresObj()
518 SfxStyleSheet* pSheetForPresObj = GetStyleSheetForPresObj(eObjKind); in CreatePresObj()
523 if (eObjKind == PRESOBJ_OUTLINE) in CreatePresObj()
537 if ( eObjKind == PRESOBJ_OBJECT || in CreatePresObj()
538 eObjKind == PRESOBJ_CHART || in CreatePresObj()
539 eObjKind == PRESOBJ_ORGCHART || in CreatePresObj()
540 eObjKind == PRESOBJ_CALC || in CreatePresObj()
541 eObjKind == PRESOBJ_GRAPHIC ) in CreatePresObj()
561 InsertPresObj(pSdrObj, eObjKind); in CreatePresObj()
596 SfxStyleSheet* SdPage::GetStyleSheetForPresObj(PresObjKind eObjKind) const in GetStyleSheetForPresObj()
607 switch (eObjKind) in GetStyleSheetForPresObj()
866 SdrObject* SdPage::CreateDefaultPresObj(PresObjKind eObjKind, bool bInsert) in CreateDefaultPresObj() argument
868 if( eObjKind == PRESOBJ_TITLE ) in CreateDefaultPresObj()
873 else if( eObjKind == PRESOBJ_OUTLINE ) in CreateDefaultPresObj()
878 else if( eObjKind == PRESOBJ_NOTES ) in CreateDefaultPresObj()
883 …else if( (eObjKind == PRESOBJ_FOOTER) || (eObjKind == PRESOBJ_DATETIME) || (eObjKind == PRESOBJ_SL… in CreateDefaultPresObj()
901 if( eObjKind == PRESOBJ_DATETIME ) in CreateDefaultPresObj()
908 else if( eObjKind == PRESOBJ_FOOTER ) in CreateDefaultPresObj()
915 else if( eObjKind == PRESOBJ_SLIDENUMBER ) in CreateDefaultPresObj()
947 if( eObjKind == PRESOBJ_HEADER ) in CreateDefaultPresObj()
953 else if( eObjKind == PRESOBJ_DATETIME ) in CreateDefaultPresObj()
959 else if( eObjKind == PRESOBJ_FOOTER ) in CreateDefaultPresObj()
965 else if( eObjKind == PRESOBJ_SLIDENUMBER ) in CreateDefaultPresObj()
1942 SdrObjKind eObjKind = (SdrObjKind) pObj->GetObjIdentifier(); in ScaleObjects() local
2062 else if ( eObjKind != OBJ_TITLETEXT && in ScaleObjects()
2063 eObjKind != OBJ_OUTLINETEXT && in ScaleObjects()
2112 …sentationObjectImpl( SdPage& rPage, SdrObject* pSourceObj, PresObjKind& eObjKind, bool bVertical, … in convertPresentationObjectImpl() argument
2123 if((eObjKind == PRESOBJ_OUTLINE) && (pSourceObj->GetObjIdentifier() == OBJ_TEXT) ) in convertPresentationObjectImpl()
2182 else if((eObjKind == PRESOBJ_TEXT) && (pSourceObj->GetObjIdentifier() == OBJ_OUTLINETEXT) ) in convertPresentationObjectImpl()
2227 else if((eObjKind == PRESOBJ_OUTLINE) && (pSourceObj->GetObjIdentifier() != OBJ_OUTLINETEXT) ) in convertPresentationObjectImpl()
2231 case OBJ_TABLE: eObjKind = PRESOBJ_TABLE; break; in convertPresentationObjectImpl()
2232 case OBJ_MEDIA: eObjKind = PRESOBJ_MEDIA; break; in convertPresentationObjectImpl()
2233 case OBJ_GRAF: eObjKind = PRESOBJ_GRAPHIC; break; in convertPresentationObjectImpl()
2234 case OBJ_OLE2: eObjKind = PRESOBJ_OBJECT; break; in convertPresentationObjectImpl()
2257 SdrObject* SdPage::InsertAutoLayoutShape( SdrObject* pObj, PresObjKind eObjKind, bool bVertical, Re… in InsertAutoLayoutShape() argument
2264 pObj = CreatePresObj(eObjKind, bVertical, aRect); in InsertAutoLayoutShape()
2270 pObj = convertPresentationObjectImpl( *this, pObj, eObjKind, bVertical, aRect ); in InsertAutoLayoutShape()
2295 if(PRESOBJ_OUTLINE == eObjKind) in InsertAutoLayoutShape()
2344 InsertPresObj( pObj, eObjKind ); in InsertAutoLayoutShape()
2348 if( bVertical && (( eObjKind == PRESOBJ_TITLE) || (eObjKind == PRESOBJ_OUTLINE))) in InsertAutoLayoutShape()
2353 if( eObjKind == PRESOBJ_OUTLINE ) in InsertAutoLayoutShape()
2423 void SdPage::SetObjText(SdrTextObj* pObj, SdrOutliner* pOutliner, PresObjKind eObjKind, const Strin… in SetObjText() argument
2456 switch( eObjKind ) in SetObjText()
2467 pOutl->SetStyleSheet( 0, GetStyleSheetForPresObj(eObjKind) ); in SetObjText()
2510 switch( eObjKind ) in SetObjText()
2680 String SdPage::GetPresObjText(PresObjKind eObjKind) const in GetPresObjText()
2684 if (eObjKind == PRESOBJ_TITLE) in GetPresObjText()
2702 else if (eObjKind == PRESOBJ_OUTLINE) in GetPresObjText()
2713 else if (eObjKind == PRESOBJ_NOTES) in GetPresObjText()
2724 else if (eObjKind == PRESOBJ_TEXT) in GetPresObjText()
2728 else if (eObjKind == PRESOBJ_GRAPHIC) in GetPresObjText()
2732 else if (eObjKind == PRESOBJ_OBJECT) in GetPresObjText()
2736 else if (eObjKind == PRESOBJ_CHART) in GetPresObjText()
2740 else if (eObjKind == PRESOBJ_ORGCHART) in GetPresObjText()
2744 else if (eObjKind == PRESOBJ_CALC) in GetPresObjText()