Lines Matching refs:aEntry

971 						ImpItemListRow aEntry;  in SetAttributes()  local
972 aEntry.bComment=sal_True; in SetAttributes()
973 aEntry.aName=aCommentStr; in SetAttributes()
974 ImpSetEntry(aEntry,nEntryNum); in SetAttributes()
978 ImpItemListRow aEntry; in SetAttributes() local
979 SdrItemPool::TakeItemName(nWhich, aEntry.aName); in SetAttributes()
984 aEntry.aName.Insert(sal_Unicode(' '), 0); in SetAttributes()
988 aEntry.eState=eState; in SetAttributes()
989 aEntry.nWhichId=nWhich; in SetAttributes()
991 aEntry.pType=rItem.Type(); in SetAttributes()
992 aEntry.nMax=0x7FFFFFFF; in SetAttributes()
993 aEntry.nMin=-aEntry.nMax; in SetAttributes()
994 aEntry.nVal=-4711; in SetAttributes()
995 if (HAS_BASE(SfxByteItem ,&rItem)) aEntry.eItemType=ITEM_BYTE; in SetAttributes()
996 else if (HAS_BASE(SfxInt16Item ,&rItem)) aEntry.eItemType=ITEM_INT16; in SetAttributes()
997 else if (HAS_BASE(SfxUInt16Item ,&rItem)) aEntry.eItemType=ITEM_UINT16; in SetAttributes()
998 else if (HAS_BASE(SfxInt32Item ,&rItem)) aEntry.eItemType=ITEM_INT32; in SetAttributes()
999 else if (HAS_BASE(SfxUInt32Item ,&rItem)) aEntry.eItemType=ITEM_UINT32; in SetAttributes()
1000 else if (HAS_BASE(SfxEnumItemInterface,&rItem)) aEntry.eItemType=ITEM_ENUM; in SetAttributes()
1001 else if (HAS_BASE(SfxBoolItem ,&rItem)) aEntry.eItemType=ITEM_BOOL; in SetAttributes()
1002 else if (HAS_BASE(SfxFlagItem ,&rItem)) aEntry.eItemType=ITEM_FLAG; in SetAttributes()
1003 else if (HAS_BASE(XColorItem ,&rItem)) aEntry.eItemType=ITEM_XCOLOR; in SetAttributes()
1004 else if (HAS_BASE(SfxStringItem ,&rItem)) aEntry.eItemType=ITEM_STRING; in SetAttributes()
1005 else if (HAS_BASE(SfxPointItem ,&rItem)) aEntry.eItemType=ITEM_POINT; in SetAttributes()
1006 else if (HAS_BASE(SfxRectangleItem,&rItem)) aEntry.eItemType=ITEM_RECT; in SetAttributes()
1007 else if (HAS_BASE(SfxRangeItem ,&rItem)) aEntry.eItemType=ITEM_RANGE; in SetAttributes()
1008 else if (HAS_BASE(SdrFractionItem ,&rItem)) aEntry.eItemType=ITEM_FRACTION; in SetAttributes()
1009 else if (HAS_BASE(SvxColorItem ,&rItem)) aEntry.eItemType=ITEM_COLOR; in SetAttributes()
1010 else if (HAS_BASE(SvxFontItem ,&rItem)) aEntry.eItemType=ITEM_FONT; in SetAttributes()
1011 else if (HAS_BASE(SvxFontHeightItem,&rItem))aEntry.eItemType=ITEM_FONTHEIGHT; in SetAttributes()
1012 else if (HAS_BASE(SvxCharScaleWidthItem,&rItem)) aEntry.eItemType=ITEM_FONTWIDTH; in SetAttributes()
1013 else if (HAS_BASE(SvxFieldItem ,&rItem)) aEntry.eItemType=ITEM_FIELD; in SetAttributes()
1014 switch (aEntry.eItemType) { in SetAttributes()
1015 …case ITEM_BYTE : aEntry.bIsNum=sal_True; aEntry.nVal=((SfxByteItem &)rItem).GetValue(); aEn… in SetAttributes()
1016 …case ITEM_INT16 : aEntry.bIsNum=sal_True; aEntry.nVal=((SfxInt16Item &)rItem).GetValue(); aEn… in SetAttributes()
1017 …case ITEM_UINT16 : aEntry.bIsNum=sal_True; aEntry.nVal=((SfxUInt16Item&)rItem).GetValue(); aEn… in SetAttributes()
1018 …case ITEM_INT32 : aEntry.bIsNum=sal_True; aEntry.nVal=((SfxInt32Item &)rItem).GetValue(); … in SetAttributes()
1019 …case ITEM_UINT32 : aEntry.bIsNum=sal_True; aEntry.nVal=((SfxUInt32Item&)rItem).GetValue(); aEn… in SetAttributes()
1020 …case ITEM_ENUM : aEntry.bCanNum=sal_True; aEntry.nVal=((SfxEnumItemInterface&)rItem).GetEnumV… in SetAttributes()
1021 …case ITEM_BOOL : aEntry.bCanNum=sal_True; aEntry.nVal=((SfxBoolItem &)rItem).GetValue(); aEn… in SetAttributes()
1022 …case ITEM_FLAG : aEntry.bCanNum=sal_True; aEntry.nVal=((SfxFlagItem &)rItem).GetValue(); aEn… in SetAttributes()
1023 …case ITEM_FONTHEIGHT: aEntry.bCanNum=sal_True; aEntry.nVal=((SvxFontHeightItem&)rItem).GetHeight()… in SetAttributes()
1024 …case ITEM_FONTWIDTH : aEntry.bCanNum=sal_True; aEntry.nVal=((SvxCharScaleWidthItem&)rItem).GetValu… in SetAttributes()
1027 if (aEntry.bIsNum) aEntry.bCanNum=sal_True; in SetAttributes()
1032 SFX_MAPUNIT_MM,aEntry.aValue); in SetAttributes()
1033 if (aEntry.bCanNum) { in SetAttributes()
1034 aEntry.aValue.InsertAscii(": ",0); in SetAttributes()
1035 aEntry.aValue.Insert(UniString::CreateFromInt32(aEntry.nVal),0); in SetAttributes()
1038 … if (aEntry.eItemType==ITEM_BOOL) aEntry.aValue.AppendAscii(aEntry.nVal!=0 ? "True" : "False"); in SetAttributes()
1039 else if (aEntry.bCanNum) aEntry.aValue = UniString::CreateFromInt32(aEntry.nVal); in SetAttributes()
1040 else if (aEntry.eItemType==ITEM_STRING) aEntry.aValue=((SfxStringItem&)rItem).GetValue(); in SetAttributes()
1041 …else if (aEntry.eItemType==ITEM_ENUM && nWhich!=EE_CHAR_WEIGHT) aEntry.aValue=((SfxEnumItemInterfa… in SetAttributes()
1042 else aEntry.aValue = String("GPF", aTextEncoding); in SetAttributes()
1045 aEntry.aValue = String("InvalidItem", aTextEncoding); in SetAttributes()
1047 ImpSetEntry(aEntry,nEntryNum); in SetAttributes()