This is an automated email from the ASF dual-hosted git repository.

pushminakazi pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 842d2c5  Added PrintJob.as in MXRoyale
842d2c5 is described below

commit 842d2c532d11abd4131c9c298ed5053be038d3f8
Author: pashminakazi <[email protected]>
AuthorDate: Sun Sep 19 14:08:56 2021 -0700

    Added PrintJob.as in MXRoyale
---
 .../MXRoyale/src/main/royale/MXRoyaleClasses.as    |  1 +
 .../src/main/royale/mx/printing/PrintJob.as        | 65 ++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as 
b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as
index d10f520..1002099 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as
@@ -424,6 +424,7 @@ internal class MXRoyaleClasses
        import mx.validators.ZipCodeValidatorDomainType; 
ZipCodeValidatorDomainType;
        import mx.controls.dataGridClasses.DataGridHeaderBase; 
DataGridHeaderBase;
        import mx.controls.dataGridClasses.DataGridHeader; DataGridHeader;
+       import mx.printing.PrintJob; PrintJob;
 }
 
 }
diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/printing/PrintJob.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/printing/PrintJob.as
new file mode 100644
index 0000000..841e281
--- /dev/null
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/printing/PrintJob.as
@@ -0,0 +1,65 @@
+////////////////////////////////////////////////////////////////////////////////
 
+// 
+//  Licensed to the Apache Software Foundation (ASF) under one or more 
+//  contributor license agreements.  See the NOTICE file distributed with 
+//  this work for additional information regarding copyright ownership. 
+//  The ASF licenses this file to You under the Apache License, Version 2.0 
+//  (the "License"); you may not use this file except in compliance with 
+//  the License.  You may obtain a copy of the License at 
+// 
+//      http://www.apache.org/licenses/LICENSE-2.0 
+// 
+//  Unless required by applicable law or agreed to in writing, software 
+//  distributed under the License is distributed on an "AS IS" BASIS, 
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
+//  See the License for the specific language governing permissions and 
+//  limitations under the License. 
+// 
+////////////////////////////////////////////////////////////////////////////////
 
+package mx.printing 
+{ 
+
+import org.apache.royale.events.EventDispatcher;
+import org.apache.royale.geom.Rectangle;
+import mx.core.UIComponent;
+
+       /** 
+        *   
+        *  @langversion 3.0 
+        *  @playerversion Flash 9 
+        *  @playerversion AIR 1.1 
+        *  @productversion Flex 3 
+        *  
+        *  @royalesuppresspublicvarwarning 
+        */ 
+       public class PrintJob extends EventDispatcher
+       { 
+               /** 
+
+                *  @langversion 3.0 
+                *  @playerversion Flash 9 
+                *  @playerversion AIR 1.1 
+                *  @productversion Flex 3 
+                */ 
+               public function PrintJob() 
+               { 
+                       super(); 
+               } 
+               
+               public function start():Boolean {
+                       trace("start in PrintJob is not implemented");
+                       return false;
+               }
+               
+               public function send():void {
+                       trace("send in PrintJob is not implemented");
+               }
+               
+               public function addPage(sprite:UIComponent, printArea:Rectangle 
= null, options:PrintJobOptions = null, frameNum:int = 0):void{
+                       trace("addPage in PrintJob is not implemented");
+               }
+
+
+       } 
+
+} 

Reply via email to