incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r799253 [10/16] - in /websites/staging/ooo-site/trunk/content/framework: documentation/ documentation/devmanual/ documentation/filters/ documentation/filterui/ documentation/mimetypes/ documentation/others/ drafts/ proposals/ proposals/appl...
Date Fri, 25 Nov 2011 20:05:43 GMT
Added: websites/staging/ooo-site/trunk/content/framework/scripting/index.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/framework/scripting/index.html (added)
+++ websites/staging/ooo-site/trunk/content/framework/scripting/index.html Fri Nov 25 20:05:15 2011
@@ -0,0 +1,329 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<link href="/css/ooo.css" rel="stylesheet" type="text/css">
+
+
+
+
+  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+
+
+</head>
+
+<body>
+  <div id="banner">
+    <div id="bannerleft"><a alt="Apache OpenOffice.org (incubating)" href="/">
+      <img id="ooo-logo alt="Apache OpenOffice.org (Incubating)" src="/images/ooo-logo.png"/></a></div>
+    <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/images/apache-incubator-logo.png"/></a></div>
+   <div id="bannercenter"><br/>(incubating)&nbsp;|&nbsp;The Free and Open Productivity Suite</div>
+  </div>
+  <div id="clear"></div>
+  
+  <div id="content">
+  
+    
+    
+
+<h1>OpenOffice.org Scripting Framework</h1>
+
+
+<p><b>Maintainers:</b>
+<a href="mailto:ab@openoffice.org">Andreas Bregas</a><a href="mailto:dfoster@openoffice.org"></a>
+
+</p>
+<p>
+<table style="width: 100%; background-color: rgb(240, 240, 240);" border="0" cellpadding="2" cellspacing="0">
+
+  <col width="270"> <col width="6"> <col width="220"> <col width="171"> <col width="117"> <col width="36"> <tbody>
+
+    <tr>
+
+      <td colspan="6" style="background-color: rgb(0, 49, 90); width: 100%;">
+      
+      <p align="center"><font color="#ffffff"><b>Documentation for the latest release</b> </font> </p>
+
+      </td>
+
+    </tr>
+
+    <tr>
+
+      <th style="background-color: rgb(153, 204, 255); width: 30%; text-align: left;">
+      
+      <p align="left"><font color="#00315a"><b>Name</b> </font> </p>
+
+      </th>
+
+      <th colspan="5" style="background-color: rgb(153, 204, 255); width: 70%; text-align: left;">
+      
+      <p align="left"><font color="#00315a"><b>Description</b> </font>
+      </p>
+
+      </th>
+
+    </tr>
+
+    <tr valign="top">
+
+      <td style="width: 30%;">
+      
+      <p>Features</p>
+
+      </td>
+
+      <td colspan="5" style="width: 70%;">
+        The Scripting Framework allows OpenOffice.org users to write and
+        run macros in multiple languages including OpenOffice.org Basic,
+        Python, Java, BeanShell and JavaScript. These macros can then be
+        assigned to menus, toolbars, keyboard shortcuts, events and embedded
+        objects.
+        
+      <p><a href="http://specs.openoffice.org/scripting_framework/index.html">Specifications for the Scripting Framework UI</a>
+      </p>
+      </td>
+
+    </tr>
+
+    <tr valign="top">
+
+      <td style="width: 30%;">
+      
+      <p>Install</p>
+
+      </td>
+
+      <td colspan="5" style="width: 70%;">
+      
+      <p>Install the <a href="http://download.openoffice.org/680/index.html">latest OpenOffice.org 2.0 build</a>
+      </p>
+
+      </td>
+
+    </tr>
+
+    <tr valign="top">
+
+      <td rowspan="2" style="width: 30%;">
+      
+      <p>Script User Guides</p>
+
+      </td>
+
+      <td colspan="4" style="width: 70%;">
+      
+      <p>See Developer Guide chapter attached to <a href="http://www.openoffice.org/issues/show_bug.cgi?id=29495">issue 29495</a>, (<a href="http://framework.openoffice.org/scripting/ScriptingFrameworkChapter.pdf">PDF</a>)
+      </p>
+
+      </td>
+
+    </tr>
+
+    <tr>
+
+      <td colspan="4" valign="top" width="395">
+      
+      <p><a href="./utilities-download.html">Utility Scripts
+contributed
+by the OpenOffice.org community</a></p>
+
+      </td>
+
+    </tr>
+
+    <tr valign="top">
+
+      <td rowspan="3" width="270">
+      
+      <p>Script Developer Guides</p>
+
+      </td>
+
+      <td colspan="4" width="220">
+      
+      <p>See Developer Guide chapter attached to <a href="http://www.openoffice.org/issues/show_bug.cgi?id=29495">issue 29495</a>, (<a href="http://framework.openoffice.org/scripting/ScriptingFrameworkChapter.pdf">PDF</a>)
+      </p>
+      </td>
+
+    </tr>
+
+    <tr>
+
+      <td colspan="4" valign="top" width="220">
+      
+      <p><a href="http://framework.openoffice.org/scripting/netbeans-debugging.html">Debugging Scripts in NetBeans</a></p>
+
+      </td>
+
+    </tr>
+
+  
+  </tbody>
+</table>
+
+</p>
+<p>
+<table style="width: 100%; background-color: rgb(240, 240, 240);" border="0" cellpadding="2" cellspacing="0">
+
+  <col width="270"> <col width="6"> <col width="220"> <col width="171"> <col width="117"> <col width="36"> <tbody>
+
+    <tr>
+
+      <td colspan="5" style="width: 100%; background-color: rgb(0, 49, 90);">
+      
+      <p align="center"><font color="#ffffff"><b> Previous Releases</b>
+      </font> </p>
+
+      </td>
+
+    </tr>
+
+    <tr>
+
+      <th style="background-color: rgb(153, 204, 255); width: 70%;">
+      
+      <p align="left"><font color="#00315a"><b>Version</b> </font> </p>
+
+      </th>
+
+      <th colspan="5" style="background-color: rgb(153, 204, 255); width: 30%; text-align: left;">
+      
+      <p align="left"><font color="#00315a"><b>Released</b> </font> </p>
+
+      </th>
+
+    </tr>
+
+    <tr valign="top">
+
+      <td style="width: 70%;">
+      
+      <p><a href="./release-0.3/index.html">Early Developer Release Version 0.3</a></p>
+
+      </td>
+
+      <td colspan="5" style="width: 30%;">
+      
+      <p>June 2003</p>
+
+      </td>
+
+    </tr>
+    <tr valign="top">
+
+      <td style="width: 70%;">
+      
+      <p><a href="./release-0.2/index.html">Early Developer Release
+Version 0.2</a></p>
+
+      </td>
+
+      <td colspan="5" style="width: 30%;">
+      
+      <p>April 2003</p>
+
+      </td>
+
+    </tr>
+
+    <tr valign="top">
+
+      <td style="width: 70%;">
+      
+      <p><a href="./release-0.1/index.html">Early Developer Release
+Version 0.1</a></p>
+
+      </td>
+
+      <td colspan="5" style="width: 30%;">
+      
+      <p>November 2002</p>
+
+      </td>
+
+    </tr>
+
+  
+  </tbody>
+</table>
+
+</p>
+
+<hr>
+<table style="width: 100%;" cellpadding="4" cellspacing="0">
+
+  <tbody>
+
+    <tr valign="top">
+
+      <td style="width: 30%;">
+      
+      <p><a href="mailto:dev@framework.openoffice.org">Mailing List</a></p>
+
+      </td>
+
+      <td style="width: 70%;">
+      
+      <p>Installation, User or Developer queries on the OpenOffice.org
+Scripting Framework</p>
+
+      </td>
+
+    </tr>
+
+    <tr valign="top">
+
+      <td style="width: 30%;">
+      
+      <p>Issues</p>
+
+      </td>
+
+      <td style="width: 70%;">
+      
+      <p>Issues found in the OpenOffice.org Scripting Framework should be
+logged in Issuezilla<br>
+
+      <b>component:</b> framework<br>
+
+      <b>subcomponent:</b> scripting</p>
+
+      </td>
+
+    </tr>
+
+  
+  </tbody>
+</table>
+
+<p> Last Modified: Nov 28 2006
+</p>
+
+
+
+  </div>
+
+  <div id="footera">
+    <div id="poweredbya">
+      <p><img src="/images/feather-small.gif"/><br/>Powered by the Apache CMS.</p>
+    </div>
+    <div id="copyrighta">
+      <p>
+	Apache "OpenOffice.org" is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
+	Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and
+	decision making process	have stabilized in a manner consistent with other successful ASF projects. While incubation status is
+	not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has
+	yet to be fully endorsed by the ASF.</p>
+      <p>
+	<a href="/contact.html">Contact Us</a> |
+	<a href="/terms.html">Terms of Use</a>
+	<br />Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+	<br />OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
+	<br />Other names appearing on the site may be trademarks of their respective owners.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>

