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

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


The following commit(s) were added to refs/heads/develop by this push:
     new d9b12c7  Add pretext typedefs module
d9b12c7 is described below

commit d9b12c7eb2896b781ce4044a41c34102522e5220
Author: Yishay Weiss <[email protected]>
AuthorDate: Fri Jul 10 17:23:47 2026 +0100

    Add pretext typedefs module
    
    Add a new royale-typedefs-pretext module for @chenglou/pretext, wired into
    the Ant and Maven builds plus release validation/signing steps.
    
    The upstream package is TypeScript-first and does not provide Closure
    Compiler externs, so this uses the same hand-authored AS3 pattern as GCL
    instead of adding an externc generation stage. The AS3 stubs are based on
    the published @chenglou/pretext 0.0.8 declaration files and cover the core
    layout APIs, manual line-layout APIs, rich-inline APIs, opaque prepared
    handles, cursor/result records, and option types.
    
    RichInlineItem is declared dynamic because the upstream API has an optional
    property named "break", which is reserved in AS3; consumers can set it with
    item["break"] when needed.
---
 build.xml                                          |   3 +
 pom.xml                                            |   1 +
 pretext/build.xml                                  | 116 +++++++++++++++++++++
 pretext/pom.xml                                    |  64 ++++++++++++
 pretext/src/main/config/compile-as-config.xml      |  39 +++++++
 pretext/src/main/royale/pretext/LayoutCursor.as    |  24 +++++
 pretext/src/main/royale/pretext/LayoutLine.as      |  26 +++++
 pretext/src/main/royale/pretext/LayoutLineRange.as |  25 +++++
 .../src/main/royale/pretext/LayoutLinesResult.as   |  23 ++++
 pretext/src/main/royale/pretext/LayoutResult.as    |  24 +++++
 pretext/src/main/royale/pretext/LineStats.as       |  24 +++++
 pretext/src/main/royale/pretext/PrepareOptions.as  |  25 +++++
 .../src/main/royale/pretext/PreparedRichInline.as  |  22 ++++
 pretext/src/main/royale/pretext/PreparedText.as    |  22 ++++
 .../royale/pretext/PreparedTextWithSegments.as     |  23 ++++
 .../src/main/royale/pretext/RichInlineCursor.as    |  25 +++++
 .../src/main/royale/pretext/RichInlineFragment.as  |  28 +++++
 .../main/royale/pretext/RichInlineFragmentRange.as |  27 +++++
 pretext/src/main/royale/pretext/RichInlineItem.as  |  26 +++++
 pretext/src/main/royale/pretext/RichInlineLine.as  |  25 +++++
 .../src/main/royale/pretext/RichInlineLineRange.as |  25 +++++
 pretext/src/main/royale/pretext/RichInlineStats.as |  24 +++++
 pretext/src/main/royale/pretext/clearCache.as      |  23 ++++
 pretext/src/main/royale/pretext/layout.as          |  24 +++++
 pretext/src/main/royale/pretext/layoutNextLine.as  |  24 +++++
 .../src/main/royale/pretext/layoutNextLineRange.as |  24 +++++
 .../pretext/layoutNextRichInlineLineRange.as       |  24 +++++
 pretext/src/main/royale/pretext/layoutWithLines.as |  24 +++++
 .../main/royale/pretext/materializeLineRange.as    |  24 +++++
 .../pretext/materializeRichInlineLineRange.as      |  24 +++++
 .../src/main/royale/pretext/measureLineStats.as    |  24 +++++
 .../src/main/royale/pretext/measureNaturalWidth.as |  24 +++++
 .../main/royale/pretext/measureRichInlineStats.as  |  24 +++++
 pretext/src/main/royale/pretext/prepare.as         |  24 +++++
 .../src/main/royale/pretext/prepareRichInline.as   |  24 +++++
 .../src/main/royale/pretext/prepareWithSegments.as |  24 +++++
 pretext/src/main/royale/pretext/setLocale.as       |  23 ++++
 pretext/src/main/royale/pretext/walkLineRanges.as  |  24 +++++
 .../royale/pretext/walkRichInlineLineRanges.as     |  24 +++++
 releasesteps.xml                                   |  12 ++-
 40 files changed, 1058 insertions(+), 1 deletion(-)

