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 [16/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/scriptingf1/user-guide.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/framework/scripting/scriptingf1/user-guide.html (added)
+++ websites/staging/ooo-site/trunk/content/framework/scripting/scriptingf1/user-guide.html Fri Nov 25 20:05:15 2011
@@ -0,0 +1,522 @@
+<!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">
+  <title></title>
+  <meta name="GENERATOR" content="StarOffice 6.1 Beta 1 (Linux)">
+  <meta name="CREATED" content="20030313;16153200">
+  <meta name="CHANGED" content="20030313;16505100">
+
+
+</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><a name="top"></a>User Guide for the OpenOffice.org Scripting
+Framework</h1>
+<h2>Contents</h2>
+<ul>
+  <li>
+    <p style="margin-bottom: 0in;"><a href="#prerequisites">Pre-requisites</a></p>
+  </li>
+  <li>
+    <p style="margin-bottom: 0in;"><a href="#switchon">Configuring
+display of OpenOffice.org Scripts</a></p>
+  </li>
+  <li>
+    <p style="margin-bottom: 0in;"><a href="#bindscripts">Assiging
+OpenOffice.org Scripts</a> </p>
+  </li>
+  <li>
+    <p style="margin-bottom: 0in;"><a href="#usingsf">Running the
+example OpenOffice.org Scripts</a></p>
+  </li>
+  <li>
+    <p style="margin-bottom: 0in;"><a
+ href="#Leveraging_StarBasic_Security">OpenOffice.org Security</a></p>
+  </li>
+</ul>
+<h2><a name="prerequisites"></a>Pre-requisites</h2>
+<p>Before you install the Scripting Framework, be aware of the
+following: </p>
+<ul>
+  <li>
+    <p style="margin-bottom: 0in;">This is an Early Developer Release
+of the OpenOffice.org Scripting Framework provided for users and
+developers of
+OpenOffice.org to try out and provide feedback. Future releases of the
+Framework may change. </p>
+  </li>
+  <li>
+    <p>The Scripting Framework is currently available in English only. </p>
+  </li>
+</ul>
+<h2><a name="switchon"></a>Configuring display
+of OpenOffice.org scripts</h2>
+<p>As the Scripting Framework project is still in development, display
+of OpenOffice.org scripts is switched off by default in your OpenOffice.org
+installation. To enable the Scripting Framework download one of the following UNO packages:<br>
+</p>
+<ul>
+  <li><a href="../EnableSF.zip">EnableSF.zip</a> simply enables the display of 
+Scripting Framework scripts 
+in parallel with the existing method for listing Basic macros. Note that the 
+Basic macros will also be listed under the Scripting Framework scripts.</li>
+  <li><a href="../EnableSF2.zip">EnableSF2.zip</a> simply enables the display of Scripting Framework scripts 
+instead of the existing method for listing Basic macros.</li>
+</ul>
+The UNO package is then installed using the pkgchk executable found in the OpenOffice.org program directory.<br>
+<font face="Courier, monospace" size="2">pkgchk EnableSF.zip</font>
+<h2><a name="bindscripts"></a>Assigning OpenOffice.org Scripts</h2>
+<p>The execution of OpenOffice.org scripts can be assigned to menu and
+key items
+and also to application, document, object and dialog events.<br>
+</p>
+<p>To assign a script to a new menu item:<br>
+</p>
+<ol>
+  <li>Select the Tools/Configure menu item, and go to the Menu tab.</li>
+  <li>In the Category section of the Menu tab, scroll to the bottom of
+the list and expand the item OpenOffice.org Scripts</li>
+  <li>You should see entries for share (scripts in the share directory
+of your OpenOffice.org installation), user (scripts in the user
+directory of your OpenOffice.org installation), and the current
+document. Expand one of these entries to see the languages for which
+scripts are available</li>
+  <li>Under the language entries you will see entries for script that
+are available. Select one of these entries.</li>
+  <li>A list of the script functions available for assignment will
+appear in the Function list. Select one of the functions.</li>
+  <li>Now click the New button to create a new menu assignment. The new
+menu item will appear in the Menu Entries section of the tab. You can
+rename the new menu item by clicking on it.</li>
+</ol>
+To assign a script to a key combination:<br>
+<ol>
+  <li>Select the Tools/Configure menu item, and go to the Keyboard tab.</li>
+  <li>To select an OpenOffice.org script to assign, follow steps
+2 to 5 for creating menu&nbsp; items. <br>
+  </li>
+  <li>Now select a key combination from the Shortcut Keys section and
+click the Modify button to create a new menu assignment.</li>
+</ol>
+To assign a script to an event:<br>
+<ol>
+  <li>Select the Tools/Configure menu item, and go to the Events tab.</li>
+  <li>To select an OpenOffice.org script, follow steps 2 to 5 for
+creating menu items.<br>
+  </li>
+  <li>Now select an event from the list and click the Assign button to
+assign the selected script to the selected event.</li>
+</ol>
+To assign a script to an event for an embedded Object (eg. a chart):<br>
+<span style="text-decoration: underline;"></span>
+<ol>
+  <li>Select the embedded Object in your document and then select the
+Format/Object... menu item.</li>
+  <li>In the Object dialog that appears select the Macro tab.</li>
+  <li>You should be able to select an OpenOffice.org script and assign
+it to an Object event as in the assign script to event steps above.</li>
+</ol>
+To assign a script to a Hyperlink:<br>
+<ol>
+  <li>Select the Insert/Hyperlink menu item.</li>
+  <li>In the Hyperlink dialog clicking on the Events button will allow
+you to assign an OpenOffice.org script to a hyperlink event.</li>
+</ol>
+To assign a script to a Graphic:<br>
+<ol>
+  <li>Select the Format/Graphics... menu item.</li>
+  <li>In the Graphics dialog you can assign an OpenOffice.org script to
+an event in the Macro tab.</li>
+</ol>
+To assign a script to a Form control:<br>
+<ol>
+  <li>Insert a Form control (eg. a button) into your document by
+clicking on the form functions button on the left hand toolbar,
+selecting a control and then selecting an area in your document to
+create the control.</li>
+  <li>Select the control and then select the Format/Control... menu
+item to bring up a Properties dialog for the control.</li>
+  <li>Select the Events tab of the Properties dialog and click on one
+of the buttons labelled "..." beside the event to which you want to
+assign an OpenOffice.org script.</li>
+  <li>An Assign Macro dialog will pop up in which you can select an
+OpenOffice.org script and assign it to the selected event.<br>
+  </li>
+</ol>
+To assign a script to a control in an OpenOffice.org Basic dialog:<br>
+<ol>
+  <li>Open the OpenOffice.org Basic dialog editor and create a dialog
+with a control on it (eg. a button)</li>
+  <li>Right click on the control and select Properties... on the popup
+menu. <br>
+  </li>
+  <li>Select the Events tab of the Properties dialog and click on one
+of the buttons labelled "..." beside the event to which you want to
+assign an OpenOffice.org script.</li>
+  <li>An Assign Macro dialog will pop up in which you can select an
+OpenOffice.org script and assign it to the selected event.<br>
+  </li>
+</ol>
+<h2><a name="usingsf"></a>Running the example OpenOffice.org Scripts</h2>
+<p>There are three example scripts supplied with the Scripting
+Framework, Highlight, MemoryUsage, and ExportSheetsToHTML.<br>
+</p>
+<p>Highlight is a BeanShell 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>
+<p>The second example, MemoryUsage, is a Java 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>
+<p>The ExportSheetsToHTML example is a JavaScript application level
+script for Calc which will save each individual sheet in a Calc
+spreadsheet as a separate html file.</p>
+<p><b>Running the Highlight example</b></p>
+<p>To run this example you first need to create a menu item from which
+you can execute the script. </p>
+<ul>
+  <li>
+    <p style="margin-bottom: 0in;">Start OpenOffice.org and open an
+existing Writer document or create a new one. </p>
+  </li>
+  <li>
+    <p style="margin-bottom: 0in;">Follow the steps for creating a menu
+item in the Assigning OpenOffice.org Scripts section. The Highlight
+example is available at OpenOffice.org Scripts/share/BeanShell/Highlight<br>
+    </p>
+  </li>
+  <li>
+    <p style="margin-bottom: 0in;">Your new menu item will now be
+available and clicking on it will invoke the script. </p>
+  </li>
+  <li>
+    <p>You should see a Highlight Text dialog appear which you can use
+to highlight various text strings you are looking for in the document. </p>
+  </li>
+</ul>
+<p><b>Running the MemoryUsage example</b></p>
+<p>The Java version of the MemoryUsage example is already deployed
+inside an OpenOffice.org document, ExampleSpreadSheet.sxc. To run the
+Java
+example, just open: </p>
+<p>&lt;OpenOffice.org
+Installation&gt;/user/Scripts/java/ExampleSpreadSheet.sxc. </p>
+<p>You can then execute the MemoryUsage script by pressing <b>CTRL+Shift+M</b>
+with the ExampleSpreadSheet.sxc window focused. You should see the
+memory usage values being updated, and the graph should change to
+reflect the new values. You can also find the MemoryUsage example under
+OpenOffice.org Scripts/share/Java/MemoryUsage in the Tools/Configure
+dialog.<br>
+</p>
+<p><span style="font-weight: bold;">Running the ExportSheetsToHTML
+example</span><br>
+</p>
+<p>To run this example you first need to create or open an existing
+spreadsheet document. If you have created a new document save it (eg.
+c:\temp\mycalcdoc.sxc)<br>
+</p>
+<p>Follow the instructions in the Assigning OpenOffice.org Scripts
+section to create a key assignment for the script. You can find the
+ExportSheetsToHTML example at
+OpenOffice.org Scripts/share/JavaScript/ExportSheetsToHTML.</p>
+<ul>
+</ul>
+This will have created a key binding to the ExportSheetsToHTML script.
+Pressing your key binding will now save each sheet in HTML format in
+the
+same
+directory as the original document (eg. c:\temp\mycalcdoc_sheet1.html,
+c:\temp\mycalcdoc_sheet2.html, ...)<br>
+<p><a href="#top">Top</a> </p>
+<h2><a name="Leveraging_StarBasic_Security"></a>OpenOffice.org Security</h2>
+<p style="margin-bottom: 0in;">The Scripting Framework currently uses
+the same
+Security
+settings as OpenOffice.org Basic.&nbsp; The settings allow the user to
+control
+the
+execution of macros present in OpenOffice.org documents. Found in&nbsp;
+the&nbsp; Tools-&gt;Options dialog under&nbsp;
+OpenOffice.org-&gt;Security, these&nbsp; settings allow the user&nbsp;
+to specify the conditions under which it is permissable to execute
+document based OpenOffice.org Basic macros and OpenOffice.org scripts.</p>
+<p style="margin-bottom: 0in;">A full description of how these settings
+work can be found by clicking
+the "Help" button in the dialog, and then clicking "OpenOffice.org",
+and
+"Security" in the left-hand pane of the Help dialog. The possible
+scenarios associated with the security settings are summarised in the
+table below.<br>
+<br>
+</p>
+<table border="2" cellpadding="2" cellspacing="2">
+  <tbody>
+    <tr>
+      <th>
+      <p>"Run Macro"</p>
+      </th>
+      <th>
+      <p>"Confirm in the case of other document sources"</p>
+      </th>
+      <th>
+      <p>"Show Warning before Running"</p>
+      </th>
+      <th>
+      <p>Document path in "Path List"</p>
+      </th>
+      <th>
+      <p>Behaviour</p>
+      </th>
+    </tr>
+    <tr>
+      <td>
+      <p>Never</p>
+      </td>
+      <td>
+      <p>N/A</p>
+      </td>
+      <td>
+      <p>N/A</p>
+      </td>
+      <td>
+      <p>N/A</p>
+      </td>
+      <td>
+      <p>Macros/Scripts never run. No warning displayed. </p>
+      </td>
+    </tr>
+    <tr>
+      <td>
+      <p>According to path list</p>
+      </td>
+      <td>
+      <p>No</p>
+      </td>
+      <td>
+      <p>No</p>
+      </td>
+      <td>
+      <p>No</p>
+      </td>
+      <td>
+      <p>Macros/Scripts never run. No warning displayed. </p>
+      </td>
+    </tr>
+    <tr>
+      <td>
+      <p>According to path list</p>
+      </td>
+      <td>
+      <p>No</p>
+      </td>
+      <td>
+      <p>No</p>
+      </td>
+      <td>
+      <p>Yes</p>
+      </td>
+      <td>
+      <p>Macros/Scripts run. No warning displayed. </p>
+      </td>
+    </tr>
+    <tr>
+      <td>
+      <p>According to path list</p>
+      </td>
+      <td>
+      <p>No</p>
+      </td>
+      <td>
+      <p>Yes</p>
+      </td>
+      <td>
+      <p>No</p>
+      </td>
+      <td>
+      <p>Macros/Scripts never run. No warning displayed. </p>
+      </td>
+    </tr>
+    <tr>
+      <td>
+      <p>According to path list</p>
+      </td>
+      <td>
+      <p>No</p>
+      </td>
+      <td>
+      <p>Yes</p>
+      </td>
+      <td>
+      <p>Yes</p>
+      </td>
+      <td>
+      <p>Warning displayed on document load. If "Run" button clicked
+macros will run, otherwise they will not.</p>
+      </td>
+    </tr>
+    <tr>
+      <td>
+      <p>According to path list</p>
+      </td>
+      <td>
+      <p>Yes</p>
+      </td>
+      <td>
+      <p>No</p>
+      </td>
+      <td>
+      <p>No</p>
+      </td>
+      <td>
+      <p>Warning with checkbox to add path to path list is displayed on
+document load. If "Run" button clicked macros/scripts will run,
+otherwise
+they will not. Regardless of which button is clicked, if checkbox is
+ticked document path is added to "Path List".</p>
+      </td>
+    </tr>
+    <tr>
+      <td>
+      <p>According to path list</p>
+      </td>
+      <td>
+      <p>Yes</p>
+      </td>
+      <td>
+      <p>No</p>
+      </td>
+      <td>
+      <p>Yes</p>
+      </td>
+      <td>
+      <p>Macros/Scripts run. No warning displayed. </p>
+      </td>
+    </tr>
+    <tr>
+      <td>
+      <p>According to path list</p>
+      </td>
+      <td>
+      <p>Yes</p>
+      </td>
+      <td>
+      <p>Yes</p>
+      </td>
+      <td>
+      <p>No</p>
+      </td>
+      <td>
+      <p>Warning with checkbox to add path to path list is displayed on
+document load. If "Run" button clicked macros/scripts will run,
+otherwise
+they will not. Regardless of which button is clicked, if checkbox is
+ticked document path is added to "Path List".</p>
+      </td>
+    </tr>
+    <tr>
+      <td>
+      <p>According to path list</p>
+      </td>
+      <td>
+      <p>Yes</p>
+      </td>
+      <td>
+      <p>Yes</p>
+      </td>
+      <td>
+      <p>Yes</p>
+      </td>
+      <td>
+      <p>Warning displayed on document load. If "Run" button clicked
+macros/scripts will run, otherwise they will not.</p>
+      </td>
+    </tr>
+    <tr>
+      <td>
+      <p>Always</p>
+      </td>
+      <td>
+      <p>N/A</p>
+      </td>
+      <td>
+      <p>No</p>
+      </td>
+      <td>
+      <p>N/A</p>
+      </td>
+      <td>
+      <p>Macros/Scripts run. No warning displayed. </p>
+      </td>
+    </tr>
+    <tr>
+      <td>
+      <p>Always</p>
+      </td>
+      <td>
+      <p>N/A</p>
+      </td>
+      <td>
+      <p>Yes</p>
+      </td>
+      <td>
+      <p>N/A</p>
+      </td>
+      <td>
+      <p>Warning displayed on document load. If "Run" button clicked
+macros/scripts will run, otherwise they will not</p>
+      </td>
+    </tr>
+  </tbody>
+</table>
+<p><br>
+<a href="#top">Top</a></p>
+<hr> Last Modified: Nov 19 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/scriptingf1/whats-next.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/framework/scripting/scriptingf1/whats-next.html (added)
+++ websites/staging/ooo-site/trunk/content/framework/scripting/scriptingf1/whats-next.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/testindex.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/framework/scripting/testindex.html (added)
+++ websites/staging/ooo-site/trunk/content/framework/scripting/testindex.html Fri Nov 25 20:05:15 2011
@@ -0,0 +1,237 @@
+<!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>Project Owners:</b> <a href="mailto:john.rice@sun.com">John Rice</a>
+, <a href="mailto:noel.power@sun.com">Noel Power</a>
+
+<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>New Features</p>
+      </td>
+      <td colspan="5" style="width: 70%;">
+        The Scripting Framework is now installed with OpenOffice.org.
+        Basic macros can now be executed as previously or via the
+        Scripting Framework as well as the other languages supported.
+        Scripts are listed and can be assigned in the:
+        <ul>
+          <li>Tools/Configure dialog
+          <li>Basic dialog controls properties editor
+          <li>Form controls properties editor in documents
+          <li>Hyperlinks, Graphics and Objects property dialogs 
+        </ul>
+      </td>
+    </tr>
+    <tr valign="top">
+      <td style="width: 30%;">
+      <p>Install</p>
+      </td>
+      <td colspan="5" style="width: 70%;">
+      <p>Just install the OpenOffice.org snapshot developer build 680_m15 from <a href="http://www.openoffice.org/dev_docs/source/680/">here</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><a href="./scriptingf1/user-guide.html">General User Guide</a></p>
+      </td>
+    </tr>
+    <tr>
+      <td colspan="4" width="395" valign="top">
+      <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 width="220" colspan="4">
+      <p><a href="./scriptingf1/developer-guide.html">Writing Scripts in BeanShell, JavaScript and Java</a> </p>
+      </td>
+    </tr>
+    <tr>
+      <td width="220" colspan="4" valign="top">
+      <p><a href="./scriptingf1/netbeans-devguide.html">Developing Scripts in NetBeans</a></p>
+      </td>
+    </tr>
+    <tr>
+      <td width="220" colspan="4" valign="top">
+      <p><a href="./scriptingf1/commandline-devguide.html">Developing Scripts on the command line</a></p>
+      </td>
+    </tr>
+    <tr valign="top">
+      <td style="width: 30%;">
+      <p><a href="./scriptingf1/SFArch.html">Architecture Overview</a></p>
+      </td>
+      <td colspan="5" style="width: 70%;">
+      <p>Description of Scripting Framework architecture</p>
+      </td>
+    </tr>
+    <tr>
+      <td style="vertical-align: top;"><a href="./scriptingf1/faq.html">FAQ</a></td>
+      <td style="vertical-align: top;" colspan="5">Frequently Asked
+Questions for the OpenOffice.org Scripting Framework</td>
+    </tr>
+    <tr valign="top">
+      <td style="width: 30%;">
+      <p><a href="./scriptingf1/whats-next.html">What's Next</a></p>
+      </td>
+      <td colspan="5" style="width: 70%;">
+      <p>Planned features for the OpenOffice.org Scripting Framework</p>
+      </td>
+    </tr>
+  </tbody>
+</table>
+<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 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 cellpadding="4" cellspacing="0" style="width: 100%;">
+  <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 19 2003
+</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/utilities-download.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/framework/scripting/utilities-download.html (added)
+++ websites/staging/ooo-site/trunk/content/framework/scripting/utilities-download.html Fri Nov 25 20:05:15 2011
@@ -0,0 +1,280 @@
+<!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>Scripts contributed by the OpenOffice.org community</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>Utility Scripts contributed by the OpenOffice.org community</h1>
+This page contains downloads of utility scripts that have been
+contributed by the OpenOffice.org community. These scripts are intended
+to demonstrate how to write Java (or the dynamically-typed Beanshell)
+scripts for OpenOffice, with full access to both the OpenOffice.org API
+and the Java APIs. The scripts are for use with the Early Developer
+Release 0.3 of the Office Scripting Framework and all subsequent
+releases.
+<h2>Pre-requisites</h2>
+<ul>
+  <li>OpenOffice.org 1.1beta2 or above installed with the Scripting
+Framework Early Developer release 0.3. If you have not already done this
+then see the <a href="release-0.3/install-guide.html">installation guide</a>.</li>
+</ul>
+<h2>General Installation Procedure</h2>
+<ul>
+  <li>The scripts are made available for download as Zip files. To
+install the scripts, simply unzip them in either the
+&lt;OfficeInstallation&gt;/user or &lt;OfficeInstallation&gt;/share
+directories.</li>
+  <li>The scripts are then available to be bound to the key or menu of
+your choice using the Assign dialogs.<br>
+  </li>
+  <li>If the scripts require any additional pre-requisites,
+installation steps or subsequent modification this will be documented
+below.</li>
+  <li>If you wish to deploy these scripts into a document you will need
+to create a new parcel recipe and copy the sources from the zip files
+below. See the <a
+ href="http://framework.openoffice.org/scripting/scriptingf1/netbeans-devguide.html">Developer
+Guide for Netbeans</a> for more information.<br>
+  </li>
+</ul>
+<h2>Available Scripts</h2>
+<ul>
+  <li><a href="#Word_Count">Word Count&nbsp;</a> <br>
+  </li>
+  <li><a href="#Capitalisation">Capitalisation</a></li>
+  <li><a href="#Post_to_Newsgroups_">Post To Newsgroups</a></li>
+  <li><a href="#Issuezilla_Query_Writer">Scripting Framework Issuezilla
+Query -&gt; Writer</a></li>
+  <li><a href="#Issuezilla_Query_Calc">Scripting Framework Issuezilla
+Query -&gt; Calc</a></li>
+  <li><a href="#Insert_Copyright_Symbol">Insert Copyright Symbol</a></li>
+  <li><a href="#Insert_Trademark_Symbol">Insert Trademark Symbol</a></li>
+  <li><a href="#Insert_Hidden_Text">Insert Hidden Text</a></li>
+  <li><a href="#Export_To_HTML">Export To HTML</a><br>
+  </li>
+  <li><a href="#Combined_Utilities">Combined Utilities</a><br>
+  </li>
+</ul>
+<h2><a name="Word_Count"></a>Word Count</h2>
+<b>Author:</b> <a href="mailto:dfoster@openoffice.org">Duncan Foster</a><br>
+<b>Aim:</b> Provides a simple word count of the selected text.<br>
+<span style="font-weight: bold;">Language:</span> BeanShell<br>
+<b>Pre-requisites:</b> none<br>
+<b>Download:</b>&nbsp; <a
+ href="http://framework.openoffice.org/scripting/UtilityScripts/WordCount.zip">WordCount.zip</a>
+(2Kb)<br>
+<b>Installation:</b> no additional steps needed<br>
+<b>Description:</b> Uses the OpenOffice API to get the selected text,
+and then uses Java's StringTokenizer (using the default delimiters) to
+obtain a word count. Displays the result in a simple Swing dialog.<br>
+<b>Issues:</b> none<br>
+<br>
+<a href="#top">Top</a><br>
+<h2><a name="Capitalisation"></a>Capitalisation</h2>
+<b>Author:</b> <a href="mailto:dfoster@openoffice.org">Duncan Foster</a><br>
+<b>Aim:</b> Converts the selected text from upper case to first letter
+upper case, rest lower case, to lower case.<br>
+<span style="font-weight: bold;">Language:</span> BeanShell<br>
+<b>Pre-requisites:</b> none<br>
+<b>Download:</b>&nbsp; <a
+ href="http://framework.openoffice.org/scripting/UtilityScripts/Capitalise.zip">Capitalise.zip</a>
+(2Kb)<br>
+<b>Installation:</b> no additional steps needed<br>
+<b>Description:</b> Uses the OpenOffice API to get the selected text (or
+makes a selection of the current word if no text selected), and then
+uses Java to change the case. Rotates from "THIS" -&gt; "This" -&gt;
+"this" -&gt; "THIS". The script attempts to break up selected text into
+sentences using the Java StringTokenizer. The script also attempts to
+maintain the selection.<br>
+<b>Issues:</b> The script fails to maintain the selection if two
+separate areas of text are selected. For example, if the first and last
+words of the previous sentence were selected, only one (undefined) would
+remain selected after the script has been run.<br>
+<a href="#top">Top</a><br>
+<h2><a name="Post_to_Newsgroups_"></a>Post to Newsgroups </h2>
+<b>Author:</b> <a href="mailto:neilm@openoffice.org">Neil Montgomery</a> <br>
+<b>Aim:</b> Facilitates the posting of an OpenOffice document to a
+newsgroup.<br>
+<span style="font-weight: bold;">Language:</span> Java<br>
+<b>Pre-requisites:</b> none<br>
+<b>Download:</b> <a
+ href="http://framework.openoffice.org/scripting/UtilityScripts/Newsgroup.zip">Newsgroup.zip</a>
+(540Kb)<br>
+<b>Installation:</b> no additional steps needed<br>
+<b>Description:</b>&nbsp;  The script will detect if a local
+installation of either Netscape or Mozilla has been used to subscribe to
+any newsgroups. These newsgroups will be listed for the user in a combo
+box. If no newsgroups are detected the user must supply the name of the
+newgroup and server. The user may also supply the reply-to address,
+subject and message body (in the comment text field). The user can also
+specify the format in which to send the attached document (the currently
+active document). If the document hasn't already been saved with a
+title, then the default name for the attachment(s) will be
+"Attachment.sxw" and/or "Attachment.html".<br>
+<b>Issues:</b> none.<br>
+<a href="#top">Top</a><br>
+<h2><a name="Issuezilla_Query_Writer"></a>Scripting Framework
+Issuezilla Query -&gt; Writer</h2>
+<b>Author:</b> <a href="mailto:jmrice@openoffice.org">John Rice</a><br>
+<b>Aim:</b> Outputs the results of an Issuezilla query into the open
+Writer document.<br>
+<span style="font-weight: bold;">Language:</span> BeanShell<br>
+<b>Pre-requisites:</b> none<br>
+<b>Download:</b> <a
+ href="http://framework.openoffice.org/scripting/UtilityScripts/SFBugsQueryIssuezilla.zip">SFBugsQueryIssuezilla.zip</a>
+(2Kb)<br>
+<b>Installation:</b> The script sets a HTTP proxy on lines 43,44. The
+user will need to modify or remove these according to their local
+settings. The script also contains a certain amount of debug output
+which the user may want to remove.<br>
+<b>Description:</b>&nbsp;  The script uses Java to open a HTTP
+connection to the OpenOffice.org website, passing a URL for an
+Issuezilla query for Scripting Framework bugs. The script then writes
+summary information for each bug into the open Writer document.<br>
+<b>Issues:</b> none.<br>
+<a href="#top">Top</a><br>
+<h2><a name="Issuezilla_Query_Calc"></a>Scripting Framework Issuezilla
+Query -&gt; Calc</h2>
+<b>Author:</b> <a href="mailto:jmrice@openoffice.org">John Rice</a><br>
+<b>Aim:</b> Outputs the results of an Issuezilla query into the open
+Calc document.<br>
+<span style="font-weight: bold;">Language:</span> BeanShell<br>
+<b>Pre-requisites:</b> none<br>
+<b>Download:</b> <a
+ href="http://framework.openoffice.org/scripting/UtilityScripts/SFBugsQueryIssuezillaCalc.zip">SFBugsQueryIssuezillaCalc.zip</a>
+(2Kb)<br>
+<b>Installation:</b> The script sets a HTTP proxy on lines 25,26. The
+user will need to modify or remove these according to their local
+settings. <br>
+<b>Description:</b>&nbsp;  The script uses Java to open a HTTP
+connection to the OpenOffice.org website, passing a URL for an
+Issuezilla query for Scripting Framework bugs. The script then writes
+summary information for each bug into the open Calc document.<br>
+<b>Issues:</b> none.<br>
+<a href="#top">Top</a><br>
+<h2><a name="Insert_Copyright_Symbol"></a>Insert Copyright Symbol</h2>
+<span style="font-weight: bold;"> Author:</span> <a
+ href="mailto:dfoster@openoffice.org">Duncan Foster</a><br>
+<span style="font-weight: bold;"> Aim:</span> Inserts a copyright symbol
+(or replaces the current selection with a copyright symbol).<br>
+<span style="font-weight: bold;"> Language:</span> Beanshell<br>
+<span style="font-weight: bold;"> Pre-requisites:</span> none<br>
+<span style="font-weight: bold;"> Download:</span> <a
+ href="http://framework.openoffice.org/scripting/UtilityScripts/InsertC.zip">InsertC.zip</a>
+(4Kb)<br>
+<span style="font-weight: bold;"> Installation:</span> No additional
+steps needed.<br>
+<span style="font-weight: bold;"> Description:</span> Inserts a copyright
+symbol (or replaces the current selection with a copyright symbol).<br>
+<span style="font-weight: bold;"> Issues:</span> None.<br>
+<a href="#top">Top</a><br>
+<h2><a name="Insert_Trademark_Symbol"></a>Insert Trademark Symbol</h2>
+<span style="font-weight: bold;"> Author:</span> <a
+ href="mailto:dfoster@openoffice.org">Duncan Foster</a><br>
+<span style="font-weight: bold;"> Aim:</span> Inserts a trademark symbol
+(or replaces the current selection with a trademark symbol).<br>
+<span style="font-weight: bold;"> Language:</span> Beanshell<br>
+<span style="font-weight: bold;"> Pre-requisites:</span> none<br>
+<span style="font-weight: bold;"> Download:</span> <a
+ href="http://framework.openoffice.org/scripting/UtilityScripts/InsertTM.zip">InsertTM.zip</a>
+(4Kb)<br>
+<span style="font-weight: bold;"> Installation:</span> No additional
+steps needed.<br>
+<span style="font-weight: bold;"> Description:</span> Inserts a trademark
+symbol (or replaces the current selection with a trademark symbol).<br>
+<span style="font-weight: bold;"> Issues:</span> None.<br>
+<a href="#top">Top</a><br>
+<h2><a name="Insert_Hidden_Text"></a>Insert Hidden Text<br>
+</h2>
+<span style="font-weight: bold;"> Author:</span> <a
+ href="mailto:dfoster@openoffice.org">Duncan Foster</a><br>
+<span style="font-weight: bold;"> Aim:</span> Inserts a hidden text field<br>
+<span style="font-weight: bold;"> Language:</span> Beanshell<br>
+<span style="font-weight: bold;"> Pre-requisites:</span> none<br>
+<span style="font-weight: bold;"> Download:</span> <a
+ href="http://framework.openoffice.org/scripting/UtilityScripts/InsertHiddenText.zip">InsertHiddenText.zip</a>
+(4Kb)<br>
+<span style="font-weight: bold;"> Installation:</span> No additional
+steps needed.<br>
+<span style="font-weight: bold;"> Description:</span> Replaces the
+currently selected text with a hidden text field with the same contents.<br>
+<span style="font-weight: bold;"> Issues:</span> None.<br>
+<a href="#top">Top</a><br>
+<h2><a name="Export_To_HTML"></a>Export To HTML<br>
+</h2>
+<span style="font-weight: bold;"> Author:</span> <a
+ href="mailto:jmrice@openoffice.org">John Rice</a><br>
+<span style="font-weight: bold;"> Aim:</span> Saves a copy of the
+document in HTML format.<br>
+<span style="font-weight: bold;"> Language:</span> Beanshell<br>
+<span style="font-weight: bold;"> Pre-requisites: </span>none<br>
+<span style="font-weight: bold;"> Download:</span> <a
+ href="http://framework.openoffice.org/scripting/UtilityScripts/ExportToHTML.zip">ExportToHTML.zip</a>
+(4Kb)<br>
+<span style="font-weight: bold;"> Installation:</span> No additional
+steps needed.<br>
+<span style="font-weight: bold;"> Description:</span> Saves a copy of the
+document in the user's home directory in HTML format. Does not change
+the type of the current document (as happens with "Save As").<br>
+<span style="font-weight: bold;"> Issues:</span> None.<br>
+<a href="#top">Top</a><br>
+<h2><a name="Combined_Utilities"></a>Combined Utilities</h2>
+<span style="font-weight: bold;">Aim:</span> A zip file containing all
+of the scripts above.<br>
+<span style="font-weight: bold;">Download:</span> <a
+ href="http://framework.openoffice.org/scripting/UtilityScripts/all.zip">all.zip</a>
+(550Kb)<br>
+<br>
+<a href="#top">Top</a><br>
+<br>
+<hr> Last Modified: 
+Fri Jun 20 15:28:18 BST 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>



Mime
View raw message