Index: APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/SpecialeBoring.cls.xml =================================================================== diff -u -r59712 -r60049 --- APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/SpecialeBoring.cls.xml (.../SpecialeBoring.cls.xml) (revision 59712) +++ APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/SpecialeBoring.cls.xml (.../SpecialeBoring.cls.xml) (revision 60049) @@ -28,6 +28,16 @@ ]]> + + +%Status + + + %Library.CacheSerialState Index: APPS/Halux/PPS/ALUFrees/Svg/BasisElement/TCross.cls.xml =================================================================== diff -u -r59712 -r60049 --- APPS/Halux/PPS/ALUFrees/Svg/BasisElement/TCross.cls.xml (.../TCross.cls.xml) (revision 59712) +++ APPS/Halux/PPS/ALUFrees/Svg/BasisElement/TCross.cls.xml (.../TCross.cls.xml) (revision 60049) @@ -18,19 +18,33 @@ -Width:%Integer,Height:%Integer +Width:%Integer,Height:%Integer,kleur:TECH.Svg.enu.Kleur=##class(TECH.Svg.enu.Kleur).Zwart() 1 1 %Status 1 + + +%Status + + + %Library.CacheSerialState Index: APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Boring/RugBoring.cls.xml =================================================================== diff -u -r59917 -r60049 --- APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Boring/RugBoring.cls.xml (.../RugBoring.cls.xml) (revision 59917) +++ APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Boring/RugBoring.cls.xml (.../RugBoring.cls.xml) (revision 60049) @@ -18,16 +18,17 @@ -MidX:%Integer,MidY:%Integer,Width:%Integer,Height:%Integer,BasisElementFactory:TECH.Svg.BasisElementFactory="" +MidX:%Integer,MidY:%Integer,Width:%Integer,Height:%Integer,kleur:TECH.Svg.enu.Kleur=##class(TECH.Svg.enu.Kleur).Zwart(),BasisElementFactory:TECH.Svg.BasisElementFactory="" 1 1 %Status 1 + + +%Status + + + %Library.CacheSerialState Index: APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Boring/DoorBoring.cls.xml =================================================================== diff -u -r59712 -r60049 --- APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Boring/DoorBoring.cls.xml (.../DoorBoring.cls.xml) (revision 59712) +++ APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Boring/DoorBoring.cls.xml (.../DoorBoring.cls.xml) (revision 60049) @@ -13,21 +13,32 @@ -MidX:%Integer,MidY:%Integer,Width:%Integer,Height:%Integer +MidX:%Integer,MidY:%Integer,Width:%Integer,Height:%Integer,kleur:TECH.Svg.enu.Kleur=##class(TECH.Svg.enu.Kleur).Zwart() 1 1 %Status 1 + + +%Status + + + %Library.CacheSerialState Index: APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Boring/ZijBoring.cls.xml =================================================================== diff -u -r59917 -r60049 --- APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Boring/ZijBoring.cls.xml (.../ZijBoring.cls.xml) (revision 59917) +++ APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Boring/ZijBoring.cls.xml (.../ZijBoring.cls.xml) (revision 60049) @@ -13,15 +13,15 @@ -MidX:%Integer,MidY:%Integer,Width:%Integer,Height:%Integer,Rotation:%Integer=0 +MidX:%Integer,MidY:%Integer,Width:%Integer,Height:%Integer,Rotation:%Integer=0,kleur:TECH.Svg.enu.Kleur=##class(TECH.Svg.enu.Kleur).Zwart() 1 1 %Status 1 + + +%Status + + + %Library.CacheSerialState Index: APPS/Halux/PPS/ALUFrees/Svg/BasisElement/CrossDiag.cls.xml =================================================================== diff -u -r59712 -r60049 --- APPS/Halux/PPS/ALUFrees/Svg/BasisElement/CrossDiag.cls.xml (.../CrossDiag.cls.xml) (revision 59712) +++ APPS/Halux/PPS/ALUFrees/Svg/BasisElement/CrossDiag.cls.xml (.../CrossDiag.cls.xml) (revision 60049) @@ -18,7 +18,7 @@ -Width:%Integer,Height:%Integer +Width:%Integer,Height:%Integer=1,kleur:TECH.Svg.enu.Kleur=##class(TECH.Svg.enu.Kleur).Zwart() 1 1 %Status @@ -27,10 +27,24 @@ Set BasisElementFactory = ##class(TECH.Svg.BasisElementFactory).%New() Set ..TopLine = BasisElementFactory.MaakLijn(0,0,Width,Height) Set ..BottomLine = BasisElementFactory.MaakLijn(0,Height,Width,0) + Do ..TopLine.SetStroke(kleur) + Do ..BottomLine.SetStroke(kleur) Quit $$$OK ]]> + + +%Status + + + %Library.CacheSerialState Index: APPS/Halux/PPS/ALUFrees/Svg/BasisElement/CrossVH.cls.xml =================================================================== diff -u -r59712 -r60049 --- APPS/Halux/PPS/ALUFrees/Svg/BasisElement/CrossVH.cls.xml (.../CrossVH.cls.xml) (revision 59712) +++ APPS/Halux/PPS/ALUFrees/Svg/BasisElement/CrossVH.cls.xml (.../CrossVH.cls.xml) (revision 60049) @@ -18,7 +18,7 @@ -Width:%Integer,Height:%Integer +Width:%Integer,Height:%Integer,kleur:TECH.Svg.enu.Kleur=##class(TECH.Svg.enu.Kleur).Zwart() 1 1 %Status @@ -27,10 +27,24 @@ Set BasisElementFactory = ##class(TECH.Svg.BasisElementFactory).%New() Set ..HorizontalLine = BasisElementFactory.MaakLijn(0,Height/2,Width,Height/2) Set ..VerticalLine = BasisElementFactory.MaakLijn(Width/2,0,Width/2,Height) + Do ..HorizontalLine.SetStroke(kleur) + Do ..VerticalLine.SetStroke(kleur) Quit $$$OK ]]> + + +%Status + + + %Library.CacheSerialState Index: APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Beslag/Boringen.cls.xml =================================================================== diff -u -r59917 -r60049 --- APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Beslag/Boringen.cls.xml (.../Boringen.cls.xml) (revision 59917) +++ APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Beslag/Boringen.cls.xml (.../Boringen.cls.xml) (revision 60049) @@ -12,7 +12,9 @@ KaderdeurObject:Prod.GADef.KaderDeur -Beslag:Res.PI.Beslag,Plaats:%String +Beslag:Res.PI.Beslag,ProfielPlaats:%String,BPosX:%Integer,BPosY:%Integer,BPosZ:%Integer 2) { - Set BeslagBoringSpecialeVorm = ##class(APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.Beslag.BeslagBoringSpecialeVorm).%New(Boring.VmlID, XPos, YPos, Rotation) + Do ##class(Tools.Wlip).%New(238).String("1") + + Set BeslagBoringSpecialeVorm = ##class(APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.Beslag.BeslagBoringSpecialeVorm).%New(Boring.VmlID, Breedte, Lengte, Rotation) Do ..Group.VoegToeElement(BeslagBoringSpecialeVorm) } ElseIf (BoorType="Z") { - Do ##class(Tools.Wlip).%New(238).String(Boring.VmlID) + Do ##class(Tools.Wlip).%New(238).String("2") 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) + Set Rotation=$S(ProfielPlaats="PL":0, ProfielPlaats="PB":90, ProfielPlaats="PR":180, ProfielPlaats="PO":270, 1:0) + Set ZijBoring = ##class(APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.Boring.ZijBoring).%New(XPos,YPos,GrootteBoring,GrootteBoring,Rotation, Kleur) + Do SvgBox.VoegToeElement(ZijBoring) } ElseIf(Boring.IsSpecialeBoring()){ + Do ##class(Tools.Wlip).%New(238).String("3") 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) + if (YPos < 0) { + Set SpecialeBoring = ##class(APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.SpecialeBoring).%New(##class(TECH.Math).Abs(XPos),##class(TECH.Math).Abs(YPos),GrootteBoring,GrootteBoring, Kleur) + } Else { + Set SpecialeBoring = ##class(APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.SpecialeBoring).%New(##class(TECH.Math).Abs(XPos),YPos,GrootteBoring,GrootteBoring, Kleur) + } + + + Do SvgBox.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) + Do ##class(Tools.Wlip).%New(238).String("4") + Set GrootteBoring = 10 + Set DoorBoring = ##class(APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.Boring.DoorBoring).%New(XPos,YPos,GrootteBoring,GrootteBoring, Kleur) + Do SvgBox.VoegToeElement(DoorBoring) } - ElseIf(Boring.BoorDiameter<0)||(Boring.BoorDiepte=0){ - + ElseIf(Boring.BoorDiameter<0) || (Boring.BoorDiepte=0){ + Do ##class(Tools.Wlip).%New(238).String("5") Set GrootteBoring = 10 - Set DoorBoring = ##class(APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.Boring.DoorBoring).%New(XPos,YPos,GrootteBoring,GrootteBoring) - Do ..Group.VoegToeElement(DoorBoring) + if (YPos < 0) { + Set PuntBoring = ##class(APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.Boring.PuntBoring).%New(XPos,##class(TECH.Math).Abs(YPos),GrootteBoring,GrootteBoring, Kleur) + } Else { + Set PuntBoring = ##class(APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.Boring.PuntBoring).%New(XPos, ##class(TECH.Math).Abs(YPos) ,GrootteBoring,GrootteBoring, Kleur) + + } + + Do SvgBox.VoegToeElement(PuntBoring) } Else { - Do ##class(Tools.Wlip).%New(238).String(BoorType) + Do ##class(Tools.Wlip).%New(238).String("6") 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) + Set RugBoring = ##class(APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.Boring.RugBoring).%New(XPos, YPos,10,10, Kleur) Do RugBoring.SetFill(##class(TECH.Svg.enu.Kleur).Zwart()) Do ..Group.VoegToeElement(RugBoring) + }Else { + + Set Straal = GrootteBoring\2 + Set Cirkel = BasisElementFactory.MaakCirkel((XPos-(Straal))\1 +Straal, (YPos-(Straal))\1 +Straal, Straal) + Do Cirkel.SetFill(Kleur) + Do SvgBox.VoegToeElement(Cirkel) } } - 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) - } - + } + Do SvgBox.VoegToeElement(Rechthoek) + Do SvgBox.VoegToeID("beslag") + Do ..Group.VoegToeElement(SvgBox) ]]> Index: APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Boring/PuntBoring.cls.xml =================================================================== diff -u -r59712 -r60049 --- APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Boring/PuntBoring.cls.xml (.../PuntBoring.cls.xml) (revision 59712) +++ APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Boring/PuntBoring.cls.xml (.../PuntBoring.cls.xml) (revision 60049) @@ -13,21 +13,31 @@ -MidX:%Integer,MidY:%Integer,Width:%Integer,Height:%Integer +MidX:%Integer,MidY:%Integer,Width:%Integer,Height:%Integer,kleur:TECH.Svg.enu.Kleur=##class(TECH.Svg.enu.Kleur).Zwart() 1 1 %Status 1 + + +%Status + + + %Library.CacheSerialState