Index: APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Boring/RugBoring.cls.xml =================================================================== diff -u -r59846 -r59917 --- APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Boring/RugBoring.cls.xml (.../RugBoring.cls.xml) (revision 59846) +++ APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Boring/RugBoring.cls.xml (.../RugBoring.cls.xml) (revision 59917) @@ -12,17 +12,23 @@ + +TECH.Svg.BasisElementFactory +1 + + -MidX:%Integer,MidY:%Integer,Width:%Integer,Height:%Integer +MidX:%Integer,MidY:%Integer,Width:%Integer,Height:%Integer,BasisElementFactory:TECH.Svg.BasisElementFactory="" 1 1 %Status 1 SvgBox + +BasisElementFactory + Index: APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Boring/ZijBoring.cls.xml =================================================================== diff -u -r59846 -r59917 --- APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Boring/ZijBoring.cls.xml (.../ZijBoring.cls.xml) (revision 59846) +++ APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Boring/ZijBoring.cls.xml (.../ZijBoring.cls.xml) (revision 59917) @@ -13,7 +13,7 @@ -MidX:%Integer,MidY:%Integer,Width:%Integer,Height:%Integer,Rotation:%Integer +MidX:%Integer,MidY:%Integer,Width:%Integer,Height:%Integer,Rotation:%Integer=0 1 1 %Status Index: APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Beslag/Boringen.cls.xml =================================================================== diff -u -r59846 -r59917 --- APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Beslag/Boringen.cls.xml (.../Boringen.cls.xml) (revision 59846) +++ APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Beslag/Boringen.cls.xml (.../Boringen.cls.xml) (revision 59917) @@ -50,7 +50,6 @@ ElseIf(Boring.BoorDiameter<0)||(Boring.BoorDiepte=0){ Set DoorBoring = ##class(APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.Boring.DoorBoring).%New(XPos,YPos,10,10) Do ..Group.VoegToeElement(DoorBoring) - } Else { @@ -68,6 +67,69 @@ ]]> + +Beslag:Res.PI.Beslag,Plaats:%String +2) { + Set BeslagBoringSpecialeVorm = ##class(APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.Beslag.BeslagBoringSpecialeVorm).%New(Boring.VmlID, XPos, YPos, Rotation) + Do ..Group.VoegToeElement(BeslagBoringSpecialeVorm) + } + ElseIf (BoorType="Z") { + Do ##class(Tools.Wlip).%New(238).String(Boring.VmlID) + Set GrootteBoring = 14 + Set Rotation=$S(Plaats="PL":0, Plaats="PB":90, Plaats="PR":180, Plaats="PO":270, 1:0) + Set ZijBoring = ##class(APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.Boring.ZijBoring).%New(XPos,YPos,GrootteBoring,GrootteBoring,Rotation) + Do ..Group.VoegToeElement(ZijBoring) + } + ElseIf(Boring.IsSpecialeBoring()){ + Set GrootteBoring = 10 + Set SpecialeBoring = ##class(APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.SpecialeBoring).%New(XPos,YPos,GrootteBoring,GrootteBoring) + ; Do ##class(Tools.Wlip).%New(238).ObjToXML(SpecialeBoring) + Do ..Group.VoegToeElement(SpecialeBoring) + } + ElseIf (Boring.BoorDiepte < 0) { + + Set Circle= ##class(TECH.Svg.BasisElementFactory).%New().MaakCirkel(XPos,YPos,GrootteBoring/2) + Do Circle.SetFill(##class(TECH.Svg.enu.Kleur).Zwart()) + Do ..Group.VoegToeElement(Circle) + } + ElseIf(Boring.BoorDiameter<0)||(Boring.BoorDiepte=0){ + + Set GrootteBoring = 10 + Set DoorBoring = ##class(APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.Boring.DoorBoring).%New(XPos,YPos,GrootteBoring,GrootteBoring) + Do ..Group.VoegToeElement(DoorBoring) + } + Else { + Do ##class(Tools.Wlip).%New(238).String(BoorType) + If (GrootteBoring<10) { + Do ##class(Tools.Wlip).%New(238).String("else") + Set RugBoring = ##class(APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.Boring.RugBoring).%New(XPos, YPos,GrootteBoring,GrootteBoring) + Do RugBoring.SetFill(##class(TECH.Svg.enu.Kleur).Zwart()) + Do ..Group.VoegToeElement(RugBoring) + } + } + If (BoorType = "Z"), (Boring.BoorDiepte<0) { + Set DoorBoring = ##class(APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.Boring.DoorBoring).%New(XPos,YPos,GrootteBoring,GrootteBoring) + Do ..Group.VoegToeElement(DoorBoring) + } + + } +]]> + + %Library.CacheSerialState