[Libreoffice-commits] online.git: 4 commits - loleaflet/reference.html

Mihai Varga mihai.varga at collabora.com
Wed Nov 18 07:45:48 PST 2015


 loleaflet/reference.html |  379 ++++++++++++++++++++++++++++++-----------------
 1 file changed, 247 insertions(+), 132 deletions(-)

New commits:
commit f045fb5613985136fe31cc3d75d77966a34c0219
Author: Mihai Varga <mihai.varga at collabora.com>
Date:   Wed Nov 18 17:45:07 2015 +0200

    loleaflet: order the events description alphabetically

diff --git a/loleaflet/reference.html b/loleaflet/reference.html
index 3142c78..f8ad51f 100644
--- a/loleaflet/reference.html
+++ b/loleaflet/reference.html
@@ -1798,7 +1798,7 @@ var map = L.map('map', {
 	</tr>
 </table>
 
-<h3 id="search-event">SearchEvent</h3>
+<h3 id="cellformula-event">CellFormulaEvent</h3>
 
 <table data-id='events'>
 	<tr>
@@ -1807,39 +1807,13 @@ var map = L.map('map', {
 		<th>description</th>
 	</tr>
 	<tr>
-		<td><code><b>originalPhrase</b></code></td>
+		<td><code><b>formula</b></code></td>
 		<td><code>String</code></td>
-		<td>The phrase that has been searched for</td>
-	</tr>
-	<tr>
-		<td><code><b>count</b></code></td>
-		<td><code>Number</code></td>
-		<td>Number of search results</td>
-	</tr>
-	<tr>
-		<td><code><b>results</b></code></td>
-		<td><code><a href="#search-result">SearchResult[]</a></code></td>
-		<td>An array representing the selections of the search results in the document.</td>
-	</tr>
-</table>
-
-
-<h3 id="print-event">PrintEvent</h3>
-
-<table data-id='events'>
-	<tr>
-		<th class="width100">property</th>
-		<th>type</th>
-		<th>description</th>
-	</tr>
-	<tr>
-		<td><code><b>url</b></code></td>
-        <td><code>String</code></td>
-		<td>An url for the PDF exported document.</td>
+		<td>The formula from the selected cell.</td>
 	</tr>
 </table>
 
-<h3 id="partpagerectangles-event">PartPageRectangles</h3>
+<h3 id="commandresult-event">CommandResult</h3>
 
 <table data-id='events'>
 	<tr>
@@ -1848,29 +1822,16 @@ var map = L.map('map', {
 		<th>description</th>
 	</tr>
 	<tr>
-		<td><code><b>pixelRectangles</b></code></td>
-        <td><code><a href="#bounds">Bounds[]</a></code></td>
-		<td>An array of bounds representing each page's dimension in pixels on the current zoom level.</td>
-	</tr>
-	<tr>
-		<td><code><b>twipsRectangles</b></code></td>
-		<td><code><a href="#bounds">Bounds[]</a></code></td>
-		<td>An array of bounds representing each page's dimension in twips.</td>
-	</tr>
-</table>
-
-<h3 id="permission-event">PermissionEvent</h3>
-
-<table data-id='events'>
-	<tr>
-		<th class="width100">property</th>
-		<th>type</th>
-		<th>description</th>
+		<td><code><b>commandName</b></code></td>
+		<td><code><a href="#commandstatechanged-values">CommandStateChangedValues</a></code></td>
+		<td>UNO command.</td>
 	</tr>
 	<tr>
-		<td><code><b>perm</b></code></td>
-		<td><code><a href="#documentpermission-values">DocumentPermission</a></code></td>
-		<td>Document permission.</td>
+		<td><code><b>success</b></code></td>
+		<td><code>Boolean or undefined</code></td>
+		<td>Returns the status code of the command execution, or
+		    undefined if the result is not provided, and the command
+		    only indicates that the operation has finished.</td>
 	</tr>
 </table>
 
@@ -1894,7 +1855,7 @@ var map = L.map('map', {
 	</tr>
 </table>
 
-<h3 id="commandresult-event">CommandResult</h3>
+<h3 id="docsize-event">DocumentSizeEvent</h3>
 
 <table data-id='events'>
 	<tr>
@@ -1903,20 +1864,18 @@ var map = L.map('map', {
 		<th>description</th>
 	</tr>
 	<tr>
-		<td><code><b>commandName</b></code></td>
-		<td><code><a href="#commandstatechanged-values">CommandStateChangedValues</a></code></td>
-		<td>UNO command.</td>
+		<td><code><b>x</b></code></td>
+		<td><code>Number</code></td>
+		<td>Document width in pixels.</td>
 	</tr>
 	<tr>
-		<td><code><b>success</b></code></td>
-		<td><code>Boolean or undefined</code></td>
-		<td>Returns the status code of the command execution, or
-		    undefined if the result is not provided, and the command
-		    only indicates that the operation has finished.</td>
+		<td><code><b>y</b></code></td>
+		<td><code>Number</code></td>
+		<td>Document height in pixels.</td>
 	</tr>
 </table>
 
-<h3 id="updateparts-event">UpdatePartsEvent</h3>
+<h3 id="error-event">ErrorEvent</h3>
 
 <table data-id='events'>
 	<tr>
@@ -1925,24 +1884,19 @@ var map = L.map('map', {
 		<th>description</th>
 	</tr>
 	<tr>
-		<td><code><b>selectedPart</b></code></td>
-		<td><code>Number</code></td>
-		<td>The currently selected part.</td>
-	</tr>
-	<tr>
-		<td><code><b>parts</b></code></td>
-		<td><code>Number</code></td>
-		<td>The number of parts in the document.</td>
+		<td><code><b>msg</b></code></td>
+		<td><code>String</code></td>
+		<td>If present, the error message.</td>
 	</tr>
 	<tr>
-		<td><code><b>docType</b></code></td>
-		<td><code><a href="#documenttype-values">DocumentTypeValues</a></code></td>
-		<td>The document type.</td>
+		<td><code><b>cmd</b></code></td>
+		<td><code>String</code></td>
+		<td>If present, the server command that caused the error.</td>
 	</tr>
 	<tr>
-		<td><code><b>partNames</b></code></td>
-		<td><code>String[]</code></td>
-		<td>If present, an array containing slides' / spreadsheets' names.</td>
+		<td><code><b>kind</b></code></td>
+		<td><code>String</code></td>
+		<td>If present, the kind of error associated with the command.</td>
 	</tr>
 </table>
 
@@ -1962,7 +1916,7 @@ var map = L.map('map', {
 	</tr>
 </table>
 
-<h3 id="tilepreview-event">TilePreviewEvent</h3>
+<h3 id="pagenumberchanged-event">PageNumberChangedEvent</h3>
 
 <table data-id='events'>
 	<tr>
@@ -1971,38 +1925,23 @@ var map = L.map('map', {
 		<th>description</th>
 	</tr>
 	<tr>
-		<td><code><b>tile</b></code></td>
-		<td><code>Image</code></td>
-		<td>The actual preview.</td>
-	</tr>
-	<tr>
-		<td><code><b>id</b></code></td>
-		<td><code>Object</code></td>
-		<td>Preview id.</td>
-	</tr>
-	<tr>
-		<td><code><b>width</b></code></td>
+		<td><code><b>currentPage</b></code></td>
 		<td><code>Number</code></td>
-		<td>Image width.</td>
+		<td>The current page in the document.</td>
 	</tr>
 	<tr>
-		<td><code><b>height</b></code></td>
+		<td><code><b>pages</b></code></td>
 		<td><code>Number</code></td>
-		<td>Image height.</td>
+		<td>The number of pages.</td>
 	</tr>
 	<tr>
 		<td><code><b>docType</b></code></td>
 		<td><code><a href="#documenttype-values">DocumentTypeValues</a></code></td>
 		<td>The document type.</td>
 	</tr>
-	<tr>
-		<td><code><b>part</b></code></td>
-		<td><code>Number</code></td>
-		<td>If the preview is for a whole part.</td>
-	</tr>
 </table>
 
-<h3 id="statusindicator-event">StatusIndicatorEvent</h3>
+<h3 id="partpagerectangles-event">PartPageRectangles</h3>
 
 <table data-id='events'>
 	<tr>
@@ -2011,18 +1950,18 @@ var map = L.map('map', {
 		<th>description</th>
 	</tr>
 	<tr>
-		<td><code><b>statusType</b></code></td>
-		<td><code><a href="#statusindicator-values">StatusIndicatorValues</a></code></td>
-		<td>Status type.</td>
+		<td><code><b>pixelRectangles</b></code></td>
+        <td><code><a href="#bounds">Bounds[]</a></code></td>
+		<td>An array of bounds representing each page's dimension in pixels on the current zoom level.</td>
 	</tr>
 	<tr>
-		<td><code><b>value</b></code></td>
-		<td><code>Number</code></td>
-		<td>If present, a number for 0 to 100 represending the loading status.<td>
+		<td><code><b>twipsRectangles</b></code></td>
+		<td><code><a href="#bounds">Bounds[]</a></code></td>
+		<td>An array of bounds representing each page's dimension in twips.</td>
 	</tr>
 </table>
 
-<h3 id="docsize-event">DocumentSizeEvent</h3>
+<h3 id="print-event">PrintEvent</h3>
 
 <table data-id='events'>
 	<tr>
@@ -2031,18 +1970,38 @@ var map = L.map('map', {
 		<th>description</th>
 	</tr>
 	<tr>
-		<td><code><b>x</b></code></td>
-		<td><code>Number</code></td>
-		<td>Document width in pixels.</td>
+		<td><code><b>url</b></code></td>
+        <td><code>String</code></td>
+		<td>An url for the PDF exported document.</td>
 	</tr>
+</table>
+
+<h3 id="search-event">SearchEvent</h3>
+
+<table data-id='events'>
 	<tr>
-		<td><code><b>y</b></code></td>
+		<th class="width100">property</th>
+		<th>type</th>
+		<th>description</th>
+	</tr>
+	<tr>
+		<td><code><b>originalPhrase</b></code></td>
+		<td><code>String</code></td>
+		<td>The phrase that has been searched for</td>
+	</tr>
+	<tr>
+		<td><code><b>count</b></code></td>
 		<td><code>Number</code></td>
-		<td>Document height in pixels.</td>
+		<td>Number of search results</td>
+	</tr>
+	<tr>
+		<td><code><b>results</b></code></td>
+		<td><code><a href="#search-result">SearchResult[]</a></code></td>
+		<td>An array representing the selections of the search results in the document.</td>
 	</tr>
 </table>
 
-<h3 id="updatescrolloffset-event">UpdateScrollOffsetEvent</h3>
+<h3 id="scrollby-event">ScrollByEvent</h3>
 
 <table data-id='events'>
 	<tr>
@@ -2053,12 +2012,12 @@ var map = L.map('map', {
 	<tr>
 		<td><code><b>x</b></code></td>
 		<td><code>Number</code></td>
-		<td>Difference in pixels between the document's left border and view's left border.</td>
+		<td>Scroll right by x pixels, or left if negative.</td>
 	</tr>
 	<tr>
 		<td><code><b>y</b></code></td>
 		<td><code>Number</code></td>
-		<td>Difference in pixels between the document's top border and view's top border.</td>
+		<td>Scroll down by y pixels, or up if negative.</td>
 	</tr>
 </table>
 
@@ -2082,7 +2041,7 @@ var map = L.map('map', {
 	</tr>
 </table>
 
-<h3 id="scrollby-event">ScrollByEvent</h3>
+<h3 id="statusindicator-event">StatusIndicatorEvent</h3>
 
 <table data-id='events'>
 	<tr>
@@ -2091,18 +2050,18 @@ var map = L.map('map', {
 		<th>description</th>
 	</tr>
 	<tr>
-		<td><code><b>x</b></code></td>
-		<td><code>Number</code></td>
-		<td>Scroll right by x pixels, or left if negative.</td>
+		<td><code><b>statusType</b></code></td>
+		<td><code><a href="#statusindicator-values">StatusIndicatorValues</a></code></td>
+		<td>Status type.</td>
 	</tr>
 	<tr>
-		<td><code><b>y</b></code></td>
+		<td><code><b>value</b></code></td>
 		<td><code>Number</code></td>
-		<td>Scroll down by y pixels, or up if negative.</td>
+		<td>If present, a number for 0 to 100 represending the loading status.<td>
 	</tr>
 </table>
 
-<h3 id="pagenumberchanged-event">PageNumberChangedEvent</h3>
+<h3 id="tilepreview-event">TilePreviewEvent</h3>
 
 <table data-id='events'>
 	<tr>
@@ -2111,23 +2070,38 @@ var map = L.map('map', {
 		<th>description</th>
 	</tr>
 	<tr>
-		<td><code><b>currentPage</b></code></td>
+		<td><code><b>tile</b></code></td>
+		<td><code>Image</code></td>
+		<td>The actual preview.</td>
+	</tr>
+	<tr>
+		<td><code><b>id</b></code></td>
+		<td><code>Object</code></td>
+		<td>Preview id.</td>
+	</tr>
+	<tr>
+		<td><code><b>width</b></code></td>
 		<td><code>Number</code></td>
-		<td>The current page in the document.</td>
+		<td>Image width.</td>
 	</tr>
 	<tr>
-		<td><code><b>pages</b></code></td>
+		<td><code><b>height</b></code></td>
 		<td><code>Number</code></td>
-		<td>The number of pages.</td>
+		<td>Image height.</td>
 	</tr>
 	<tr>
 		<td><code><b>docType</b></code></td>
 		<td><code><a href="#documenttype-values">DocumentTypeValues</a></code></td>
 		<td>The document type.</td>
 	</tr>
+	<tr>
+		<td><code><b>part</b></code></td>
+		<td><code>Number</code></td>
+		<td>If the preview is for a whole part.</td>
+	</tr>
 </table>
 
-<h3 id="error-event">ErrorEvent</h3>
+<h3 id="updateparts-event">UpdatePartsEvent</h3>
 
 <table data-id='events'>
 	<tr>
@@ -2136,23 +2110,28 @@ var map = L.map('map', {
 		<th>description</th>
 	</tr>
 	<tr>
-		<td><code><b>msg</b></code></td>
-		<td><code>String</code></td>
-		<td>If present, the error message.</td>
+		<td><code><b>selectedPart</b></code></td>
+		<td><code>Number</code></td>
+		<td>The currently selected part.</td>
 	</tr>
 	<tr>
-		<td><code><b>cmd</b></code></td>
-		<td><code>String</code></td>
-		<td>If present, the server command that caused the error.</td>
+		<td><code><b>parts</b></code></td>
+		<td><code>Number</code></td>
+		<td>The number of parts in the document.</td>
 	</tr>
 	<tr>
-		<td><code><b>kind</b></code></td>
-		<td><code>String</code></td>
-		<td>If present, the kind of error associated with the command.</td>
+		<td><code><b>docType</b></code></td>
+		<td><code><a href="#documenttype-values">DocumentTypeValues</a></code></td>
+		<td>The document type.</td>
+	</tr>
+	<tr>
+		<td><code><b>partNames</b></code></td>
+		<td><code>String[]</code></td>
+		<td>If present, an array containing slides' / spreadsheets' names.</td>
 	</tr>
 </table>
 
-<h3 id="updatetoolbarcommandvalues-event">UpdateToolbarCommandValuesEvent</h3>
+<h3 id="permission-event">PermissionEvent</h3>
 
 <table data-id='events'>
 	<tr>
@@ -2161,18 +2140,33 @@ var map = L.map('map', {
 		<th>description</th>
 	</tr>
 	<tr>
-		<td><code><b>commandName</b></code></td>
-		<td><code><a href="#toolbarcommand-values">ToolbarCommandValues</a></code></td>
-		<td>UNO command.</td>
+		<td><code><b>perm</b></code></td>
+		<td><code><a href="#documentpermission-values">DocumentPermission</a></code></td>
+		<td>Document permission.</td>
 	</tr>
+</table>
+
+<h3 id="updatescrolloffset-event">UpdateScrollOffsetEvent</h3>
+
+<table data-id='events'>
 	<tr>
-		<td><code><b>commandValues</b></code></td>
-		<td><code>Object</code></td>
-		<td>JSON mapping of the possible values.</td>
+		<th class="width100">property</th>
+		<th>type</th>
+		<th>description</th>
+	</tr>
+	<tr>
+		<td><code><b>x</b></code></td>
+		<td><code>Number</code></td>
+		<td>Difference in pixels between the document's left border and view's left border.</td>
+	</tr>
+	<tr>
+		<td><code><b>y</b></code></td>
+		<td><code>Number</code></td>
+		<td>Difference in pixels between the document's top border and view's top border.</td>
 	</tr>
 </table>
 
-<h3 id="cellformula-event">CellFormulaEvent</h3>
+<h3 id="updatetoolbarcommandvalues-event">UpdateToolbarCommandValuesEvent</h3>
 
 <table data-id='events'>
 	<tr>
@@ -2181,9 +2175,14 @@ var map = L.map('map', {
 		<th>description</th>
 	</tr>
 	<tr>
-		<td><code><b>formula</b></code></td>
-		<td><code>String</code></td>
-		<td>The formula from the selected cell.</td>
+		<td><code><b>commandName</b></code></td>
+		<td><code><a href="#toolbarcommand-values">ToolbarCommandValues</a></code></td>
+		<td>UNO command.</td>
+	</tr>
+	<tr>
+		<td><code><b>commandValues</b></code></td>
+		<td><code>Object</code></td>
+		<td>JSON mapping of the possible values.</td>
 	</tr>
 </table>
 
commit accf4c64aa863e709fe28b183c12efed982185b1
Author: Mihai Varga <mihai.varga at collabora.com>
Date:   Wed Nov 18 17:36:10 2015 +0200

    loleaflet: order the events alphabetically

diff --git a/loleaflet/reference.html b/loleaflet/reference.html
index e257b0e..3142c78 100644
--- a/loleaflet/reference.html
+++ b/loleaflet/reference.html
@@ -1707,24 +1707,14 @@ var map = L.map('map', {
 		<th>Description</th>
 	</tr>
 	<tr>
-		<td><code><b>search</b></code></td>
-		<td><code><a href="#search-event">SearchEvent</a></code></td>
-		<td>Fired when the search result is ready.</td>
-	</tr>
-	<tr>
-		<td><code><b>print</b></code></td>
-		<td><code><a href="#print-event">PrintEvent</a></code></td>
-		<td>Fired when the url for the pdf export is ready.</td>
-	</tr>
-	<tr>
-		<td><code><b>partpagerectangles</b></code></td>
-		<td><code><a href="#partpagerectangles-event">PartPageRectanglesEvent</a></code></td>
-		<td>Fired when the document is ready, contains information about the size of each page.</td>
+		<td><code><b>cellformula</b></code></td>
+		<td><code><a href="#cellformula-event">CellFormulaEvent</a></code></td>
+		<td>Fired when the content of the selected cell changes.</td>
 	</tr>
 	<tr>
-		<td><code><b>updatepermission</b></code></td>
-		<td><code><a href="#permission-event">PermissionEvent</a></code></td>
-		<td>Fired when the document permission changes.</td>
+		<td><code><b>commandresult</b></code></td>
+		<td><code><a href="#commandresult-event">CommandResultEvent</a></code></td>
+		<td>Fired when the a dispatched uno command has finished.</td>
 	</tr>
 	<tr>
 		<td><code><b>commandstatechanged</b></code></td>
@@ -1732,14 +1722,14 @@ var map = L.map('map', {
 		<td>Fired when the state of a command such as .uno:Bold changes.</td>
 	</tr>
 	<tr>
-		<td><code><b>commandresult</b></code></td>
-		<td><code><a href="#commandresult-event">CommandResultEvent</a></code></td>
-		<td>Fired when the a dispatched uno command has finished.</td>
+		<td><code><b>docsize</b></code></td>
+		<td><code><a href="#docsize-event">DocumentSizeEvent</a></code></td>
+		<td>Fired when the document size changes.</td>
 	</tr>
 	<tr>
-		<td><code><b>updateparts</b></code></td>
-		<td><code><a href="#updateparts-event">UpdatePartsEvent</a></code></td>
-		<td>Fired when a new part has been selected.</td>
+		<td><code><b>error</b></code></td>
+		<td><code><a href="#error-event">ErrorEvent</a></code></td>
+		<td>Fired on server or client error.</td>
 	</tr>
 	<tr>
 		<td><code><b>invalidatepreview</b></code></td>
@@ -1747,24 +1737,29 @@ var map = L.map('map', {
 		<td>Fired when a preview needs to be invalidated.</td>
 	</tr>
 	<tr>
-		<td><code><b>tilepreview</b></code></td>
-		<td><code><a href="#tilepreview-event">TilePreviewEvent</a></code></td>
-		<td>Fired when the rendering of a requested preview is ready.</td>
+		<td><code><b>pagenumberchanged</b></code></td>
+		<td><code><a href="#pagenumberchanged-event">PageNumberChangedEvent</a></code></td>
+		<td>Fired when the number of pages changes.</td>
 	</tr>
 	<tr>
-		<td><code><b>statusindicator</b></code></td>
-		<td><code><a href="#statusindicator-event">StatusIndicator</a></code></td>
-		<td>Fired when leaflet is initialized, during document loading or on reconnection.</td>
+		<td><code><b>partpagerectangles</b></code></td>
+		<td><code><a href="#partpagerectangles-event">PartPageRectanglesEvent</a></code></td>
+		<td>Fired when the document is ready, contains information about the size of each page.</td>
 	</tr>
 	<tr>
-		<td><code><b>docsize</b></code></td>
-		<td><code><a href="#docsize-event">DocumentSizeEvent</a></code></td>
-		<td>Fired when the document size changes.</td>
+		<td><code><b>print</b></code></td>
+		<td><code><a href="#print-event">PrintEvent</a></code></td>
+		<td>Fired when the url for the pdf export is ready.</td>
 	</tr>
 	<tr>
-		<td><code><b>updatescrolloffset</b></code></td>
-		<td><code><a href="#updatescrolloffset-event">UpdateScrollOffsetEvent</a></code></td>
-		<td>Fired when the document is panned and the scrollbars should be moved along with the document.</td>
+		<td><code><b>search</b></code></td>
+		<td><code><a href="#search-event">SearchEvent</a></code></td>
+		<td>Fired when the search result is ready.</td>
+	</tr>
+	<tr>
+		<td><code><b>scrollby</b></code></td>
+		<td><code><a href="#scrollby-event">ScrollByEvent</a></code></td>
+		<td>Fired when the document is panned with the keyboard.</td>
 	</tr>
 	<tr>
 		<td><code><b>scrollto</b></code></td>
@@ -1772,30 +1767,35 @@ var map = L.map('map', {
 		<td>Fired when the cursor goes out of the viewing area.</td>
 	</tr>
 	<tr>
-		<td><code><b>scrollby</b></code></td>
-		<td><code><a href="#scrollby-event">ScrollByEvent</a></code></td>
-		<td>Fired when the document is panned with the keyboard.</td>
+		<td><code><b>statusindicator</b></code></td>
+		<td><code><a href="#statusindicator-event">StatusIndicator</a></code></td>
+		<td>Fired when leaflet is initialized, during document loading or on reconnection.</td>
 	</tr>
 	<tr>
-		<td><code><b>pagenumberchanged</b></code></td>
-		<td><code><a href="#pagenumberchanged-event">PageNumberChangedEvent</a></code></td>
-		<td>Fired when the number of pages changes.</td>
+		<td><code><b>tilepreview</b></code></td>
+		<td><code><a href="#tilepreview-event">TilePreviewEvent</a></code></td>
+		<td>Fired when the rendering of a requested preview is ready.</td>
 	</tr>
 	<tr>
-		<td><code><b>error</b></code></td>
-		<td><code><a href="#error-event">ErrorEvent</a></code></td>
-		<td>Fired on server or client error.</td>
+		<td><code><b>updateparts</b></code></td>
+		<td><code><a href="#updateparts-event">UpdatePartsEvent</a></code></td>
+		<td>Fired when a new part has been selected.</td>
+	</tr>
+	<tr>
+		<td><code><b>updatepermission</b></code></td>
+		<td><code><a href="#permission-event">PermissionEvent</a></code></td>
+		<td>Fired when the document permission changes.</td>
+	</tr>
+	<tr>
+		<td><code><b>updatescrolloffset</b></code></td>
+		<td><code><a href="#updatescrolloffset-event">UpdateScrollOffsetEvent</a></code></td>
+		<td>Fired when the document is panned and the scrollbars should be moved along with the document.</td>
 	</tr>
 	<tr>
 		<td><code><b>updatetoolbarcommandvalues</b></code></td>
 		<td><code><a href="#updatetoolbarcommandvalues-event">UpdateToolbarCommandValuesEvent</a></code></td>
 		<td>Fired when the document is loaded and contains the available command values for Font, FontSize, Style, etc.</td>
 	</tr>
-	<tr>
-		<td><code><b>cellformula</b></code></td>
-		<td><code><a href="#cellformula-event">CellFormulaEvent</a></code></td>
-		<td>Fired when the content of the selected cell changes.</td>
-	</tr>
 </table>
 
 <h3 id="search-event">SearchEvent</h3>
commit 215ccfc421c22639f346785943b2b2550bfaa9d1
Author: Mihai Varga <mihai.varga at collabora.com>
Date:   Wed Nov 18 17:29:32 2015 +0200

    loleaflet: document how to catch our custom events

diff --git a/loleaflet/reference.html b/loleaflet/reference.html
index e4acc5a..e257b0e 100644
--- a/loleaflet/reference.html
+++ b/loleaflet/reference.html
@@ -1698,6 +1698,106 @@ var map = L.map('map', {
 
 <h2 id="loleaflet-events">Events</h2>
 
+<p>You can subscribe to the following events using <a href="#events">these methods</a>.</p>
+
+<table data-id='map'>
+	<tr>
+		<th>Event</th>
+		<th>Data</th>
+		<th>Description</th>
+	</tr>
+	<tr>
+		<td><code><b>search</b></code></td>
+		<td><code><a href="#search-event">SearchEvent</a></code></td>
+		<td>Fired when the search result is ready.</td>
+	</tr>
+	<tr>
+		<td><code><b>print</b></code></td>
+		<td><code><a href="#print-event">PrintEvent</a></code></td>
+		<td>Fired when the url for the pdf export is ready.</td>
+	</tr>
+	<tr>
+		<td><code><b>partpagerectangles</b></code></td>
+		<td><code><a href="#partpagerectangles-event">PartPageRectanglesEvent</a></code></td>
+		<td>Fired when the document is ready, contains information about the size of each page.</td>
+	</tr>
+	<tr>
+		<td><code><b>updatepermission</b></code></td>
+		<td><code><a href="#permission-event">PermissionEvent</a></code></td>
+		<td>Fired when the document permission changes.</td>
+	</tr>
+	<tr>
+		<td><code><b>commandstatechanged</b></code></td>
+		<td><code><a href="#commandstatechanged-event">CommandStateChangedEvent</a></code></td>
+		<td>Fired when the state of a command such as .uno:Bold changes.</td>
+	</tr>
+	<tr>
+		<td><code><b>commandresult</b></code></td>
+		<td><code><a href="#commandresult-event">CommandResultEvent</a></code></td>
+		<td>Fired when the a dispatched uno command has finished.</td>
+	</tr>
+	<tr>
+		<td><code><b>updateparts</b></code></td>
+		<td><code><a href="#updateparts-event">UpdatePartsEvent</a></code></td>
+		<td>Fired when a new part has been selected.</td>
+	</tr>
+	<tr>
+		<td><code><b>invalidatepreview</b></code></td>
+		<td><code><a href="#invalidatepreview-event">InvalidatePreviewEvent</a></code></td>
+		<td>Fired when a preview needs to be invalidated.</td>
+	</tr>
+	<tr>
+		<td><code><b>tilepreview</b></code></td>
+		<td><code><a href="#tilepreview-event">TilePreviewEvent</a></code></td>
+		<td>Fired when the rendering of a requested preview is ready.</td>
+	</tr>
+	<tr>
+		<td><code><b>statusindicator</b></code></td>
+		<td><code><a href="#statusindicator-event">StatusIndicator</a></code></td>
+		<td>Fired when leaflet is initialized, during document loading or on reconnection.</td>
+	</tr>
+	<tr>
+		<td><code><b>docsize</b></code></td>
+		<td><code><a href="#docsize-event">DocumentSizeEvent</a></code></td>
+		<td>Fired when the document size changes.</td>
+	</tr>
+	<tr>
+		<td><code><b>updatescrolloffset</b></code></td>
+		<td><code><a href="#updatescrolloffset-event">UpdateScrollOffsetEvent</a></code></td>
+		<td>Fired when the document is panned and the scrollbars should be moved along with the document.</td>
+	</tr>
+	<tr>
+		<td><code><b>scrollto</b></code></td>
+		<td><code><a href="#scrollto-event">ScrollToEvent</a></code></td>
+		<td>Fired when the cursor goes out of the viewing area.</td>
+	</tr>
+	<tr>
+		<td><code><b>scrollby</b></code></td>
+		<td><code><a href="#scrollby-event">ScrollByEvent</a></code></td>
+		<td>Fired when the document is panned with the keyboard.</td>
+	</tr>
+	<tr>
+		<td><code><b>pagenumberchanged</b></code></td>
+		<td><code><a href="#pagenumberchanged-event">PageNumberChangedEvent</a></code></td>
+		<td>Fired when the number of pages changes.</td>
+	</tr>
+	<tr>
+		<td><code><b>error</b></code></td>
+		<td><code><a href="#error-event">ErrorEvent</a></code></td>
+		<td>Fired on server or client error.</td>
+	</tr>
+	<tr>
+		<td><code><b>updatetoolbarcommandvalues</b></code></td>
+		<td><code><a href="#updatetoolbarcommandvalues-event">UpdateToolbarCommandValuesEvent</a></code></td>
+		<td>Fired when the document is loaded and contains the available command values for Font, FontSize, Style, etc.</td>
+	</tr>
+	<tr>
+		<td><code><b>cellformula</b></code></td>
+		<td><code><a href="#cellformula-event">CellFormulaEvent</a></code></td>
+		<td>Fired when the content of the selected cell changes.</td>
+	</tr>
+</table>
+
 <h3 id="search-event">SearchEvent</h3>
 
 <table data-id='events'>
@@ -1723,25 +1823,6 @@ var map = L.map('map', {
 	</tr>
 </table>
 
-<h3 id="search-result">SearchResult</h3>
-
-<table data-id='values'>
-	<tr>
-		<th class="width100">property</th>
-		<th class="width100">type</th>
-		<th>description</th>
-	</tr>
-	<tr>
-		<td><code><b>part</b></code></td>
-		<td><code>Number</code></td>
-        <td>The part in which the selection lies.</td>
-	</tr>
-	<tr>
-		<td><code><b>rectangles</b></code></td>
-        <td><code><a href="#bounds">Bounds[]</a></code></td>
-        <td>Selection bounds in pixels.</td>
-	</tr>
-</table>
 
 <h3 id="print-event">PrintEvent</h3>
 
@@ -2110,6 +2191,26 @@ var map = L.map('map', {
 
 <p>A list of possible values for different event object properties.</p>
 
+<h3 id="search-result">SearchResult</h3>
+
+<table data-id='values'>
+	<tr>
+		<th class="width100">property</th>
+		<th class="width100">type</th>
+		<th>description</th>
+	</tr>
+	<tr>
+		<td><code><b>part</b></code></td>
+		<td><code>Number</code></td>
+        <td>The part in which the selection lies.</td>
+	</tr>
+	<tr>
+		<td><code><b>rectangles</b></code></td>
+        <td><code><a href="#bounds">Bounds[]</a></code></td>
+        <td>Selection bounds in pixels.</td>
+	</tr>
+</table>
+
 <h3 id="documentpermission-values">DocumentPermissionValues</h3>
 
 <table data-id='values'>
commit 605f6f31454f15edc0642f383f2f50c30de81afc
Author: Mihai Varga <mihai.varga at collabora.com>
Date:   Wed Nov 18 10:00:54 2015 +0200

    loleaflet: cellFormulaEvent documentation

diff --git a/loleaflet/reference.html b/loleaflet/reference.html
index eae83ae..e4acc5a 100644
--- a/loleaflet/reference.html
+++ b/loleaflet/reference.html
@@ -2091,6 +2091,21 @@ var map = L.map('map', {
 	</tr>
 </table>
 
+<h3 id="cellformula-event">CellFormulaEvent</h3>
+
+<table data-id='events'>
+	<tr>
+		<th class="width100">property</th>
+		<th>type</th>
+		<th>description</th>
+	</tr>
+	<tr>
+		<td><code><b>formula</b></code></td>
+		<td><code>String</code></td>
+		<td>The formula from the selected cell.</td>
+	</tr>
+</table>
+
 <h2 id="loleaflet-object-values">Object values</h2>
 
 <p>A list of possible values for different event object properties.</p>


More information about the Libreoffice-commits mailing list