Index: APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Beslag/Boringen.cls.xml =================================================================== diff -u -r60385 -r60452 --- APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Beslag/Boringen.cls.xml (.../Boringen.cls.xml) (revision 60385) +++ APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Beslag/Boringen.cls.xml (.../Boringen.cls.xml) (revision 60452) @@ -21,8 +21,12 @@ APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.Beslag.BeslagBoringSpecialeVorm + +TECH.Svg.Basis.SvgBox.ElementToevoeger + + -BoringElementFactory:APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.Boring.BoringElementFactory,BasisElementFactory:TECH.Svg.BasisElementFactory,BeslagBoringSpecialevorm:APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.Beslag.BeslagBoringSpecialeVorm +BoringElementFactory:APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.Boring.BoringElementFactory,BasisElementFactory:TECH.Svg.BasisElementFactory,BeslagBoringSpecialevorm:APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.Beslag.BeslagBoringSpecialeVorm,ElementToevoeger:TECH.Svg.Basis.SvgBox.ElementToevoeger 1 1 %Status @@ -31,15 +35,17 @@ Set ..BoringElementFactory = $$$Inject(BoringElementFactory, ##class(APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.Boring.BoringElementFactory).%New()) Set ..BasisElementFactory = $$$Inject(BasisElementFactory, ##class(TECH.Svg.BasisElementFactory).%New()) Set ..BeslagBoringSpecialevorm = $$$Inject(BeslagBoringSpecialevorm, ##class(APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.Beslag.BeslagBoringSpecialeVorm).%New()) + Set ..ElementToevoeger = $$$Inject(ElementToevoeger, ##class(TECH.Svg.Basis.SvgBox.ElementToevoeger).%New()) Set ..Group = ##class(TECH.Svg.Basis.SvgBox).%New() + Quit $$$OK ]]> KaderdeurObject:Prod.GADef.KaderDeur Beslag:Res.PI.Beslag,ProfielPlaats:%String,BPosX:%Integer,BPosY:%Integer,BPosZ:%Integer 2) { - Do ElementToevoeger.VoegToeElement(SvgBox, ..BeslagBoringSpecialevorm.MaakBoringSpecialeVorm(Boring.VmlID, Breedte, Lengte, Rotation)) + Do ..ElementToevoeger.VoegToeElement(SvgBox, ..BeslagBoringSpecialevorm.MaakBoringSpecialeVorm(Boring.VmlID, Breedte, Lengte, Rotation)) } ElseIf (BoorType="Z") { Set GrootteBoring = 14 Set Rotation=$S(ProfielPlaats="PL":0, ProfielPlaats="PB":90, ProfielPlaats="PR":180, ProfielPlaats="PO":270, 1:0) Set ZijBoring = ..BoringElementFactory.MaakZijBoring(XPos,YPos,GrootteBoring,GrootteBoring,Rotation, Kleur) - Do ElementToevoeger.VoegToeElement(SvgBox,ZijBoring) + Do ..ElementToevoeger.VoegToeElement(SvgBox,ZijBoring) } ElseIf(Boring.IsSpecialeBoring()){ Set GrootteBoring = 10 @@ -168,12 +174,12 @@ } Else { Set SpecialeBoring = ..BoringElementFactory.MaakSpecialeBoring(##class(TECH.Math).Abs(XPos),YPos,GrootteBoring,GrootteBoring, Kleur) } - Do ElementToevoeger.VoegToeElement(SvgBox,SpecialeBoring) + Do ..ElementToevoeger.VoegToeElement(SvgBox,SpecialeBoring) } ElseIf (Boring.BoorDiepte < 0) { Set GrootteBoring = 10 Set DoorBoring = ..BoringElementFactory.MaakDoorBoring(XPos,YPos,GrootteBoring/2, Kleur) - Do ElementToevoeger.VoegToeElement(SvgBox,DoorBoring) + Do ..ElementToevoeger.VoegToeElement(SvgBox,DoorBoring) } ElseIf(Boring.BoorDiameter < 0) || (Boring.BoorDiepte=0){ Set GrootteBoring = 10 @@ -182,20 +188,20 @@ } Else { Set PuntBoring = ..BoringElementFactory.MaakPuntBoring(XPos, ##class(TECH.Math).Abs(YPos) ,GrootteBoring,GrootteBoring, Kleur) } - Do ElementToevoeger.VoegToeElement(SvgBox,PuntBoring) + Do ..ElementToevoeger.VoegToeElement(SvgBox,PuntBoring) } Else { #dim Straal As %Integer = GrootteBoring/2 If (GrootteBoring<10) { Set RugBoring = ..BoringElementFactory.MaakRugBoring(XPos, YPos,10,10, Kleur) - Do ElementToevoeger.VoegToeElement(SvgBox,RugBoring) + Do ..ElementToevoeger.VoegToeElement(SvgBox,RugBoring) } Set DoorBoring = ..BoringElementFactory.MaakDoorBoring(XPos,YPos,Straal, Kleur) - Do ElementToevoeger.VoegToeElement(SvgBox,DoorBoring) + Do ..ElementToevoeger.VoegToeElement(SvgBox,DoorBoring) } } - Do ElementToevoeger.VoegToeElement(SvgBox,Rechthoek) + Do ..ElementToevoeger.VoegToeElement(SvgBox,Rechthoek) Do SvgBox.VoegToeID("beslag") Do ..Group.VoegToeElement(SvgBox) ]]> Index: APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Hoekverbinder/HoekverbinderMaker.cls.xml =================================================================== diff -u -r60351 -r60452 --- APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Hoekverbinder/HoekverbinderMaker.cls.xml (.../HoekverbinderMaker.cls.xml) (revision 60351) +++ APPS/Halux/PPS/ALUFrees/Svg/KaderdeurElement/Hoekverbinder/HoekverbinderMaker.cls.xml (.../HoekverbinderMaker.cls.xml) (revision 60452) @@ -23,14 +23,11 @@ CoordinatesList:%ListOfObjects,XCirkel:%Integer,YCirkel:%Integer,ID:%String,Transform:%String="translate(0 0) rotate(0)" APPS.Halux.PPS.ALUFrees.Svg.KaderdeurElement.Hoekverbinder TECH.Svg.BasisElementFactory + +BasisElementFactory:TECH.Svg.BasisElementFactory +1 +1 +%Status +1 + + + KaderdeurObject:Prod.GADef.KaderDeur,Breedte:%Integer,Hoogte:%Integer,LosProfiel:%Boolean=0 TECH.Svg.Basis.Group @@ -52,12 +64,10 @@ KaderdeurObject:Prod.GADef.KaderDeur,Breedte:%Integer,Hoogte:%Integer TECH.Svg.Basis.Group - - -BasisElementFactory:TECH.Svg.BasisElementFactory -1 -1 -%Status -1 - -