diff --git a/build.xml b/build.xml
index 79a0bc6..0ae8e0c 100644
--- a/build.xml
+++ b/build.xml
@@ -29,6 +29,7 @@
     <target name="clean" description="Cleans the build output but leaves any 
downloaded JARs.">
         <ant dir="js" target="clean"/>
         <ant dir="GCL" target="clean"/>
+        <ant dir="pretext" target="clean"/>
         <ant dir="cordova" target="clean"/>
         <ant dir="createjs" target="clean"/>
         <ant dir="jasmine" target="clean"/>
@@ -43,6 +44,7 @@
     <target name="wipe" description="Wipes out everything that didn't come 
from Git.">
         <ant dir="js" target="wipe"/>
         <ant dir="GCL" target="wipe"/>
+        <ant dir="pretext" target="wipe"/>
         <ant dir="cordova" target="wipe"/>
         <ant dir="createjs" target="wipe"/>
         <ant dir="jasmine" target="wipe"/>
@@ -61,6 +63,7 @@
     <target name="main" description="Build everything">
         <ant dir="js" />
         <ant dir="GCL" />
+        <ant dir="pretext" />
         <ant dir="cordova" />
         <ant dir="createjs" />
         <ant dir="jasmine" />
diff --git a/pom.xml b/pom.xml
index f72644a..7cb66d7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -95,6 +95,7 @@
     <module>cordova</module>
     <module>createjs</module>
     <module>GCL</module>
+    <module>pretext</module>
     <module>google_maps</module>
     <module>jasmine</module>
     <module>jquery</module>
