Lines Matching refs:nWhich

603 FASTBOOL ImpGetItem(const SfxItemSet& rSet, sal_uInt16 nWhich, const SfxPoolItem*& rpItem)  in ImpGetItem()  argument
605 SfxItemState eState=rSet.GetItemState(nWhich,sal_True,&rpItem); in ImpGetItem()
607 rpItem=&rSet.Get(nWhich); in ImpGetItem()
612 FASTBOOL IsItemIneffective(sal_uInt16 nWhich, const SfxItemSet* pSet, sal_uInt16& rIndent) in IsItemIneffective() argument
618 switch (nWhich) { in IsItemIneffective()
633 if (eLineStyle!=XLINE_DASH && nWhich==XATTR_LINEDASH) return sal_True; in IsItemIneffective()
635 if (nWhich==XATTR_LINESTART || nWhich==XATTR_LINESTARTCENTER) { in IsItemIneffective()
642 if (nWhich==XATTR_LINEEND || nWhich==XATTR_LINEENDCENTER) { in IsItemIneffective()
662 …if (eFillStyle!=XFILL_SOLID && (nWhich==XATTR_FILLCOLOR || nWhich==XATTR_FILLTRANSPARENCE)) return… in IsItemIneffective()
663 …if (eFillStyle!=XFILL_GRADIENT && (nWhich==XATTR_FILLGRADIENT || nWhich==XATTR_GRADIENTSTEPCOUNT))… in IsItemIneffective()
664 …if (eFillStyle!=XFILL_HATCH && (nWhich==XATTR_FILLHATCH || nWhich==XATTR_FILLBACKGROUND)) return s… in IsItemIneffective()
683 if (nWhich==XATTR_FILLBITMAP || nWhich==XATTR_FILLBMP_TILE) { in IsItemIneffective()
699 if (nWhich==XATTR_FILLBMP_STRETCH) return bTileTRUE; in IsItemIneffective()
703 if (nWhich==XATTR_FILLBMP_POS) return bTileFALSE; in IsItemIneffective()
705 if (nWhich==XATTR_FILLBMP_SIZEX || nWhich==XATTR_FILLBMP_SIZEY) { in IsItemIneffective()
709 if (nWhich==XATTR_FILLBMP_POSOFFSETX || nWhich==XATTR_FILLBMP_POSOFFSETY) { in IsItemIneffective()
713 if (nWhich==XATTR_FILLBMP_TILEOFFSETX || nWhich==XATTR_FILLBMP_TILEOFFSETY) { in IsItemIneffective()
725 if (nWhich==XATTR_FILLBMP_TILEOFFSETX) { in IsItemIneffective()
737 if (nWhich==XATTR_FILLBMP_SIZELOG) { in IsItemIneffective()
758 …if ((nWhich>=XATTR_FORMTXTSHDWCOLOR && nWhich<=XATTR_FORMTXTSHDWYVAL) || nWhich>=XATTR_FORMTXTSHDW… in IsItemIneffective()
792 if (bRel && nWhich==SDRATTR_CAPTIONESCABS) return sal_True; in IsItemIneffective()
793 if (!bRel && nWhich==SDRATTR_CAPTIONESCREL) return sal_True; in IsItemIneffective()
838 …if (eAniKind==SDRTEXTANI_BLINK && (nWhich==SDRATTR_TEXT_ANIDIRECTION || nWhich==SDRATTR_TEXT_ANIAM… in IsItemIneffective()
839 …if (eAniKind==SDRTEXTANI_SLIDE && (nWhich==SDRATTR_TEXT_ANISTARTINSIDE || nWhich==SDRATTR_TEXT_ANI… in IsItemIneffective()
850 if (nWhich>SDRATTR_EDGELINE2DELTA) return sal_True; in IsItemIneffective()
858 if (nAnz==1 && nWhich>SDRATTR_EDGELINE1DELTA) return sal_True; in IsItemIneffective()
859 if (nAnz==2 && nWhich>SDRATTR_EDGELINE2DELTA) return sal_True; in IsItemIneffective()
860 if (nAnz==3 && nWhich>SDRATTR_EDGELINE3DELTA) return sal_True; in IsItemIneffective()
876 sal_uInt16 ImpSortWhich(sal_uInt16 nWhich) in ImpSortWhich() argument
878 switch (nWhich) { in ImpSortWhich()
880 case XATTR_LINESTART : nWhich=XATTR_LINETRANSPARENCE ; break; in ImpSortWhich()
881 case XATTR_LINEEND : nWhich=XATTR_LINESTARTWIDTH ; break; in ImpSortWhich()
882 case XATTR_LINESTARTWIDTH : nWhich=XATTR_LINESTART ; break; in ImpSortWhich()
883 case XATTR_LINEENDWIDTH : nWhich=XATTR_LINESTARTCENTER ; break; in ImpSortWhich()
884 case XATTR_LINESTARTCENTER : nWhich=XATTR_LINEENDWIDTH ; break; in ImpSortWhich()
885 case XATTR_LINEENDCENTER : nWhich=XATTR_LINEEND ; break; in ImpSortWhich()
886 case XATTR_LINETRANSPARENCE : nWhich=XATTR_LINEENDCENTER ; break; in ImpSortWhich()
889 case XATTR_FILLBMP_POS : nWhich=XATTR_FILLBMP_STRETCH ; break; in ImpSortWhich()
890 case XATTR_FILLBMP_SIZEX : nWhich=XATTR_FILLBMP_POS ; break; in ImpSortWhich()
891 case XATTR_FILLBMP_SIZEY : nWhich=XATTR_FILLBMP_SIZEX ; break; in ImpSortWhich()
892 case XATTR_FILLBMP_SIZELOG : nWhich=XATTR_FILLBMP_SIZEY ; break; in ImpSortWhich()
893 case XATTR_FILLBMP_TILEOFFSETX : nWhich=XATTR_FILLBMP_SIZELOG ; break; in ImpSortWhich()
894 case XATTR_FILLBMP_TILEOFFSETY : nWhich=XATTR_FILLBMP_TILEOFFSETX ; break; in ImpSortWhich()
895 case XATTR_FILLBMP_STRETCH : nWhich=XATTR_FILLBMP_TILEOFFSETY ; break; in ImpSortWhich()
898 case XATTR_FORMTXTSHADOW : nWhich=XATTR_FORMTXTSHDWXVAL ; break; in ImpSortWhich()
899 case XATTR_FORMTXTSHDWCOLOR : nWhich=XATTR_FORMTXTHIDEFORM ; break; in ImpSortWhich()
900 case XATTR_FORMTXTSHDWXVAL : nWhich=XATTR_FORMTXTSHADOW ; break; in ImpSortWhich()
901 case XATTR_FORMTXTSHDWYVAL : nWhich=XATTR_FORMTXTSHDWCOLOR ; break; in ImpSortWhich()
902 case XATTR_FORMTXTHIDEFORM : nWhich=XATTR_FORMTXTSHDWYVAL ; break; in ImpSortWhich()
905 case SDRATTR_TEXT_MINFRAMEHEIGHT: nWhich=SDRATTR_TEXT_FITTOSIZE ; break; in ImpSortWhich()
906 case SDRATTR_TEXT_AUTOGROWHEIGHT: nWhich=SDRATTR_TEXT_LEFTDIST ; break; in ImpSortWhich()
907 case SDRATTR_TEXT_FITTOSIZE : nWhich=SDRATTR_TEXT_RIGHTDIST ; break; in ImpSortWhich()
908 case SDRATTR_TEXT_LEFTDIST : nWhich=SDRATTR_TEXT_UPPERDIST ; break; in ImpSortWhich()
909 case SDRATTR_TEXT_RIGHTDIST : nWhich=SDRATTR_TEXT_LOWERDIST ; break; in ImpSortWhich()
910 case SDRATTR_TEXT_UPPERDIST : nWhich=SDRATTR_TEXT_AUTOGROWWIDTH ; break; in ImpSortWhich()
911 case SDRATTR_TEXT_LOWERDIST : nWhich=SDRATTR_TEXT_MINFRAMEWIDTH ; break; in ImpSortWhich()
912 case SDRATTR_TEXT_VERTADJUST : nWhich=SDRATTR_TEXT_MAXFRAMEWIDTH ; break; in ImpSortWhich()
913 case SDRATTR_TEXT_MAXFRAMEHEIGHT: nWhich=SDRATTR_TEXT_AUTOGROWHEIGHT; break; in ImpSortWhich()
914 case SDRATTR_TEXT_MINFRAMEWIDTH : nWhich=SDRATTR_TEXT_MINFRAMEHEIGHT; break; in ImpSortWhich()
915 case SDRATTR_TEXT_MAXFRAMEWIDTH : nWhich=SDRATTR_TEXT_MAXFRAMEHEIGHT; break; in ImpSortWhich()
916 case SDRATTR_TEXT_AUTOGROWWIDTH : nWhich=SDRATTR_TEXT_HORZADJUST ; break; in ImpSortWhich()
917 case SDRATTR_TEXT_HORZADJUST : nWhich=SDRATTR_TEXT_VERTADJUST ; break; in ImpSortWhich()
919 return nWhich; in ImpSortWhich()
923 { if (nWhich0<nStartId && nWhich>=nStartId && nWhich<=nEndId) aCommentStr=aStr; }
934 sal_uInt16 nWhich=aIter.FirstWhich(); in SetAttributes() local
935 while (nWhich!=0) { in SetAttributes()
939 if (!bDontSortItems) nWhich=ImpSortWhich(nWhich); in SetAttributes()
940 SfxItemState eState=pSet->GetItemState(nWhich); in SetAttributes()
942 SfxItemState e2ndState=p2ndSet->GetItemState(nWhich); in SetAttributes()
947 const SfxPoolItem& rItem=pSet->Get(nWhich); in SetAttributes()
949 …if (!HAS_BASE(SfxVoidItem,&rItem) && !HAS_BASE(SfxSetItem,&rItem) && (!IsItemIneffective(nWhich,pS… in SetAttributes()
977 nWhich0=nWhich; in SetAttributes()
979 SdrItemPool::TakeItemName(nWhich, aEntry.aName); in SetAttributes()
989 aEntry.nWhichId=nWhich; in SetAttributes()
1031 pPool->GetMetric(nWhich), in SetAttributes()
1041 …else if (aEntry.eItemType==ITEM_ENUM && nWhich!=EE_CHAR_WEIGHT) aEntry.aValue=((SfxEnumItemInterfa… in SetAttributes()
1051 nWhich=aIter.NextWhich(); in SetAttributes()