Added: websites/staging/ooo-site/trunk/content/framework/scripting/netbeans-debugging.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/framework/scripting/netbeans-debugging.html (added)
+++ websites/staging/ooo-site/trunk/content/framework/scripting/netbeans-debugging.html Fri Nov 25 20:05:15 2011
@@ -0,0 +1,81 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<link href="/css/ooo.css" rel="stylesheet" type="text/css">
+
+
+<title>Developing Scripts in NetBeans</title>
+
+<meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">
+
+
+</head>
+
+<body>
+  <div id="banner">
+    <div id="bannerleft"><a alt="Apache OpenOffice.org (incubating)" href="/">
+      <img id="ooo-logo alt="Apache OpenOffice.org (Incubating)" src="/images/ooo-logo.png"/></a></div>
+    <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/images/apache-incubator-logo.png"/></a></div>
+   <div id="bannercenter"><br/>(incubating)&nbsp;|&nbsp;The Free and Open Productivity Suite</div>
+  </div>
+  <div id="clear"></div>
+  
+  <div id="content">
+  
+    
+    
+<a name="top"></a>     
+
+<h1>Debugging Java OpenOffice.org macros in NetBeans</h1>
+         
+This document describes how to set up NetBeans for debugging Java macros
+in OpenOffice.org.
+
+<ul>
+<li>Follow the instructions at
+<a href="http://api.openoffice.org/common/man/IDEintegration/OfficeNetBeansIntegration.html#Debugging">
+Debugging Java components in NetBeans/Forte for Java</a>
+to set up your OpenOffice.org installation to allow debugging of the JVM.
+
+<li>Start OpenOffice.org and run one of your Java scripts. This will
+make sure the JVM is running.
+
+<li>Attach to OpenOffice.org JVM using the NetBeans Debug/Start Session/Attach...
+menu option.
+
+<li>Load a script source in NetBeans and set up breakpoints using
+Debug/New Breakpoint... menu option.
+
+<li>Run the script in OpenOffice.org.
+</ul>
+
+<hr>
+Last Modified: Jan 13 2005
+
+
+  </div>
+
+  <div id="footera">
+    <div id="poweredbya">
+      <p><img src="/images/feather-small.gif"/><br/>Powered by the Apache CMS.</p>
+    </div>
+    <div id="copyrighta">
+      <p>
+	Apache "OpenOffice.org" is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
+	Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and
+	decision making process	have stabilized in a manner consistent with other successful ASF projects. While incubation status is
+	not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has
+	yet to be fully endorsed by the ASF.</p>
+      <p>
+	<a href="/contact.html">Contact Us</a> |
+	<a href="/terms.html">Terms of Use</a>
+	<br />Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+	<br />OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
+	<br />Other names appearing on the site may be trademarks of their respective owners.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>

Added: websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/SFrameworkInstall.jar
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/SFrameworkInstall.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/SmokeTest.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/SmokeTest.html (added)
+++ websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/SmokeTest.html Fri Nov 25 20:05:15 2011
@@ -0,0 +1,49 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<link href="/css/ooo.css" rel="stylesheet" type="text/css">
+
+<title></title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+
+</head>
+
+<body>
+  <div id="banner">
+    <div id="bannerleft"><a alt="Apache OpenOffice.org (incubating)" href="/">
+      <img id="ooo-logo alt="Apache OpenOffice.org (Incubating)" src="/images/ooo-logo.png"/></a></div>
+    <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/images/apache-incubator-logo.png"/></a></div>
+   <div id="bannercenter"><br/>(incubating)&nbsp;|&nbsp;The Free and Open Productivity Suite</div>
+  </div>
+  <div id="clear"></div>
+  
+  <div id="content">
+  
+    
+    
+  </div>
+
+  <div id="footera">
+    <div id="poweredbya">
+      <p><img src="/images/feather-small.gif"/><br/>Powered by the Apache CMS.</p>
+    </div>
+    <div id="copyrighta">
+      <p>
+	Apache "OpenOffice.org" is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
+	Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and
+	decision making process	have stabilized in a manner consistent with other successful ASF projects. While incubation status is
+	not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has
+	yet to be fully endorsed by the ASF.</p>
+      <p>
+	<a href="/contact.html">Contact Us</a> |
+	<a href="/terms.html">Terms of Use</a>
+	<br />Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+	<br />OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
+	<br />Other names appearing on the site may be trademarks of their respective owners.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>

