Lines Matching refs:nNum
804 void SdrPageView::ImpInvalidateHelpLineArea(sal_uInt16 nNum) const in ImpInvalidateHelpLineArea()
806 if (GetView().IsHlplVisible() && nNum<aHelpLines.GetCount()) { in ImpInvalidateHelpLineArea()
807 const SdrHelpLine& rHL=aHelpLines[nNum]; in ImpInvalidateHelpLineArea()
834 void SdrPageView::SetHelpLine(sal_uInt16 nNum, const SdrHelpLine& rNewHelpLine) in SetHelpLine() argument
836 if (nNum<aHelpLines.GetCount() && aHelpLines[nNum]!=rNewHelpLine) { in SetHelpLine()
838 if (aHelpLines[nNum].GetKind()==rNewHelpLine.GetKind()) { in SetHelpLine()
840 …case SDRHELPLINE_VERTICAL : if (aHelpLines[nNum].GetPos().X()==rNewHelpLine.GetPos().X()) bNeedRe… in SetHelpLine()
841 …case SDRHELPLINE_HORIZONTAL: if (aHelpLines[nNum].GetPos().Y()==rNewHelpLine.GetPos().Y()) bNeedRe… in SetHelpLine()
845 if (bNeedRedraw) ImpInvalidateHelpLineArea(nNum); in SetHelpLine()
846 aHelpLines[nNum]=rNewHelpLine; in SetHelpLine()
847 if (bNeedRedraw) ImpInvalidateHelpLineArea(nNum); in SetHelpLine()
851 void SdrPageView::DeleteHelpLine(sal_uInt16 nNum) in DeleteHelpLine() argument
853 if (nNum<aHelpLines.GetCount()) { in DeleteHelpLine()
854 ImpInvalidateHelpLineArea(nNum); in DeleteHelpLine()
855 aHelpLines.Delete(nNum); in DeleteHelpLine()
859 void SdrPageView::InsertHelpLine(const SdrHelpLine& rHL, sal_uInt16 nNum) in InsertHelpLine() argument
861 if (nNum>aHelpLines.GetCount()) nNum=aHelpLines.GetCount(); in InsertHelpLine()
862 aHelpLines.Insert(rHL,nNum); in InsertHelpLine()
866 ImpInvalidateHelpLineArea(nNum); in InsertHelpLine()
868 ImpInvalidateHelpLineArea(nNum); in InsertHelpLine()