Lines Matching refs:nCellFlags

2075 static void ImplApplyBoxItem( sal_uInt16 nCellFlags, const SvxBoxItem* pBoxItem, const SvxBoxInfoIt…  in ImplApplyBoxItem()  argument
2077 if( (nCellFlags & (CELL_BEFORE|CELL_AFTER|CELL_UPPER|CELL_LOWER)) != 0 ) in ImplApplyBoxItem()
2081 if( (nCellFlags & ( CELL_BEFORE|CELL_AFTER)) == 0 ) // check if its not nw or ne corner in ImplApplyBoxItem()
2083 if( nCellFlags & CELL_UPPER ) in ImplApplyBoxItem()
2088 else if( nCellFlags & CELL_LOWER ) in ImplApplyBoxItem()
2094 else if( (nCellFlags & ( CELL_UPPER|CELL_LOWER)) == 0 ) // check if its not sw or se corner in ImplApplyBoxItem()
2096 if( nCellFlags & CELL_BEFORE ) in ImplApplyBoxItem()
2101 else if( nCellFlags & CELL_AFTER ) in ImplApplyBoxItem()
2112 …if( (nCellFlags & CELL_LEFT) ? pBoxInfoItem->IsValid(VALID_LEFT) : pBoxInfoItem->IsValid(VALID_VER… in ImplApplyBoxItem()
2113 …rNewFrame.SetLine( (nCellFlags & CELL_LEFT) ? pBoxItem->GetLeft() : pBoxInfoItem->GetVert(), BOX_L… in ImplApplyBoxItem()
2115 …if( (nCellFlags & CELL_RIGHT) ? pBoxInfoItem->IsValid(VALID_RIGHT) : pBoxInfoItem->IsValid(VALID_V… in ImplApplyBoxItem()
2116 …rNewFrame.SetLine( (nCellFlags & CELL_RIGHT) ? pBoxItem->GetRight() : pBoxInfoItem->GetVert(), BOX… in ImplApplyBoxItem()
2118 …if( (nCellFlags & CELL_TOP) ? pBoxInfoItem->IsValid(VALID_TOP) : pBoxInfoItem->IsValid(VALID_HORI)… in ImplApplyBoxItem()
2119 …rNewFrame.SetLine( (nCellFlags & CELL_TOP) ? pBoxItem->GetTop() : pBoxInfoItem->GetHori(), BOX_LIN… in ImplApplyBoxItem()
2121 …if( (nCellFlags & CELL_BOTTOM) ? pBoxInfoItem->IsValid(VALID_BOTTOM) : pBoxInfoItem->IsValid(VALID… in ImplApplyBoxItem()
2122 …rNewFrame.SetLine( (nCellFlags & CELL_BOTTOM) ? pBoxItem->GetBottom() : pBoxInfoItem->GetHori(), B… in ImplApplyBoxItem()
2146 static void ImplApplyLineColorItem( sal_uInt16 nCellFlags, const SvxColorItem* pLineColorItem, SvxB… in ImplApplyLineColorItem() argument
2150 if( (nCellFlags & (CELL_LOWER|CELL_BEFORE|CELL_AFTER)) == 0 ) in ImplApplyLineColorItem()
2153 if( (nCellFlags & (CELL_UPPER|CELL_BEFORE|CELL_AFTER)) == 0 ) in ImplApplyLineColorItem()
2156 if( (nCellFlags & (CELL_UPPER|CELL_LOWER|CELL_AFTER)) == 0 ) in ImplApplyLineColorItem()
2159 if( (nCellFlags & (CELL_UPPER|CELL_LOWER|CELL_BEFORE)) == 0 ) in ImplApplyLineColorItem()
2165 static void ImplApplyBorderLineItem( sal_uInt16 nCellFlags, const SvxBorderLine* pBorderLineItem, S… in ImplApplyBorderLineItem() argument
2167 if( (nCellFlags & ( CELL_BEFORE|CELL_AFTER|CELL_UPPER|CELL_LOWER)) != 0 ) in ImplApplyBorderLineItem()
2169 if( (nCellFlags & ( CELL_BEFORE|CELL_AFTER)) == 0 ) // check if its not nw or ne corner in ImplApplyBorderLineItem()
2171 if( nCellFlags & CELL_UPPER ) in ImplApplyBorderLineItem()
2176 else if( nCellFlags & CELL_LOWER ) in ImplApplyBorderLineItem()
2182 else if( (nCellFlags & ( CELL_UPPER|CELL_LOWER)) == 0 ) // check if its not sw or se corner in ImplApplyBorderLineItem()
2184 if( nCellFlags & CELL_BEFORE ) in ImplApplyBorderLineItem()
2189 else if( nCellFlags & CELL_AFTER ) in ImplApplyBorderLineItem()
2271 sal_uInt16 nCellFlags = nRowFlags; in ApplyBorderAttr() local
2272 nCellFlags |= (nCol == aStart.mnCol) ? CELL_LEFT : 0; in ApplyBorderAttr()
2273 nCellFlags |= (nCol == aEnd.mnCol) ? CELL_RIGHT : 0; in ApplyBorderAttr()
2274 nCellFlags |= (nCol < aStart.mnCol) ? CELL_BEFORE : 0; in ApplyBorderAttr()
2275 nCellFlags |= (nCol > aEnd.mnCol) ? CELL_AFTER : 0; in ApplyBorderAttr()
2278 ImplApplyBoxItem( nCellFlags, pBoxItem, pBoxInfoItem, aNewFrame ); in ApplyBorderAttr()
2281 ImplApplyLineColorItem( nCellFlags, pLineColorItem, aNewFrame ); in ApplyBorderAttr()
2284 ImplApplyBorderLineItem( nCellFlags, pBorderLineItem, aNewFrame ); in ApplyBorderAttr()