Added: websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/developer-guide.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/developer-guide.html (added)
+++ websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/developer-guide.html Fri Nov 25 20:05:15 2011
@@ -0,0 +1,311 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<link href="/css/ooo.css" rel="stylesheet" type="text/css">
+
+
+<title>General Developer Guidelines</title>
+
+<meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">
+
+
+</head>
+
+<body>
+  <div id="banner">
+    <div id="bannerleft"><a alt="Apache OpenOffice.org (incubating)" href="/">
+      <img id="ooo-logo alt="Apache OpenOffice.org (Incubating)" src="/images/ooo-logo.png"/></a></div>
+    <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/images/apache-incubator-logo.png"/></a></div>
+   <div id="bannercenter"><br/>(incubating)&nbsp;|&nbsp;The Free and Open Productivity Suite</div>
+  </div>
+  <div id="clear"></div>
+  
+  <div id="content">
+  
+    
+    
+
+<h1>General Developer Guidelines</h1>
+         
+<h2>Writing Office scripts and the XScriptContext type</h2>
+
+All Java script methods must pass in XScriptContext as their first
+parameter. The developer can then use accessor functions on the scripting
+context to get at the document context, desktop and component factory
+as follows:
+
+<ul>
+<li>Current document - access the document context against which
+the script was invoked
+
+<p>
+<font face="Courier, monospace" size="2">
+&lt;XScriptContext Instance&gt;.getDocument()</font>
+<br>returns
+<font face="Courier, monospace" size="2">::com::sun::star::frame::XModel</font>
+
+<li>Office Desktop - access the desktop of the running Office
+
+<p>
+<font face="Courier, monospace" size="2">
+&lt;XScriptContext Instance&gt;.getDesktop()</font>
+<br>returns
+<font face="Courier, monospace" size="2">
+::com::sun::star::frame::XDesktop</font>
+
+<li>Component Factory - access a ComponentContext factory to create
+other UNO components as required
+
+<p>
+<font face="Courier, monospace" size="2">
+&lt;XScriptContext Instance&gt;.getComponentContext()</font>
+<br>returns
+<font face="Courier, monospace" size="2">
+::com::sun::star::uno::XComponentContext</font>
+</ul>
+
+The Script must import the XScriptContext interface, using the following
+import directive:
+
+<font face="Courier, monospace" size="2">     
+<pre>
+    import drafts.com.sun.star.script.framework.XScriptContext;
+</pre>
+</font>
+
+Example usage in a Java script method to access a Writer document and
+insert some text:
+
+<p>
+<font face="Courier, monospace" size="2">     
+<pre>
+    import com.sun.star.frame.XModel;
+    import com.sun.star.text.*;
+    import com.sun.star.uno.UnoRuntime;
+    import drafts.com.sun.star.script.framework.XScriptContext;
+
+    public class MyClass {
+
+        // The script method must be public
+        // It can either be static or non-static
+
+        public void showForm(XScriptContext xSc) {
+
+            // getting the text document object
+            XModel xmodel = xSc.getDocument();
+
+            XTextDocument xtextdoc = (XTextDocument)
+                UnoRuntime.queryInterface(XTextDocument.class, xmodel);
+            XText xtext = xtextdoc.getText();
+            XTextCursor xtextcursor = xtext.createTextCursor();
+
+            xtext.insertString(xtextcursor, "Hello World", false);
+        }
+    }
+</pre>
+</font>
+
+<h2>Tips on writing Office scripts</h2>
+
+<ul>
+<li><p><b>Performance:</b> Currently scripts are being loaded by the
+Scripting Framework each time they are run. As such it is important to
+keep the size of your scripts and any dependent jar files they are using
+reasonably small. In future releases this script loading will be
+optimised by changing the point at which the scripts are loaded
+by OpenOffice.org and using various caching schemes once they are
+loaded. However, the initial load will always be effected by the
+script and it's dependent jar/class file sizes.
+
+<li><p><b>Threading:</b> Scripts are run synchronously by the
+Scripting Framework. If you wish to perform any background task or
+provide some user interaction via a dialog for instance, then it is your
+responsibility to spawn a thread in the running script which can
+manage this process or interaction and let the script return promptly.
+Within this running thread you should follow the normal
+UNO component threading guidelines to ensure that they do not deadlock
+OpenOffice.org through inappropriate use of the UNO API.
+</ul>
+
+<h2>Parcel Descriptor DTD and sample XML</h2>
+Each script must contain a parcel-descriptor.xml file which provides all the necessary metadata for 
+the script. The DTD for the parcel-descriptor.xml follows
+<pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;!-- DTD for Parcel Meta data for use in the OpenOffice.org Scripting Framework Project --&gt;
+&lt;!ELEMENT logicalname EMPTY&gt;
+&lt;!ELEMENT description (#PCDATA)&gt;
+&lt;!ELEMENT displayname EMPTY&gt;
+&lt;!ELEMENT locale (displayname?, description?)&gt;
+&lt;!ELEMENT functionname EMPTY&gt;
+&lt;!ELEMENT prop EMPTY&gt;
+&lt;!ELEMENT languagedepprops (prop+)&gt;
+&lt;!ELEMENT file (prop*)&gt;
+&lt;!ELEMENT fileset (file+)&gt;
+&lt;!ELEMENT script (locale+, functionname, logicalname, languagedepprops*, fileset*)&gt;
+&lt;!ELEMENT parcel (script+)&gt;
+&lt;!ATTLIST logicalname
+	value CDATA #REQUIRED
+&gt;
+&lt;!ATTLIST displayname
+	value CDATA #REQUIRED
+&gt;
+&lt;!ATTLIST locale
+	lang CDATA #REQUIRED
+&gt;
+&lt;!ATTLIST functionname
+	value CDATA #REQUIRED
+&gt;
+&lt;!ATTLIST logicalname
+	value CDATA #REQUIRED
+&gt;
+&lt;!ATTLIST prop
+	name CDATA #REQUIRED
+	value CDATA #REQUIRED
+&gt;
+&lt;!ATTLIST file
+	name CDATA #REQUIRED
+&gt;
+&lt;!ATTLIST fileset
+	name CDATA #IMPLIED
+&gt;
+&lt;!ATTLIST script
+	language CDATA #REQUIRED
+&gt;
+</pre>
+The following is an example of a parcel-descriptor.xml file that defines a script, 
+implemented in Java. The languagedepprops element is used to extend the JVM's classpath.
+<pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;!--Sample Meta Data for use with the Scripting Framework Project in OpenOffice.org --&gt;
+&lt;!DOCTYPE parcel SYSTEM "parcel.dtd"&gt;
+&lt;parcel&gt;
+	&lt;script language="java"&gt;
+		&lt;locale lang="english"&gt;
+			&lt;displayname value="Memory.usage"/&gt;
+			&lt;description&gt;
+				Displays the memory current memory usage
+			&lt;/description&gt;
+		&lt;/locale&gt;
+		&lt;functionname value="memoryUtils.memoryUsage"/&gt;
+		&lt;logicalname value="MemoryUtils.MemUsage"/&gt;
+		&lt;languagedepprops&gt;
+			&lt;prop name="classpath" value="/opt/foo.jar:/usr/java/src.jar"/&gt;
+		&lt;/languagedepprops&gt;
+		&lt;fileset&gt;
+			&lt;file name="mems.txt"&gt;
+				&lt;prop name="type" value="resource"/&gt;
+			&lt;/file&gt;
+		&lt;/fileset&gt;
+	&lt;/script&gt;
+&lt;/parcel&gt;
+</pre>
+
+
+<a name="bindscripts"></a>
+<h2>How to Bind Scripts</h2>
+
+<a name="menubind"></a>
+<b>Binding scripts to Menu items</b>
+<ul>
+<li>Start OpenOffice.org and open an existing document or create
+a new one.
+
+<li>Select the menu item Tools/Assign Scripts (Java) To/Menu...
+
+<li>In the &quot;Assign Scripts (Java) To Menu&quot; dialog that pops up
+do the following:
+
+<ul>
+<li><i>Select script function</i>
+  <ul><li>Select the script function that you require from the list.
+  </ul>
+
+<li><i>Choose the menu to insert the script menu after</i>
+  <ul><li>Select the top level menu and submenu under which you want
+          to place your new menu item.
+  </ul>
+
+<li><i>Assign script to new menu</i>
+  <ul><li>In the New Menu text field enter the label you want for your
+          menu item
+      <li>Click New Script Menu to create the new script menu item.
+  </ul>
+</ul>
+
+<li>Finally click on the OK button to save your new script menu item.
+
+<li>Restart OpenOffice.org and open a document
+
+<li>Your new menu item will now be available and clicking on it will
+invoke the Java script.
+</ul>
+
+
+<a name="keybind"></a>
+<b>Binding scripts to Shortcut Keys</b>
+<ul>
+<li>Start OpenOffice.org and open an existing document or create
+a new one.
+
+<li>Select the menu item Tools/Assign Scripts (Java) To/Key...
+
+<li>In the &quot;Assign Scripts (Java) To Key&quot; dialog that pops up
+do the following:
+
+<ul>
+<li><i>Select script function</i>
+  <ul><li>Select the script function that you require from the list.
+  </ul>
+
+<li><i>Choose the Shortcut key to bind the script to</i>
+  <ul><li>Select one of the Key Groups (e.g. SHIFT + CONTROL + digits)
+      <li>Select a key from the Shortcut Keys.
+  </ul>
+
+<li><i>Assign script to shortcut key:</i>
+  <ul<li>Click New Script Key to create the new script Shortcut key.
+  </ul>
+</ul>
+
+<li>Finally click on the OK button to save your new script shortcut key.
+
+<li>Restart OpenOffice.org and open a document
+
+<li>Pressing your new script shortcut key will invoke the Java script.
+</ul>
+
+<b>Note:</b> Menu items and Shortcut keys are not updated on the fly, hence the
+          need to restart, this will be addressed in a future release.
+
+<hr>
+Last Modified: 
+Wed Jan 15 16:25:01 GMT 2003
+
+
+  </div>
+
+  <div id="footera">
+    <div id="poweredbya">
+      <p><img src="/images/feather-small.gif"/><br/>Powered by the Apache CMS.</p>
+    </div>
+    <div id="copyrighta">
+      <p>
+	Apache "OpenOffice.org" is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
+	Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and
+	decision making process	have stabilized in a manner consistent with other successful ASF projects. While incubation status is
+	not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has
+	yet to be fully endorsed by the ASF.</p>
+      <p>
+	<a href="/contact.html">Contact Us</a> |
+	<a href="/terms.html">Terms of Use</a>
+	<br />Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+	<br />OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
+	<br />Other names appearing on the site may be trademarks of their respective owners.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>

Added: websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/developer-release-features.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/developer-release-features.html (added)
+++ websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/developer-release-features.html Fri Nov 25 20:05:15 2011
@@ -0,0 +1,119 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<link href="/css/ooo.css" rel="stylesheet" type="text/css">
+
+
+<title>Features for Early Developer Release</title>
+
+<meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">
+
+
+</head>
+
+<body>
+  <div id="banner">
+    <div id="bannerleft"><a alt="Apache OpenOffice.org (incubating)" href="/">
+      <img id="ooo-logo alt="Apache OpenOffice.org (Incubating)" src="/images/ooo-logo.png"/></a></div>
+    <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/images/apache-incubator-logo.png"/></a></div>
+   <div id="bannercenter"><br/>(incubating)&nbsp;|&nbsp;The Free and Open Productivity Suite</div>
+  </div>
+  <div id="clear"></div>
+  
+  <div id="content">
+  
+    
+    
+<h1>Features for Early Developer Release of the
+Office Scripting Framework (Version 0.1)</h1>
+
+<h2>Framework</h2>
+
+Supports the loading of different language Runtimes to allow the
+invocation of scripts written in a specific language. These scripts can
+be deployed within the OpenOffice.org installation (user or share area)
+or in a document. The current release provides a Java Runtime.
+
+<p>
+<b>Note:</b> IDE add-ins will only allow deployment of Java
+scripts to the user area of an Office installation or to a document.
+
+<h2>Language Runtime</h2>
+
+The Java Runtime will dynamically load a Java script and any
+supporting classes it requires, invoke the script and provide the script
+with access to the current OpenOffice.org document which it can manipulate
+using the Java UNO API.
+
+<h2>IDE Add-ins</h2>
+
+Integration modules for NetBeans and JEdit. The user can create a new Java
+script parcel which contains one or more Java classes. They can export any
+public methods from these classes as scripts, during deployment, as long
+as the method takes a Scripting Context as its first parameter. Using
+this Scripting Context object within these methods, they can access the
+current OpenOffice.org document and use the Java UNO API to manipulate it.
+
+<p>
+By installing the ODK for OpenOffice.org, the user has full access to
+online help and code completion within any scripts written in Java they
+are writing.
+
+<p>
+The IDE fully supports debugging Java applications and as a result it is
+possible to interactively debug your OpenOffice.org scripts written in
+Java. Just set a breakpoint, bind to the running JVM in OpenOffice.org,
+invoke the script in this OpenOffice.org and step through the code in the
+IDE. For more information on setting up OpenOffice.org to enable debugging
+see:
+
+<a href="http://api.openoffice.org/common/man/IDEintegration/OfficeNetBeansIntegration.html#Debugging">Debugging Java components in NetBeans/Forte for Java</a>
+<p>
+
+<h2>Binding</h2>
+
+Ability to assign scripts written in Java to menu and key bindings
+from OpenOffice.org Tools/Assign Script menu (invokes a custom Assign
+dialog written in StarBasic)
+
+<p>
+<b>Note:</b> Bindings are stored in the application configuration settings
+from the Assign dialog . The cannot be stored directly in a document.
+
+<h2>Security</h2>
+
+Security in the Early Developer Release will be provided in the form of a
+nag dialog which will be popped up every time a user attempts to run a
+script from within a document. The nag dialog is not displayed when
+invoking application scripts deployed to the user or share area.
+
+<hr>
+Last Modified: Fri Nov 29 14:19:53 GMT 2002
+
+
+  </div>
+
+  <div id="footera">
+    <div id="poweredbya">
+      <p><img src="/images/feather-small.gif"/><br/>Powered by the Apache CMS.</p>
+    </div>
+    <div id="copyrighta">
+      <p>
+	Apache "OpenOffice.org" is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
+	Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and
+	decision making process	have stabilized in a manner consistent with other successful ASF projects. While incubation status is
+	not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has
+	yet to be fully endorsed by the ASF.</p>
+      <p>
+	<a href="/contact.html">Contact Us</a> |
+	<a href="/terms.html">Terms of Use</a>
+	<br />Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+	<br />OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
+	<br />Other names appearing on the site may be trademarks of their respective owners.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>

Added: websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/faq.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/faq.html (added)
+++ websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/faq.html Fri Nov 25 20:05:15 2011
@@ -0,0 +1,49 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<link href="/css/ooo.css" rel="stylesheet" type="text/css">
+
+<title></title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+
+</head>
+
+<body>
+  <div id="banner">
+    <div id="bannerleft"><a alt="Apache OpenOffice.org (incubating)" href="/">
+      <img id="ooo-logo alt="Apache OpenOffice.org (Incubating)" src="/images/ooo-logo.png"/></a></div>
+    <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/images/apache-incubator-logo.png"/></a></div>
+   <div id="bannercenter"><br/>(incubating)&nbsp;|&nbsp;The Free and Open Productivity Suite</div>
+  </div>
+  <div id="clear"></div>
+  
+  <div id="content">
+  
+    
+    
+  </div>
+
+  <div id="footera">
+    <div id="poweredbya">
+      <p><img src="/images/feather-small.gif"/><br/>Powered by the Apache CMS.</p>
+    </div>
+    <div id="copyrighta">
+      <p>
+	Apache "OpenOffice.org" is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
+	Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and
+	decision making process	have stabilized in a manner consistent with other successful ASF projects. While incubation status is
+	not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has
+	yet to be fully endorsed by the ASF.</p>
+      <p>
+	<a href="/contact.html">Contact Us</a> |
+	<a href="/terms.html">Terms of Use</a>
+	<br />Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+	<br />OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
+	<br />Other names appearing on the site may be trademarks of their respective owners.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>

Added: websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/index.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/index.html (added)
+++ websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/index.html Fri Nov 25 20:05:15 2011
@@ -0,0 +1,49 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<link href="/css/ooo.css" rel="stylesheet" type="text/css">
+
+<title></title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+
+</head>
+
+<body>
+  <div id="banner">
+    <div id="bannerleft"><a alt="Apache OpenOffice.org (incubating)" href="/">
+      <img id="ooo-logo alt="Apache OpenOffice.org (Incubating)" src="/images/ooo-logo.png"/></a></div>
+    <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/images/apache-incubator-logo.png"/></a></div>
+   <div id="bannercenter"><br/>(incubating)&nbsp;|&nbsp;The Free and Open Productivity Suite</div>
+  </div>
+  <div id="clear"></div>
+  
+  <div id="content">
+  
+    
+    
+  </div>
+
+  <div id="footera">
+    <div id="poweredbya">
+      <p><img src="/images/feather-small.gif"/><br/>Powered by the Apache CMS.</p>
+    </div>
+    <div id="copyrighta">
+      <p>
+	Apache "OpenOffice.org" is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
+	Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and
+	decision making process	have stabilized in a manner consistent with other successful ASF projects. While incubation status is
+	not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has
+	yet to be fully endorsed by the ASF.</p>
+      <p>
+	<a href="/contact.html">Contact Us</a> |
+	<a href="/terms.html">Terms of Use</a>
+	<br />Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+	<br />OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
+	<br />Other names appearing on the site may be trademarks of their respective owners.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>

Added: websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/install-guide.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/install-guide.html (added)
+++ websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/install-guide.html Fri Nov 25 20:05:15 2011
@@ -0,0 +1,255 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<link href="/css/ooo.css" rel="stylesheet" type="text/css">
+
+
+<title>Installation and User Guide</title>
+
+<meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">
+
+
+</head>
+
+<body>
+  <div id="banner">
+    <div id="bannerleft"><a alt="Apache OpenOffice.org (incubating)" href="/">
+      <img id="ooo-logo alt="Apache OpenOffice.org (Incubating)" src="/images/ooo-logo.png"/></a></div>
+    <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/images/apache-incubator-logo.png"/></a></div>
+   <div id="bannercenter"><br/>(incubating)&nbsp;|&nbsp;The Free and Open Productivity Suite</div>
+  </div>
+  <div id="clear"></div>
+  
+  <div id="content">
+  
+    
+    
+<a name="top"></a>     
+
+<h1>Installation Guide for the Early Developer Release (Version 0.1)</h1>
+          
+This document tells you how to download and install the Early Developer
+Release of the Office Scripting Framework.
+
+<h2>Contents</h2>
+
+<ul>
+<li><p><a href="#who">Who Should Read This Document</a>
+<li><p><a href="#prerequisites">Pre-requisites</a>
+<li><p><a href="#download">Downloading the Scripting Framework</a>
+<li><p><a href="#install">Installing the Scripting Framework</a>
+<li><p><a href="#uninstall">Uninstalling the Scripting Framework</a>
+</ul>
+
+<a name="who"></a>
+
+<h2>Who Should Read This Document</h2>
+          
+This document should be read by:
+
+<ul>
+<li><p>Application Developers who wish to enhance OpenOffice.org
+functionality without needing to develop UNO components or to connect to
+OpenOffice.org from a remote JVM
+
+<li><p>OpenOffice.org users who wish to execute Office scripts written
+in Java via menu and key bindings in OpenOffice.org
+</ul>
+
+<a href="#top">Top</a>
+<a name="prerequisites"></a>
+
+<h2>Pre-requisites</h2>
+
+<ul>
+<li>This is an Early Developer Release of the Office Scripting Framework
+provided for users and developers of OpenOffice.org to try out and provide
+feedback. Future releases of the Framework may change.
+<li>This release of the Scripting Framework runs
+<a href="http://www.openoffice.org/dev_docs/source/643c/index.html">
+<b>only on OpenOffice.org 643C</b></a>
+<li>The Scripting Framework is currently available in English only.
+</ul>
+
+The table below shows the JDK and memory requirements for running the
+Office Scripting Framework on OpenOffice.org 643C.
+
+<p>
+<center>
+<table colspan=4 cellpadding=5 border=1>
+<tr>
+<th>User</th><th>IDE</th><th>JDK required</th><th>Memory required</th>
+</tr>
+<tr>
+<td>Script User</td><td>-</td><td>1.3</td><td>256MB</td>
+</tr>
+<tr>
+<td>Script Developer</td><td>NetBeans 3.4</td><td>1.3</td><td>512MB</td>
+</tr>
+<tr>
+<td>Script Developer</td><td>jEdit 4.0.3</td><td>1.4</td><td>512MB</td>
+</tr>
+</table>
+</center>
+
+<a href="#top">Top</a>
+<a name="download"></a>
+
+<h2>Downloading the Scripting Framework</h2>
+
+The Scripting Framework is available for download in the form of a Jar 
+file which can be obtained from <a href="SFrameworkInstall.jar">here</a>.
+The contents of the Jar file are as follows:
+
+<ul>
+<li><b>installer</b> - A platform-independent installer for the Scripting
+Framework written in Java.
+
+<li><b>bindingdialog</b> - A collection of StarBasic dialogs
+to enable the user to assign (bind) scripts written in Java to menu and
+key items. This directory also contains the necessary XML files
+for the menu items that invoke these StarBasic dialogs.
+
+<li><b>examples</b> - Two example scripts written in Java.
+
+<li><b>sframework</b> - A UNO package <!--<sup>*</sup>--> containing
+the Scripting Framework libraries, Jar files and types.
+Additionally, a resource file for a security-related dialog.
+
+<li><b>ide</b> - The Jar files for NetBeans and jEdit integration.
+
+<li><b>(platform dirs)</b> - These contain the platform dependent
+<font face="Courier, monospace" size="2">regsingleton</font>
+tool used to add singleton entries in the OpenOffice.org services datatbase.
+</ul>
+
+<!--
+<p>
+<sup>*</sup>See <a href="http://api.openoffice.org/servlets/ProjectDownloadList?action=download&amp;dlID=84">
+&sect;4.7.1</a> of the
+<a href="http://api.openoffice.org/DevelopersGuide/DevelopersGuide.html">
+Office Developers' Guide</a> for a description of the UNO packaging system.
+<p>
+-->
+
+<a href="#top">Top</a>
+<a name="install"></a>
+
+<h2>Installing the Scripting Framework</h2>
+
+Before you begin installation, you need to ensure all Office processes 
+have terminated and on Windows and Linux, that the QuickStarter
+has been closed.  
+<p>
+To install the Scripting Framework:
+
+<ul>
+<li>Open a terminal (Linux/UNIX) or DOS Command Prompt (Windows)
+<li>Ensure that java is in your execution path
+<li>Copy the Scripting Framework Jar file you downloaded into the program
+directory of the OpenOffice.org installation into which you
+wish to install the Framework.
+<li>Switch to the &lt;Office Installation&gt;/program directory
+<li>Run the command:
+<font face="Courier, monospace" size="2">java -jar SFrameworkInstaller.jar</font>
+</ul>
+         
+<p>
+This will cause the Scripting Framework to be installed in the
+&lt;Office Installation&gt;/user/uno_packages directory of your Office
+installation. If the installer detects an installation of either
+<a href="http://www.netbeans.org/ide/download.html"> NetBeans 3.4</a> or
+<a href="http://www.jedit.org/index.php?page=download">jEdit 4.0.3</a>
+you will be asked whether you wish to install the Scripting Framework
+add-ins for these IDEs. These add-ins provide support for developing
+and deploying Office Scripts in Java.
+
+<p>
+<b>Note:</b> The installer detects IDE installations by looking for
+session related files in the home directory of the user running the install,
+so in order for your IDE to be detected you will need to have run it at
+least once.
+
+<p>
+<b>Note:</b> If you are installing the Scripting Framework into a network
+installed OpenOffice.org, the Framework install will need to be run as
+the same user who did the initial network install.  This is because one of
+the files (ProtocolHandler.xcu) that needs to be modified during the
+Framework install is in the &lt;Office Installation&gt;/share directory,
+<p>
+
+<a href="#top">Top</a>
+<a name="uninstall"></a>
+
+<h2>Uninstalling the Scripting Framework</h2>
+
+Currently there is no automated process for uninstalling the Scripting
+Framework, so uninstalling must be done manually (the process will be
+automated in a future release).
+
+<p>
+To remove the Scripting Framework:
+<ul>
+<li>Delete the file &lt;Office Installation&gt;/user/uno_packages/ooscriptframe.zip
+<li>Switch to the &lt;Office Installation&gt;/program directory and run the command: <font face="Courier, monospace" size="2">pkgchk</font>
+</ul>
+
+<p>
+If you wish to remove any scripts from your installation they are stored in the directories:
+<ul>
+<li>&lt;Office Installation&gt;/user/Scripts
+<li>&lt;Office Installation&gt;/share/Scripts
+</ul>
+
+<p>
+You can use the Tools/Configure dialog to remove any menu or key bindings
+that you have setup for Office scripts.
+
+<p>
+If you have installed Office Scripting support into a NetBeans installation
+you can remove it by deleting:
+<ul>
+<li>&lt;NetBeans Installation&gt;/modules/office.jar
+</ul>
+
+<p>
+If you have installed Office Scripting support into a jEdit installation
+you can remove it by deleting:
+<ul>
+<li>&lt;jEdit Installation&gt;/jars/OfficeScripting.jar
+<li>&lt;jEdit Installation&gt;/jars/idesupport.jar
+</ul>
+
+<a href="#top">Top</a>
+
+<hr>
+Last Modified: Fri Nov 29 14:19:53 GMT 2002
+
+
+
+  </div>
+
+  <div id="footera">
+    <div id="poweredbya">
+      <p><img src="/images/feather-small.gif"/><br/>Powered by the Apache CMS.</p>
+    </div>
+    <div id="copyrighta">
+      <p>
+	Apache "OpenOffice.org" is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
+	Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and
+	decision making process	have stabilized in a manner consistent with other successful ASF projects. While incubation status is
+	not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has
+	yet to be fully endorsed by the ASF.</p>
+      <p>
+	<a href="/contact.html">Contact Us</a> |
+	<a href="/terms.html">Terms of Use</a>
+	<br />Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+	<br />OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
+	<br />Other names appearing on the site may be trademarks of their respective owners.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>

Added: websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/issues-list.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/issues-list.html (added)
+++ websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/issues-list.html Fri Nov 25 20:05:15 2011
@@ -0,0 +1,49 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<link href="/css/ooo.css" rel="stylesheet" type="text/css">
+
+<title></title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+
+</head>
+
+<body>
+  <div id="banner">
+    <div id="bannerleft"><a alt="Apache OpenOffice.org (incubating)" href="/">
+      <img id="ooo-logo alt="Apache OpenOffice.org (Incubating)" src="/images/ooo-logo.png"/></a></div>
+    <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/images/apache-incubator-logo.png"/></a></div>
+   <div id="bannercenter"><br/>(incubating)&nbsp;|&nbsp;The Free and Open Productivity Suite</div>
+  </div>
+  <div id="clear"></div>
+  
+  <div id="content">
+  
+    
+    
+  </div>
+
+  <div id="footera">
+    <div id="poweredbya">
+      <p><img src="/images/feather-small.gif"/><br/>Powered by the Apache CMS.</p>
+    </div>
+    <div id="copyrighta">
+      <p>
+	Apache "OpenOffice.org" is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
+	Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and
+	decision making process	have stabilized in a manner consistent with other successful ASF projects. While incubation status is
+	not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has
+	yet to be fully endorsed by the ASF.</p>
+      <p>
+	<a href="/contact.html">Contact Us</a> |
+	<a href="/terms.html">Terms of Use</a>
+	<br />Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+	<br />OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
+	<br />Other names appearing on the site may be trademarks of their respective owners.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>

Added: websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/jedit-devguide.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/jedit-devguide.html (added)
+++ websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/jedit-devguide.html Fri Nov 25 20:05:15 2011
@@ -0,0 +1,413 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<link href="/css/ooo.css" rel="stylesheet" type="text/css">
+
+
+<!-- jEdit options: -->
+<!-- :tabSize=8:indentSize=2:noTabs=true:maxLineLen=80: -->
+<title>Developer Guide for jEdit</title>
+
+<meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">
+
+
+</head>
+
+<body>
+  <div id="banner">
+    <div id="bannerleft"><a alt="Apache OpenOffice.org (incubating)" href="/">
+      <img id="ooo-logo alt="Apache OpenOffice.org (Incubating)" src="/images/ooo-logo.png"/></a></div>
+    <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/images/apache-incubator-logo.png"/></a></div>
+   <div id="bannercenter"><br/>(incubating)&nbsp;|&nbsp;The Free and Open Productivity Suite</div>
+  </div>
+  <div id="clear"></div>
+  
+  <div id="content">
+  
+    
+    
+<h1>Developer Guide for jEdit</h1>
+ 
+<h2>Contents</h2>
+
+<ul>
+<li><a href="#prerequisites">Pre-requisites</a>
+<li><a href="#setup">Setting up the Office Scripting plugin</a>
+<li><a href="#using">Using the Office Scripting plugin</a>
+<li><a href="#options">Options</a>
+<li><a href="#steps">Step by step actions</a>
+<li><a href="#troubleshooting">Troubleshooting</a>
+</ul>
+       
+<h2><a name="prerequisites"></a>Pre-requisites</h2>
+    
+<ul>
+<li>The plugin only runs in jEdit 4.0.3 (available from
+<a href="http://www.jedit.org/index.php?page=download">jedit.org</a>)
+
+<li>You <b>MUST</b> have the following plugins installed: AntFarm, Console<br>
+(see below for instructions on installing them)
+
+<li>If you wish to have code completion when writing Office scripts you
+also need to install the SpeedJava plugin
+</ul>
+       
+<h2><a name="setup"></a>
+Setting up the Office Scripting plugin</h2>
+
+See the <a href="install-guide.html">Installation Guide</a>
+for instructions on installing the Office Scripting plugin.
+
+<blockquote>
+<h3>Setting up the http proxy</h3>
+
+<ul>
+<li>Browse to Utilities/Global Options...
+<li>Browse in the Global Options dialog box to the Proxy Servers.
+<li>Check "Use HTTP proxy Servers" and set all information needed for
+jEdit to access the web.
+<li>Click on OK.
+</ul>
+
+<h3>Installing required plugins</h3>
+
+<ul>
+<li>Browse to Plugins/Plugin Manager...
+<li>Click on Install Plugins (If you get erors then your Proxy is not
+well setup)
+<li>Then you get a list of plugins.
+<li>The plugins needed by the Office Scripting plugin are AntFarm and Console.
+<li>So just select them if you cant find them on the list then you have
+them already installed.
+<li>Click on install
+<li>Click on OK if needed then Close.
+<li>Exit jEdit.
+</ul>
+
+<h3>Setting up the Office Scripting plugin for jEdit</h3>
+
+If you did not install the Office Scripting plugin according to the
+instructions in the Installation Guide you need to do so first.
+
+<ul>
+<li>Browse to Utilities/Global Options...
+<li>Select Plugins/Office Scripting
+  <ul>
+  <li>Select which Office version you want to work with
+  <li>You must click OK to verify your choice even if there is only one
+      Office version listed.
+  </ul>
+<li>Select Plugins/AntFarm/Build Options
+  <ul>
+  <li>Select <i>Run Ant Targets in the same JVM</i>.
+  </ul>
+</ul>
+
+<h3>Recommended layout for the jEdit window</h3>
+
+<ul>
+<li>Browse to Utilities/Global Options...
+<li>Select Docking
+  <ul>
+  <li>Activity Log docking position: <b>bottom</b>
+  <li>Ant Farm docking position: <b>right</b>
+  <li>Console docking position: <b>bottom</b>
+  <li>Error List docking position: <b>bottom</b>
+  <li>File System Browser docking position: <b>left</b>
+  <li>Scripting Framework docking position: <b>right</b>
+  </ul>
+<li>Click on OK.
+</ul>
+</blockquote>
+ 
+<h2><a name="using"></a>Using the Office Scripting plugin</h2>
+
+<blockquote>
+<h3>Popup Menu actions</h3>
+The Scripting plugin provides a dockable window listing your scripts.  A
+number of actions are available in this window:
+
+<ul>
+
+<li><p><b>On the ROOT (All Parcels node)</b>          
+  <ul>
+  <li><i>Open... </i>: This will open a file chooser dialog box. You
+      can select an .sxp file, directory or Office Document.
+
+  <li><i>New... </i>: This will prompt you for a parcel name and then
+      create by default everything needed for a scripting parcel
+
+  <li><i>Parcel Wizard...</i>: Kind of the same than Parcel Template
+      except you choose the java files you want to include in the parcel.
+  </ul>
+</li>
+
+<li><p><b>On a Script Parcel</b>
+  <p>
+  If the parcel is a directory (created from parcel template or parcel wizard):
+
+  <ul>
+  <li><i>Add Directory</i>: This will prompt you for a Directory Name
+      and it will create it under the selected Node.
+
+  <li><i>Add File</i>: This will prompt you with a file chooser dialog
+      box and you can select the files you want to add to the selected node.
+
+  <li><i>Rename</i>: This prompt you for the new name and rename the parcel.
+
+  <li><i>Remove</i>: This will remove the parcel.
+
+  <li><i>Generate Build.xml</i>: This menu is only displayed if no
+      build.xml file exists in the Parcel directory. To avail the options
+      below you need to generate this build.xml file.
+
+  <li><i>Reload Parcel</i>: This will reload the Parcel if the content
+      on disk changed.
+
+  <li><i>Edit Build File</i>: This will open the build.xml file that
+      you can edit. This file is generated automatically when using
+      wizard or parcel template.
+
+  <li><i>Ant Targets</i>: The Ants targets will automatically be displayed
+      and by selecting them you will run the Ant command (requires AntFarms).
+
+  <li><i>ScriptCompile</i>: Default Ant target to compile the full parcel.
+
+  <li><i>ScriptClean</i>: Deafult Ant target to clean all compilation
+      output files.
+
+  <li><i>Build SXP</i>: This will compile and create the .sxp Parcel file.
+
+  <li><i>Configure Parcel...</i>: This will display the available methods
+      name in the Parcel and you can select which methods can be available
+      in OpenOffice.org.
+  </ul>
+
+  <p>
+  If the parcel selected is contained in an Office Document
+  the actions available are:
+
+  <ul>
+  <li><i>Remove</i>: This will remove the parcel from the document
+  </ul>
+</li>
+   
+<li><p><b>On a File/Directory</b>
+  <p>Some typical menu items are available on file and directory Items:<br>
+
+  <ul>
+  <li><i>Add Directory</i>: Only on directory. This will add a directory
+      under the selected directory.
+
+  <li><i>Add File</i>: Only on directory. This will prompt you with a file
+      chooser and add the selected files in the selected directory.
+
+  <li><i>Rename</i>: this will rename physically the selected entry.
+
+  <li><i>Remove</i>: this will remove physically the selected entry.
+  </ul>
+
+<li><p><b>On a Script Parcel (.sxp) file</b>
+
+  <p>The following actions are available on Script Parcel files:<br>
+
+  <ul>
+  <li><i>Deploy to</i>
+    <ul>
+    <li><i>Office Versions</i>: this will deploy the Parcel to an
+        installed version of OpenOffice.org. If you have OpenOffice.org
+        running, you need to use the Tools/Refresh User Scripts (Java)
+        menu item in OpenOffice.org for the script to appear in the
+        Assign Script dialog in Office.
+
+    <li><i>Office Document</i>: this will deploy the Parcel to an
+        Office Document.
+
+    <li><i>Remove SXP</i>: will remove physically the .sxp file generated
+        by the build command.
+    </ul>
+  </ul>
+</ul>
+         
+<h3>Menu actions</h3>
+
+Menu actions available are:
+
+<ul>
+<li><i>New...</i>
+<li><i>Add...</i>
+<li><i>Parcel Wizard...</i>
+</ul>
+</blockquote>
+   
+<h2><a name="options"></a>Options</h2>
+
+<blockquote>
+
+You may configure some options in
+<b>Utilities/Global Options/Plugin Options/Scripting</b>
+Most of them are self-explanatory, but some need further explanation:
+
+<ul>
+<li><i>OpenOffice.org Directory</i>: Locations of all OpenOffice.org
+installations. You need to select one.
+
+<li><i>Show tooltips in tree</i>: Show tooltips in the tree of Parcels in
+the Office Scripting window
+
+<li><i>Warn before removing File from Parcel</i>: Will display a
+confirmation box before removing a file.
+
+<li><i>Warn before removing Directory from Parcel</i>: Will display a
+confirmation box before removing a directory.
+
+<li><i>Include source code</i>: This will include the source code in
+the Script Parcel (.sxp) file.
+</ul>
+</blockquote>
+    
+<h2><a name="steps"></a>Step by step actions</h2>
+
+<blockquote>
+<h3>How to create a Parcel using the New... menu.</h3>
+
+By clicking on the first button or by right clicking on the
+&quot;All Parcels&quot; tree item and selecting New...  a dialog box
+is displayed asking the name of the parcel you want to create. After you
+have input the name is this dialog, another dialog box is displayed
+requesting the destination path where that parcel should be created.
+
+<p>
+Clicking on OK will create the full tree structure for the parcel
+if no problem were encountered.
+
+<h3>How to create a Parcel using the Wizard... menu.</h3>
+
+By clicking on the third button or by right clicking on the
+"All Parcels" tree item and selecting Parcel Wizard... a dialog box
+is displayed. You need to enter the Parcel Name, the destination path
+where the parcel will be created and select the java files you wish
+to include in the parcel.
+
+<p>
+Clicking on OK will create the full tree structure for the parcel
+if no problem is encountered.
+
+<h3>How to open a Parcel using the Open... menu.</h3>
+
+By clicking on the second button or by right clicking on the
+"All Parcels" tree item and selecting Open..., a file chooser
+dialog box will be displayed you can select a directory parcel, and
+.sxp file representing a Parcel or an Office Document.
+
+<p>
+A directory parcel should look like this:
+
+<p>
+<pre>
+Parcel Name
+  - Contents
+    - Java files
+    - Directories
+</pre>
+
+<p>
+A .sxp file should look like this:
+
+<p>
+<pre>
+Parcel Name
+  - Contents
+    - Java files
+    - Directories
+  - .sxp File output
+</pre>
+
+<p>
+An Office Document look like this:
+
+<p>
+<pre>
+Office Document
+  - Contents
+    - Parcels
+</pre>
+
+<h3>How to Compile a Parcel using the ScriptCompile menu.</h3>
+
+This action is only available on a Directory parcel for the moment. The
+ScriptCompile menu item is only available if a build.xml file is available
+in the parcel.
+
+<p>
+By clicking on this menu item the parcel will be compiled and errors will
+be shown in the ErrorList Plugin.
+
+<h3>How to Build a Parcel using the Build SXP menu</h3>
+
+This action is only available on a Directory parcel for the moment. By
+clicking on this item, the parcel will be rebuilt and a dialog box will
+be displayed showing the available methods in the parcel. This dialog
+box enables you to select methods that you want to export as scripts
+in Office.
+
+<p>
+For each method you can assign a Logical Name to use as a script name
+in OpenOffice.org. Clicking on OK will create the .sxp File.
+</blockquote>
+ 
+<h2><a name="troubleshooting"></a>Troubleshooting</h2>
+
+<ul>
+<li><p>If you reinstall the Scripting Framework you will need to update any
+build files that were generated for old scripts that you wrote to reflect
+the path to the new framework under your
+&lt;Office Installation&gt;/user/uno_packages directory for those scripts to
+build.
+
+<li><p>The Choose Methods to Export as Scripts dialog <b>only</b> displays
+methods which are defined within class files, it will not display
+methods in class files which are within jar files in the Parcel Recipe.
+
+<li><p>If you get the message &quot;Could not generate Ant build. No Office
+Directory set in the Options&quot;, you need to do the following:
+
+<ul>
+<li>Select the Utilities/Global Options menu item
+<li>Go to the Plugin Options/Office Scripting section
+<li>Select one of the Office installations from the list and click OK.
+</ul>
+</ul>
+<p>
+
+<hr>
+Last Modified: Fri Nov 29 14:19:53 GMT 2002
+
+
+
+  </div>
+
+  <div id="footera">
+    <div id="poweredbya">
+      <p><img src="/images/feather-small.gif"/><br/>Powered by the Apache CMS.</p>
+    </div>
+    <div id="copyrighta">
+      <p>
+	Apache "OpenOffice.org" is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
+	Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and
+	decision making process	have stabilized in a manner consistent with other successful ASF projects. While incubation status is
+	not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has
+	yet to be fully endorsed by the ASF.</p>
+      <p>
+	<a href="/contact.html">Contact Us</a> |
+	<a href="/terms.html">Terms of Use</a>
+	<br />Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+	<br />OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
+	<br />Other names appearing on the site may be trademarks of their respective owners.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>

Added: websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/netbeans-devguide.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/netbeans-devguide.html (added)
+++ websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/netbeans-devguide.html Fri Nov 25 20:05:15 2011
@@ -0,0 +1,258 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<link href="/css/ooo.css" rel="stylesheet" type="text/css">
+
+
+<title>Developer Guide for NetBeans</title>
+
+<meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">
+
+
+</head>
+
+<body>
+  <div id="banner">
+    <div id="bannerleft"><a alt="Apache OpenOffice.org (incubating)" href="/">
+      <img id="ooo-logo alt="Apache OpenOffice.org (Incubating)" src="/images/ooo-logo.png"/></a></div>
+    <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/images/apache-incubator-logo.png"/></a></div>
+   <div id="bannercenter"><br/>(incubating)&nbsp;|&nbsp;The Free and Open Productivity Suite</div>
+  </div>
+  <div id="clear"></div>
+  
+  <div id="content">
+  
+    
+    
+<a name="top"></a>     
+
+<h1>Developer Guide for NetBeans</h1>
+         
+This document describes how to set up NetBeans for Office Scripting
+in Java and how to write a simple script using NetBeans. You can download
+the NetBeans IDE from the <a href="http://www.netbeans.org/ide/download.html">
+NetBeans download page</a>.
+
+<h2>Contents:</h2>
+
+<ul>
+<li><p><a href="#prerequisites">Pre-requisites</a>
+<li><p><a href="#recipe-create">Creating a Parcel Recipe</a>
+<li><p><a href="#recipe-actions">Actions available for Parcel Recipes</a>
+<li><p><a href="#parcel-actions">Actions available for Script Parcels</a>
+<li><p><a href="#document-actions">Actions available for Office Documents</a>
+<li><p><a href="#debugging">Debugging Office scripts in NetBeans</a>
+<li><p><a href="#troubleshooting">Troubleshooting</a>
+</ul>
+
+<h2>Pre-requisites</h2>
+
+<ul>
+<!-- <li>You need to install the Office API support module for NetBeans which
+can be obtained from
+<a href="http://api.openoffice.org/common/man/IDEintegration/OfficeNetBeansIntegration.html">here</a>.
+This module must be installed in NetBeans if you wish to use the
+Office API in your scripts.
+-->
+
+<li>The Office Scripting module works with NetBeans 3.4
+
+<li>You should have installed the Office Scripting module during the
+installation process for the Scripting Framework. If you have not installed
+it, see the <a href="install-guide.html">Installation Guide</a> for
+instructions on how to install.
+
+<li>On Linux, you will need to ensure that your DISPLAY environment
+variable is set to &lt;your hostname&gt;:0 in the shell from which you
+start NetBeans to work around a problem with Java GUIs in
+Office.
+
+<li>Create a directory somewhere on your machine in which you will develop
+your scripts.
+</ul>
+
+Now start NetBeans and mount the directory you created using the
+File/Mount Filesystem menu option. You also need to mount all of the jar
+files in the &lt;Office installation&gt;/program/classes directory in
+order to access the Office API from your scripts.
+<p>
+<a href="#top">Top</a>
+
+<p>
+<a name="recipe-create"></a>
+<h2>Creating a Parcel Recipe</h2>
+
+Office scripts are delivered in Script Parcels. Like Office documents they
+are zip files. Script Parcels have the .sxp extension. Script Parcels are
+generated from Parcel Recipes where all of the files that are necessary
+to create the parcel are put together. To create a new Parcel Recipe:
+
+<ul>
+<li>Right click on your mounted filesystem
+<li>Select New/Office Scripting/Parcel Recipe
+<li>In the New Wizard window that appears you can enter a name for your
+Parcel Recipe or you can leave it as default
+<li>Click the Finish button to create your Parcel Recipe
+</ul>
+                         
+This will create a new directory with the name you chose. In this directory
+you will find a Contents directory where all of your java source files will
+be placed. An empty stub file Empty.java will have been placed in the
+Contents directory and can be used as a starting point for your script.
+<p>
+<a href="#top">Top</a>
+
+<p>
+<a name="recipe-actions"></a>
+<h2>Actions available for Parcel Recipe</h2>
+
+If the user right clicks on the parcel directory they should be
+able to use the following actions:
+
+<ul>
+<li><b>Compile:</b> Compiles all of the .java files in the Parcel Recipe
+
+<li><b>Build:</b> Compiles all of the .java files in the Parcel Recipe.
+It then introspects on the generated class files and pops up a dialog
+which allows you to select which methods you wish to export as scripts.
+Once you have selected the methods to export, it creates a
+&lt;Parcel Recipe Name&gt;.sxp Script Parcel file in the Parcel
+Recipe directory. You can configure what files are put into the
+Script Parcel using the File Filter property.
+
+<li><b>Configure:</b> This pops up the Configure dialog, which allows you
+to select which methods get exported as scripts. Any changes you make in
+this dialog will <b>only</b> appear in your Script Parcel after you run
+Build again.
+</ul>
+<p>
+<a href="#top">Top</a>
+
+<p>
+<a name="parcel-actions"></a>
+<h2>Actions available for Script Parcels</h2>
+
+Script Parcels supports only one action:
+
+<ul>
+<li><b>Deploy:</b> This will deploy the Script Parcel to an Office Document
+or to an Office installation. If the Script Parcel already exists
+in the target, you will be asked whether you want to overwrite.
+</ul>
+
+<p>
+<b>Note:</b> If you deploy a Script Parcel to an OpenOffice.org
+installation you need to use the Tools/Refresh User Scripts (Java) menu
+item for the new script to appear in the Assign Script dialog.
+
+<p>
+<b>Note:</b> You can also deploy to Office documents within NetBeans
+using drag and drop or cut and paste.
+<p>
+<a href="#top">Top</a>
+
+<p>
+<a name="document-actions"></a>
+<h2>Actions available for Office Documents</h2>
+
+Office Documents are also recognised by NetBeans. Any parcels contained
+in the document will be displayed as nodes of the Office document. Deleting
+one of these nodes will remove the Script Parcel from the document.
+
+Office documents support the standard Delete, Cut and Copy actions and
+the following custom actions:
+
+<ul>
+<li><b>Open:</b> This will open the document in Office using the path
+in the Office Settings property to find the Office installation.
+
+<p>
+If the path to Office is not valid, an error dialog will be popped
+up informing the user that they need to set their Path to Office
+Installation property. This setting can be changed by bringing
+up the Tools/Options dialog and changing
+IDE Configuration/Server and External Tool Settings/Office Settings
+</ul>
+<p>
+<a href="#top">Top</a>
+
+<p>
+<a name="debugging"></a>
+<h2>Debugging Office scripts in NetBeans</h2>
+
+<ul>
+<li>Follow the instructions at
+<a href="http://api.openoffice.org/common/man/IDEintegration/OfficeNetBeansIntegration.html#Debugging">
+Debugging Java components in NetBeans/Forte for Java</a>
+to set up your Office installation to allow debugging of the JVM.
+
+<li>Start OpenOffice and run one of your Java scripts. This will
+make sure the JVM is running.
+
+<li>Attach to Office JVM using the NetBeans Debug/Start Session/Attach...
+menu option.
+
+<li>Load a script source in NetBeans and set up breakpoints using
+Debug/New Breakpoint... menu option.
+
+<li>Run the script in Office.
+</ul>
+<p>
+<a href="#top">Top</a>
+
+<p>
+<a name="troubleshooting"></a>
+<h2>Troubleshooting</h2>
+
+<ul>
+<li><p>If you encounter problems when developing or deploying scripts in
+NetBeans, one thing you can try is to move your NetBeans settings directory
+(.netbeans on UNIX, netbeans in Windows - can be found in your home
+directory) to another name and restart NetBeans.
+
+<li><p>The Choose Methods to Export as Scripts dialog <b>only</b> displays
+methods which are defined within class files, it will not display
+methods in class files which are within jar files in the Parcel Recipe.
+
+<li><p>If you include package directives in the java source files of your
+Parcel Recipe, the class files generated when compiling will not get placed
+in subdirectories reflecting your package directive. This is because the
+default NetBeans compiler implementation does not use the -d switch to the
+Java compiler. As a result methods in these classes will not appear in the
+Choose Methods to Export as Scripts dialog.
+</ul>
+
+<p>
+<a href="#top">Top</a>
+
+<hr>
+Last Modified: Fri Nov 29 14:19:53 GMT 2002
+
+
+
+  </div>
+
+  <div id="footera">
+    <div id="poweredbya">
+      <p><img src="/images/feather-small.gif"/><br/>Powered by the Apache CMS.</p>
+    </div>
+    <div id="copyrighta">
+      <p>
+	Apache "OpenOffice.org" is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
+	Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and
+	decision making process	have stabilized in a manner consistent with other successful ASF projects. While incubation status is
+	not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has
+	yet to be fully endorsed by the ASF.</p>
+      <p>
+	<a href="/contact.html">Contact Us</a> |
+	<a href="/terms.html">Terms of Use</a>
+	<br />Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+	<br />OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
+	<br />Other names appearing on the site may be trademarks of their respective owners.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>

Added: websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/user-guide.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/user-guide.html (added)
+++ websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/user-guide.html Fri Nov 25 20:05:15 2011
@@ -0,0 +1,179 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<link href="/css/ooo.css" rel="stylesheet" type="text/css">
+
+
+<title>General User Guide</title>
+
+<meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">
+
+
+</head>
+
+<body>
+  <div id="banner">
+    <div id="bannerleft"><a alt="Apache OpenOffice.org (incubating)" href="/">
+      <img id="ooo-logo alt="Apache OpenOffice.org (Incubating)" src="/images/ooo-logo.png"/></a></div>
+    <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/images/apache-incubator-logo.png"/></a></div>
+   <div id="bannercenter"><br/>(incubating)&nbsp;|&nbsp;The Free and Open Productivity Suite</div>
+  </div>
+  <div id="clear"></div>
+  
+  <div id="content">
+  
+    
+    
+<a name="top"></a>     
+
+<h1>User Guide for the Early Developer Release (Version 0.1)</h1>
+
+This is a simple user guide for the Early Developer Release of the
+Office Scripting Framework
+          
+<h2>Contents</h2>
+
+<ul>
+<li><p><a href="#prerequisites">Pre-requisites</a>
+<li><p><a href="#usingsf">Running the example Office Scripts</a>
+<li><p><a href="#troubleshooting">Troubleshooting</a>
+</ul>
+
+<a href="#top">Top</a>
+<a name="prerequisites"></a>
+
+<h2>Pre-requisites</h2>
+
+Before you install the Scripting Framework, be aware of the following:
+
+<ul>
+<li>This is an Early Developer Release of the Office Scripting Framework
+provided for users and developers of OpenOffice.org to try out and provide
+feedback. Future releases of the Framework may change.
+<li>This release of the Scripting Framework runs only on OpenOffice.org 643C.  
+<li>The Scripting Framework is currently available in English only.
+</ul>
+         
+<a href="#top">Top</a>
+<a name="usingsf"></a>
+
+<h2>Running the example Office Scripts</h2>
+
+There are two examples scripts supplied with the Scripting Framework,
+namely Highlight, and MemoryUsage.
+
+Highlight is an application level script for Writer that allows the
+user to search for a word or phrase. It will highlight all instances
+in red and give a count of the number of instances. 
+     
+<p>
+The second example, MemoryUsage, is a script stored in a Calc
+spreadsheet that checks the current memory usage in the Java Virtual
+Machine and updates cells in the spreadsheet with the usage values.
+The spreadsheet also contains a graph which will update when the cell
+values are changed.
+       
+<p>
+The examples are placed in &lt;Office Installation&gt;/user/Scripts/java 
+by the installer.
+
+<p>
+<b>Running the Highlight example</b>
+
+<p>
+To run this example you first need to create a menu item from which you
+can execute the script.
+
+<ul>
+<li>Start OpenOffice.org and open an existing Writer document or create
+a new one.
+
+<li>Select the menu item Tools/Assign Scripts (Java) To/Menu...
+
+<li>In the &quot;Assign Scripts (Java) To Menu&quot; dialog that pops up
+do the following:
+
+<ul>
+<li><i>Select script function</i>
+  <ul><li>Select the script function HighlightText.showForm from the list.
+  </ul>
+
+<li><i>Choose the menu to insert the script menu after</i>
+  <ul><li>Select the top level menu and submenu under which you want
+          to place your new menu item.
+  </ul>
+
+<li><i>Assign script to new menu</i>
+  <ul><li>In the New Menu text field enter the label you want for your
+          menu item (eg. Highlight)
+      <li>Click New Script Menu to create the new script menu item.
+  </ul>
+</ul>
+
+<li>Finally click on the OK button to save your new script menu item.
+
+<li>Restart OpenOffice.org and open a Writer document 
+  <ul><li><b>Note:</b> Menu items are not updated on the fly, hence the
+          need to restart, this will be addressed in a future release. 
+  </ul>
+
+<li>Your new menu item will now be available and clicking on it will
+invoke the Java script.
+
+<li>You should see a Highlight Text dialog appear which you can use
+to highlight various text strings you are looking for in the document.
+</ul>
+
+<p>
+<b>Running the MemoryUsage example</b>
+
+<p>
+The MemoryUsage example is already deployed inside an Office document,
+<nop>ExampleSpreadSheet.sxc. To run the example, just open:
+
+<p>
+&lt;Office Installation&gt;/user/Scripts/java/ExampleSpreadSheet.sxc.
+
+<p>
+You can then execute the MemoryUsage script by pressing <b>CTRL+Shift+M</b>
+with the <nop>ExampleSpreadSheet.sxc window focused. You should
+see the memory usage values being updated, and the graph should change to
+reflect the new values.
+<p>
+
+<a href="#top">Top</a>
+<h2>Troubleshooting</h2>
+
+See the <a href="issues-list.html">Known Issues</a> page.
+
+<hr>
+Last Modified: Fri Nov 29 14:19:53 GMT 2002
+
+
+
+  </div>
+
+  <div id="footera">
+    <div id="poweredbya">
+      <p><img src="/images/feather-small.gif"/><br/>Powered by the Apache CMS.</p>
+    </div>
+    <div id="copyrighta">
+      <p>
+	Apache "OpenOffice.org" is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
+	Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and
+	decision making process	have stabilized in a manner consistent with other successful ASF projects. While incubation status is
+	not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has
+	yet to be fully endorsed by the ASF.</p>
+      <p>
+	<a href="/contact.html">Contact Us</a> |
+	<a href="/terms.html">Terms of Use</a>
+	<br />Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+	<br />OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
+	<br />Other names appearing on the site may be trademarks of their respective owners.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>

Added: websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/whats-next.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/whats-next.html (added)
+++ websites/staging/ooo-site/trunk/content/framework/scripting/release-0.1/whats-next.html Fri Nov 25 20:05:15 2011
@@ -0,0 +1,52 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<link href="/css/ooo.css" rel="stylesheet" type="text/css">
+
+
+<title>What's Next</title>
+
+<meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">
+
+
+</head>
+
+<body>
+  <div id="banner">
+    <div id="bannerleft"><a alt="Apache OpenOffice.org (incubating)" href="/">
+      <img id="ooo-logo alt="Apache OpenOffice.org (Incubating)" src="/images/ooo-logo.png"/></a></div>
+    <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/images/apache-incubator-logo.png"/></a></div>
+   <div id="bannercenter"><br/>(incubating)&nbsp;|&nbsp;The Free and Open Productivity Suite</div>
+  </div>
+  <div id="clear"></div>
+  
+  <div id="content">
+  
+    
+    
+  </div>
+
+  <div id="footera">
+    <div id="poweredbya">
+      <p><img src="/images/feather-small.gif"/><br/>Powered by the Apache CMS.</p>
+    </div>
+    <div id="copyrighta">
+      <p>
+	Apache "OpenOffice.org" is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
+	Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and
+	decision making process	have stabilized in a manner consistent with other successful ASF projects. While incubation status is
+	not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has
+	yet to be fully endorsed by the ASF.</p>
+      <p>
+	<a href="/contact.html">Contact Us</a> |
+	<a href="/terms.html">Terms of Use</a>
+	<br />Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+	<br />OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
+	<br />Other names appearing on the site may be trademarks of their respective owners.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>

Added: websites/staging/ooo-site/trunk/content/framework/scripting/release-0.2/SFrameworkInstall.jar
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/ooo-site/trunk/content/framework/scripting/release-0.2/SFrameworkInstall.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: websites/staging/ooo-site/trunk/content/framework/scripting/release-0.2/SmokeTest.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/framework/scripting/release-0.2/SmokeTest.html (added)
+++ websites/staging/ooo-site/trunk/content/framework/scripting/release-0.2/SmokeTest.html Fri Nov 25 20:05:15 2011
@@ -0,0 +1,96 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<link href="/css/ooo.css" rel="stylesheet" type="text/css">
+
+
+            
+  <meta http-equiv="Content-Type"
+ content="text/html; charset=iso-8859-1">
+            
+  <meta http-equiv="CONTENT-TYPE"
+ content="text/html; charset=iso-8859-1">
+            
+  <meta name="GENERATOR"
+ content="Mozilla/4.79C-CCK-MCD  [en] (X11; U; SunOS 5.8 sun4u) [Netscape]">
+            
+  <meta name="AUTHOR" content="Robert.Kinsella@Sun.COM">
+            
+  <meta name="CREATED" content="20010103;10350500">
+            
+  <meta name="CHANGED" content="20021008;17390600">
+  <title>Smoke Test</title>
+                   
+  <style>
+	<!--
+		TD P { color: #000000 }
+		H1 { color: #3333dd }
+		P { color: #000000 }
+		H2 { color: #3333dd }
+		A:link { color: #ff0000 }
+		A:visited { color: #551a8b }
+	-->
+	</style> 
+      
+  <style>
+	<!--
+		H1 { color: #3333dd }
+		P { color: #000000 }
+		H2 { color: #3333dd }
+		A:link { color: #ff0000 }
+		A:visited { color: #551a8b }
+	-->
+	</style>
+      
+  <style>
+	<!--
+		H1 { color: #3333dd }
+		P { color: #000000 }
+		H2 { color: #3333dd }
+		A:link { color: #ff0000 }
+		A:visited { color: #551a8b }
+	-->
+	</style>
+
+
+</head>
+
+<body>
+  <div id="banner">
+    <div id="bannerleft"><a alt="Apache OpenOffice.org (incubating)" href="/">
+      <img id="ooo-logo alt="Apache OpenOffice.org (Incubating)" src="/images/ooo-logo.png"/></a></div>
+    <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/images/apache-incubator-logo.png"/></a></div>
+   <div id="bannercenter"><br/>(incubating)&nbsp;|&nbsp;The Free and Open Productivity Suite</div>
+  </div>
+  <div id="clear"></div>
+  
+  <div id="content">
+  
+    
+    
+  </div>
+
+  <div id="footera">
+    <div id="poweredbya">
+      <p><img src="/images/feather-small.gif"/><br/>Powered by the Apache CMS.</p>
+    </div>
+    <div id="copyrighta">
+      <p>
+	Apache "OpenOffice.org" is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
+	Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and
+	decision making process	have stabilized in a manner consistent with other successful ASF projects. While incubation status is
+	not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has
+	yet to be fully endorsed by the ASF.</p>
+      <p>
+	<a href="/contact.html">Contact Us</a> |
+	<a href="/terms.html">Terms of Use</a>
+	<br />Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+	<br />OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
+	<br />Other names appearing on the site may be trademarks of their respective owners.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>

Added: websites/staging/ooo-site/trunk/content/framework/scripting/release-0.2/assign-event.gif
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/ooo-site/trunk/content/framework/scripting/release-0.2/assign-event.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: websites/staging/ooo-site/trunk/content/framework/scripting/release-0.2/assign-menu.gif
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/ooo-site/trunk/content/framework/scripting/release-0.2/assign-menu.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: websites/staging/ooo-site/trunk/content/framework/scripting/release-0.2/build-guide.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/framework/scripting/release-0.2/build-guide.html (added)
+++ websites/staging/ooo-site/trunk/content/framework/scripting/release-0.2/build-guide.html Fri Nov 25 20:05:15 2011
@@ -0,0 +1,49 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<link href="/css/ooo.css" rel="stylesheet" type="text/css">
+
+<title></title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+
+</head>
+
+<body>
+  <div id="banner">
+    <div id="bannerleft"><a alt="Apache OpenOffice.org (incubating)" href="/">
+      <img id="ooo-logo alt="Apache OpenOffice.org (Incubating)" src="/images/ooo-logo.png"/></a></div>
+    <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/images/apache-incubator-logo.png"/></a></div>
+   <div id="bannercenter"><br/>(incubating)&nbsp;|&nbsp;The Free and Open Productivity Suite</div>
+  </div>
+  <div id="clear"></div>
+  
+  <div id="content">
+  
+    
+    
+  </div>
+
+  <div id="footera">
+    <div id="poweredbya">
+      <p><img src="/images/feather-small.gif"/><br/>Powered by the Apache CMS.</p>
+    </div>
+    <div id="copyrighta">
+      <p>
+	Apache "OpenOffice.org" is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
+	Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and
+	decision making process	have stabilized in a manner consistent with other successful ASF projects. While incubation status is
+	not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has
+	yet to be fully endorsed by the ASF.</p>
+      <p>
+	<a href="/contact.html">Contact Us</a> |
+	<a href="/terms.html">Terms of Use</a>
+	<br />Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+	<br />OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
+	<br />Other names appearing on the site may be trademarks of their respective owners.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>



Mime
View raw message