diff --git a/pretext/build.xml b/pretext/build.xml
new file mode 100644
index 0000000..557b94a
--- /dev/null
+++ b/pretext/build.xml
@@ -0,0 +1,116 @@
+<?xml version="1.0" ?>
+
+<!--
+
+  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.
+
+-->
+<project name="pretext" default="main" basedir=".">
+    
+    <property name="ROYALE_HOME" value="${basedir}/.." />
+    
+    <condition property="ROYALE_COMPILER_HOME" 
value="${env.ROYALE_COMPILER_HOME}">
+        <and>
+            <not>
+                <isset property="ROYALE_COMPILER_HOME" />
+            </not>
+            <available 
file="${env.ROYALE_COMPILER_HOME}/lib/compiler-mxmlc.jar" type="file" />
+        </and>
+    </condition>
+    
+    <condition property="ROYALE_COMPILER_HOME" 
value="${ROYALE_HOME}/../royale-compiler/compiler">
+        <and>
+            <not>
+                <isset property="ROYALE_COMPILER_HOME" />
+            </not>
+            <available 
file="${ROYALE_HOME}/../royale-compiler/compiler/lib/compiler-mxmlc.jar" 
type="file" />
+        </and>
+    </condition>
+    
+    <condition property="ROYALE_COMPILER_HOME" value="${ROYALE_HOME}">
+        <and>
+            <not>
+                <isset property="ROYALE_COMPILER_HOME" />
+            </not>
+            <available file="${ROYALE_HOME}/lib/compiler-mxmlc.jar" 
type="file" />
+        </and>
+    </condition>
+    
+    <condition property="ROYALE_TRANSPILER_HOME" 
value="${env.ROYALE_TRANSPILER_HOME}">
+        <and>
+            <not>
+                <isset property="ROYALE_TRANSPILER_HOME" />
+            </not>
+            <available file="${env.ROYALE_TRANSPILER_HOME}/lib/jsc.jar" 
type="file" />
+        </and>
+    </condition>
+    
+    <condition property="ROYALE_TRANSPILER_HOME" value="${ROYALE_HOME}/js">
+        <and>
+            <not>
+                <isset property="ROYALE_TRANSPILER_HOME" />
+            </not>
+            <available file="${ROYALE_HOME}/js/lib/jsc.jar" type="file" />
+        </and>
+    </condition>
+    
+    <condition property="ROYALE_TRANSPILER_HOME" 
value="${ROYALE_HOME}/../royale-compiler/compiler-jx">
+        <and>
+            <not>
+                <isset property="ROYALE_TRANSPILER_HOME" />
+            </not>
+            <available 
file="${ROYALE_HOME}/../royale-compiler/compiler-jx/lib/jsc.jar" type="file" />
+        </and>
+    </condition>
+    
+    <tstamp>
+        <format property="royale.swc-date" pattern="MM/dd/yy HH:mm Z"/>
+    </tstamp>
+    <echo>swc-date is ${royale.swc-date}</echo>
+
+    <target name="main" depends="preprocess, externc, postprocess, compc" />
+
+    <target name="preprocess">
+    </target>
+    
+    <target name="externc" >
+    </target>
+    
+    <target name="postprocess" >
+    </target>
+    
+    <target name="compc" >
+        <copy file="${basedir}/src/main/config/compile-as-config.xml"
+        todir="${basedir}/target" />
+        <java jar="${ROYALE_TRANSPILER_HOME}/lib/compc.jar" fork="true"
+            failonerror="true">
+            <arg value="+royalelib=externs/frameworks" />
+            <arg value="-targets=SWF" />
+            <arg 
value="-external-library-path+=${basedir}/../js/target/js.swc" />
+            <arg value="-load-config=${basedir}/target/compile-as-config.xml" 
/>
+            <arg line="-metadata.date=&quot;${royale.swc-date}&quot;" />
+            <arg line="-metadata.dateFormat=&quot;MM/dd/yy HH:mm Z&quot;" />
+            <arg value="-output=${basedir}/target/pretext.swc" />
+        </java>
+    </target>
+    
+    <target name="clean">
+        <delete dir="${basedir}/target" failonerror="false" 
includeEmptyDirs="true"/>
+    </target>
+    
+    <target name="wipe" depends="clean">
+    </target>
+</project>
\ No newline at end of file
diff --git a/pretext/pom.xml b/pretext/pom.xml
new file mode 100644
index 0000000..938063d
--- /dev/null
+++ b/pretext/pom.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+
+  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.
+
+--><project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.royale.typedefs</groupId>
+    <artifactId>royale-typedefs-parent</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>royale-typedefs-pretext</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <packaging>swc</packaging>
+
+  <name>Apache Royale: TypeDefs: Pretext</name>
+
+  <build>
+    <sourceDirectory>src/main/royale</sourceDirectory>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.royale.compiler</groupId>
+        <artifactId>royale-maven-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <includeSources>true</includeSources>
+          <skipSwc>true</skipSwc>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.royale.typedefs</groupId>
+      <artifactId>royale-typedefs-js</artifactId>
+      <version>1.0.0-SNAPSHOT</version>
+      <type>swc</type>
+      <classifier>typedefs</classifier>
+      <scope>runtime</scope>
+    </dependency>
+  </dependencies>
+
+  <properties>
+    <pretext.version>0.0.8</pretext.version>
+  </properties>
+</project>
\ No newline at end of file
diff --git a/pretext/src/main/config/compile-as-config.xml 
b/pretext/src/main/config/compile-as-config.xml
new file mode 100644
index 0000000..c3ee0a2
--- /dev/null
+++ b/pretext/src/main/config/compile-as-config.xml
@@ -0,0 +1,39 @@
+<!--
+
+  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.
+
+--><royale-config>
+
+    <compiler>
+
+        <accessible>true</accessible>
+
+        <external-library-path>
+        </external-library-path>
+        
+        <source-path>
+            <path-element>../src/main/royale</path-element>
+        </source-path>
+
+        <warn-no-constructor>false</warn-no-constructor>
+    </compiler>
+    <warn-public-vars>false</warn-public-vars>
+
+    <include-sources>
+        <path-element>../src/main/royale</path-element>
+    </include-sources>
+
+</royale-config>
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/LayoutCursor.as 
b/pretext/src/main/royale/pretext/LayoutCursor.as
new file mode 100644
index 0000000..a14c87d
--- /dev/null
+++ b/pretext/src/main/royale/pretext/LayoutCursor.as
@@ -0,0 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public class LayoutCursor {
+    public var segmentIndex:int;
+    public var graphemeIndex:int;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/LayoutLine.as 
b/pretext/src/main/royale/pretext/LayoutLine.as
new file mode 100644
index 0000000..2f9a384
--- /dev/null
+++ b/pretext/src/main/royale/pretext/LayoutLine.as
@@ -0,0 +1,26 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public class LayoutLine {
+    public var text:String;
+    public var width:Number;
+    public var start:LayoutCursor;
+    public var end:LayoutCursor;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/LayoutLineRange.as 
b/pretext/src/main/royale/pretext/LayoutLineRange.as
new file mode 100644
index 0000000..a8343ac
--- /dev/null
+++ b/pretext/src/main/royale/pretext/LayoutLineRange.as
@@ -0,0 +1,25 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public class LayoutLineRange {
+    public var width:Number;
+    public var start:LayoutCursor;
+    public var end:LayoutCursor;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/LayoutLinesResult.as 
b/pretext/src/main/royale/pretext/LayoutLinesResult.as
new file mode 100644
index 0000000..c24df58
--- /dev/null
+++ b/pretext/src/main/royale/pretext/LayoutLinesResult.as
@@ -0,0 +1,23 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public class LayoutLinesResult extends LayoutResult {
+    public var lines:Array;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/LayoutResult.as 
b/pretext/src/main/royale/pretext/LayoutResult.as
new file mode 100644
index 0000000..82eee67
--- /dev/null
+++ b/pretext/src/main/royale/pretext/LayoutResult.as
@@ -0,0 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public class LayoutResult {
+    public var lineCount:int;
+    public var height:Number;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/LineStats.as 
b/pretext/src/main/royale/pretext/LineStats.as
new file mode 100644
index 0000000..44dd980
--- /dev/null
+++ b/pretext/src/main/royale/pretext/LineStats.as
@@ -0,0 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public class LineStats {
+    public var lineCount:int;
+    public var maxLineWidth:Number;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/PrepareOptions.as 
b/pretext/src/main/royale/pretext/PrepareOptions.as
new file mode 100644
index 0000000..55628e5
--- /dev/null
+++ b/pretext/src/main/royale/pretext/PrepareOptions.as
@@ -0,0 +1,25 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public class PrepareOptions {
+    public var whiteSpace:String;
+    public var wordBreak:String;
+    public var letterSpacing:Number;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/PreparedRichInline.as 
b/pretext/src/main/royale/pretext/PreparedRichInline.as
new file mode 100644
index 0000000..b2837a1
--- /dev/null
+++ b/pretext/src/main/royale/pretext/PreparedRichInline.as
@@ -0,0 +1,22 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public class PreparedRichInline {
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/PreparedText.as 
b/pretext/src/main/royale/pretext/PreparedText.as
new file mode 100644
index 0000000..9a4172f
--- /dev/null
+++ b/pretext/src/main/royale/pretext/PreparedText.as
@@ -0,0 +1,22 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public class PreparedText {
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/PreparedTextWithSegments.as 
b/pretext/src/main/royale/pretext/PreparedTextWithSegments.as
new file mode 100644
index 0000000..352a151
--- /dev/null
+++ b/pretext/src/main/royale/pretext/PreparedTextWithSegments.as
@@ -0,0 +1,23 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public class PreparedTextWithSegments extends PreparedText {
+    public var segments:Array;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/RichInlineCursor.as 
b/pretext/src/main/royale/pretext/RichInlineCursor.as
new file mode 100644
index 0000000..ff07750
--- /dev/null
+++ b/pretext/src/main/royale/pretext/RichInlineCursor.as
@@ -0,0 +1,25 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public class RichInlineCursor {
+    public var itemIndex:int;
+    public var segmentIndex:int;
+    public var graphemeIndex:int;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/RichInlineFragment.as 
b/pretext/src/main/royale/pretext/RichInlineFragment.as
new file mode 100644
index 0000000..091c001
--- /dev/null
+++ b/pretext/src/main/royale/pretext/RichInlineFragment.as
@@ -0,0 +1,28 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public class RichInlineFragment {
+    public var itemIndex:int;
+    public var text:String;
+    public var gapBefore:Number;
+    public var occupiedWidth:Number;
+    public var start:LayoutCursor;
+    public var end:LayoutCursor;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/RichInlineFragmentRange.as 
b/pretext/src/main/royale/pretext/RichInlineFragmentRange.as
new file mode 100644
index 0000000..a2b68ac
--- /dev/null
+++ b/pretext/src/main/royale/pretext/RichInlineFragmentRange.as
@@ -0,0 +1,27 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public class RichInlineFragmentRange {
+    public var itemIndex:int;
+    public var gapBefore:Number;
+    public var occupiedWidth:Number;
+    public var start:LayoutCursor;
+    public var end:LayoutCursor;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/RichInlineItem.as 
b/pretext/src/main/royale/pretext/RichInlineItem.as
new file mode 100644
index 0000000..d1920dd
--- /dev/null
+++ b/pretext/src/main/royale/pretext/RichInlineItem.as
@@ -0,0 +1,26 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public dynamic class RichInlineItem {
+    public var text:String;
+    public var font:String;
+    public var letterSpacing:Number;
+    public var extraWidth:Number;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/RichInlineLine.as 
b/pretext/src/main/royale/pretext/RichInlineLine.as
new file mode 100644
index 0000000..9ef57ca
--- /dev/null
+++ b/pretext/src/main/royale/pretext/RichInlineLine.as
@@ -0,0 +1,25 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public class RichInlineLine {
+    public var fragments:Array;
+    public var width:Number;
+    public var end:RichInlineCursor;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/RichInlineLineRange.as 
b/pretext/src/main/royale/pretext/RichInlineLineRange.as
new file mode 100644
index 0000000..26b9156
--- /dev/null
+++ b/pretext/src/main/royale/pretext/RichInlineLineRange.as
@@ -0,0 +1,25 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public class RichInlineLineRange {
+    public var fragments:Array;
+    public var width:Number;
+    public var end:RichInlineCursor;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/RichInlineStats.as 
b/pretext/src/main/royale/pretext/RichInlineStats.as
new file mode 100644
index 0000000..89174d5
--- /dev/null
+++ b/pretext/src/main/royale/pretext/RichInlineStats.as
@@ -0,0 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public class RichInlineStats {
+    public var lineCount:int;
+    public var maxLineWidth:Number;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/clearCache.as 
b/pretext/src/main/royale/pretext/clearCache.as
new file mode 100644
index 0000000..d0f0a9d
--- /dev/null
+++ b/pretext/src/main/royale/pretext/clearCache.as
@@ -0,0 +1,23 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public function clearCache():void
+{
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/layout.as 
b/pretext/src/main/royale/pretext/layout.as
new file mode 100644
index 0000000..b087d52
--- /dev/null
+++ b/pretext/src/main/royale/pretext/layout.as
@@ -0,0 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public function layout(prepared:PreparedText, maxWidth:Number, 
lineHeight:Number):LayoutResult
+{
+    return null;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/layoutNextLine.as 
b/pretext/src/main/royale/pretext/layoutNextLine.as
new file mode 100644
index 0000000..1214c7e
--- /dev/null
+++ b/pretext/src/main/royale/pretext/layoutNextLine.as
@@ -0,0 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public function layoutNextLine(prepared:PreparedTextWithSegments, 
start:LayoutCursor, maxWidth:Number):LayoutLine
+{
+    return null;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/layoutNextLineRange.as 
b/pretext/src/main/royale/pretext/layoutNextLineRange.as
new file mode 100644
index 0000000..9b6946f
--- /dev/null
+++ b/pretext/src/main/royale/pretext/layoutNextLineRange.as
@@ -0,0 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public function layoutNextLineRange(prepared:PreparedTextWithSegments, 
start:LayoutCursor, maxWidth:Number):LayoutLineRange
+{
+    return null;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/layoutNextRichInlineLineRange.as 
b/pretext/src/main/royale/pretext/layoutNextRichInlineLineRange.as
new file mode 100644
index 0000000..dd16f1e
--- /dev/null
+++ b/pretext/src/main/royale/pretext/layoutNextRichInlineLineRange.as
@@ -0,0 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public function layoutNextRichInlineLineRange(prepared:PreparedRichInline, 
maxWidth:Number, start:RichInlineCursor = null):RichInlineLineRange
+{
+    return null;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/layoutWithLines.as 
b/pretext/src/main/royale/pretext/layoutWithLines.as
new file mode 100644
index 0000000..e283dff
--- /dev/null
+++ b/pretext/src/main/royale/pretext/layoutWithLines.as
@@ -0,0 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public function layoutWithLines(prepared:PreparedTextWithSegments, 
maxWidth:Number, lineHeight:Number):LayoutLinesResult
+{
+    return null;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/materializeLineRange.as 
b/pretext/src/main/royale/pretext/materializeLineRange.as
new file mode 100644
index 0000000..9f938bb
--- /dev/null
+++ b/pretext/src/main/royale/pretext/materializeLineRange.as
@@ -0,0 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public function materializeLineRange(prepared:PreparedTextWithSegments, 
line:LayoutLineRange):LayoutLine
+{
+    return null;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/materializeRichInlineLineRange.as 
b/pretext/src/main/royale/pretext/materializeRichInlineLineRange.as
new file mode 100644
index 0000000..3f601ec
--- /dev/null
+++ b/pretext/src/main/royale/pretext/materializeRichInlineLineRange.as
@@ -0,0 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public function materializeRichInlineLineRange(prepared:PreparedRichInline, 
line:RichInlineLineRange):RichInlineLine
+{
+    return null;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/measureLineStats.as 
b/pretext/src/main/royale/pretext/measureLineStats.as
new file mode 100644
index 0000000..54d841a
--- /dev/null
+++ b/pretext/src/main/royale/pretext/measureLineStats.as
@@ -0,0 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public function measureLineStats(prepared:PreparedTextWithSegments, 
maxWidth:Number):LineStats
+{
+    return null;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/measureNaturalWidth.as 
b/pretext/src/main/royale/pretext/measureNaturalWidth.as
new file mode 100644
index 0000000..b9763b3
--- /dev/null
+++ b/pretext/src/main/royale/pretext/measureNaturalWidth.as
@@ -0,0 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public function measureNaturalWidth(prepared:PreparedTextWithSegments):Number
+{
+    return 0;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/measureRichInlineStats.as 
b/pretext/src/main/royale/pretext/measureRichInlineStats.as
new file mode 100644
index 0000000..112364c
--- /dev/null
+++ b/pretext/src/main/royale/pretext/measureRichInlineStats.as
@@ -0,0 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public function measureRichInlineStats(prepared:PreparedRichInline, 
maxWidth:Number):RichInlineStats
+{
+    return null;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/prepare.as 
b/pretext/src/main/royale/pretext/prepare.as
new file mode 100644
index 0000000..92a3cab
--- /dev/null
+++ b/pretext/src/main/royale/pretext/prepare.as
@@ -0,0 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public function prepare(text:String, font:String, options:PrepareOptions = 
null):PreparedText
+{
+    return null;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/prepareRichInline.as 
b/pretext/src/main/royale/pretext/prepareRichInline.as
new file mode 100644
index 0000000..73eaffd
--- /dev/null
+++ b/pretext/src/main/royale/pretext/prepareRichInline.as
@@ -0,0 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public function prepareRichInline(items:Array):PreparedRichInline
+{
+    return null;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/prepareWithSegments.as 
b/pretext/src/main/royale/pretext/prepareWithSegments.as
new file mode 100644
index 0000000..45d92f9
--- /dev/null
+++ b/pretext/src/main/royale/pretext/prepareWithSegments.as
@@ -0,0 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public function prepareWithSegments(text:String, font:String, 
options:PrepareOptions = null):PreparedTextWithSegments
+{
+    return null;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/setLocale.as 
b/pretext/src/main/royale/pretext/setLocale.as
new file mode 100644
index 0000000..6a87add
--- /dev/null
+++ b/pretext/src/main/royale/pretext/setLocale.as
@@ -0,0 +1,23 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public function setLocale(locale:String = null):void
+{
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/walkLineRanges.as 
b/pretext/src/main/royale/pretext/walkLineRanges.as
new file mode 100644
index 0000000..bb6eb8a
--- /dev/null
+++ b/pretext/src/main/royale/pretext/walkLineRanges.as
@@ -0,0 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public function walkLineRanges(prepared:PreparedTextWithSegments, 
maxWidth:Number, onLine:Function):int
+{
+    return 0;
+}
+}
\ No newline at end of file
diff --git a/pretext/src/main/royale/pretext/walkRichInlineLineRanges.as 
b/pretext/src/main/royale/pretext/walkRichInlineLineRanges.as
new file mode 100644
index 0000000..9a221b0
--- /dev/null
+++ b/pretext/src/main/royale/pretext/walkRichInlineLineRanges.as
@@ -0,0 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 pretext {
+public function walkRichInlineLineRanges(prepared:PreparedRichInline, 
maxWidth:Number, onLine:Function):int
+{
+    return 0;
+}
+}
\ No newline at end of file
diff --git a/releasesteps.xml b/releasesteps.xml
index a50ba0d..076733a 100644
--- a/releasesteps.xml
+++ b/releasesteps.xml
@@ -157,7 +157,7 @@
         <delete file="${artifactfolder}/swcs.txt" />
         <!-- this is a comma-delimited, no spaces, no-line-breaks list used to 
decide which swcs
          to skip in the rat-check of the binaries and which swcs to examine 
before approval -->
-        <property name="swcs-list" 
value="ace,cordova,createjs,gcl,google_maps,jasmine,jquery,js,node"/>
+        <property name="swcs-list" 
value="ace,cordova,createjs,gcl,google_maps,jasmine,jquery,js,node,pretext"/>
         <echo file="${artifactfolder}/swcs.txt" message="${swcs-list}"/>
     </target>
     
@@ -314,6 +314,16 @@
             <param name="file" 
value="${artifactfolder}/artifacts/archive/target/local-release-dir/org/apache/royale/typedefs/royale-typedefs-node/${release.version}/royale-typedefs-node-${release.version}.pom"
 />
         </antcall>
 
+        <antcall target="sign-file" >
+            <param name="file" 
value="${artifactfolder}/artifacts/archive/target/local-release-dir/org/apache/royale/typedefs/royale-typedefs-pretext/${release.version}/royale-typedefs-pretext-${release.version}-sources.jar"
 />
+        </antcall>
+        <antcall target="sign-file" >
+            <param name="file" 
value="${artifactfolder}/artifacts/archive/target/local-release-dir/org/apache/royale/typedefs/royale-typedefs-pretext/${release.version}/royale-typedefs-pretext-${release.version}-typedefs.swc"
 />
+        </antcall>
+        <antcall target="sign-file" >
+            <param name="file" 
value="${artifactfolder}/artifacts/archive/target/local-release-dir/org/apache/royale/typedefs/royale-typedefs-pretext/${release.version}/royale-typedefs-pretext-${release.version}.pom"
 />
+        </antcall>
+
         <antcall target="sign-file" >
             <param name="file" 
value="${artifactfolder}/artifacts/archive/target/local-release-dir/org/apache/royale/typedefs/royale-typedefs-ace/${release.version}/royale-typedefs-ace-${release.version}-sources.jar"
 />
         </antcall>

Reply via email to