Skip to content

Commit

Permalink
Fixed typo (paramter -> parameter) and some other
Browse files Browse the repository at this point in the history
  • Loading branch information
Pilot-Pirx committed Sep 26, 2023
1 parent 3d12bb4 commit 0c72d66
Show file tree
Hide file tree
Showing 4 changed files with 111 additions and 108 deletions.
12 changes: 6 additions & 6 deletions main/filter/source/xslt/odf2xhtml/export/xhtml/opendoc2xhtml.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
<xsl:param name="targetURL" select="'./'" />

<!-- OPTIONAL: (MANDATORY: for input document with relative internal links)
To access contents of a office file (content like the meta.xml, styles.xml file or graphics) a URL could be chosen.
To access contents of a office file (content like the meta.xml, styles.xml file or graphics) a URL could be chosen.
This could be even a JAR URL. The sourceBase of the content URL "jar:file:/C:/temp/Test.sxw!/content.xml" would be
"jar:file:/C:/temp/Test.sxw!/" for example.
When working with OpenOffice API a Package-URL encoded over HTTP can be used to access the jared contents of the jared document. -->
Expand Down Expand Up @@ -129,13 +129,13 @@
<xsl:param name="onlyStyleOutput" select="false()" />
<xsl:param name="onlyStyleOutputEnabled" select="boolean($onlyStyleOutput)" />

<!-- ************************************* -->
<!-- *** build the propriate HTML file *** -->
<!-- ************************************* -->
<!-- *************************************** -->
<!-- *** build the appropriate HTML file *** -->
<!-- *************************************** -->
<xsl:template match="/">
<!-- debug output of parameter value set -->
<xsl:if test="$debugEnabled">
<xsl:call-template name="debug-check-paramter" />
<xsl:call-template name="debug-check-parameter" />
</xsl:if>
<!-- gathers style properties and
returns them as globalData parameter to the 'start-main' template -->
Expand Down Expand Up @@ -164,7 +164,7 @@

<!-- debug purpose only:
verbose checking of the parameters of this template-->
<xsl:template name="debug-check-paramter">
<xsl:template name="debug-check-parameter">
<xsl:message>Parameter dpi: <xsl:value-of select="$dpi" /></xsl:message>
<xsl:message>Parameter metaFileURL: <xsl:value-of select="$metaFileURL" /></xsl:message>
<xsl:message>Parameter stylesFileURL: <xsl:value-of select="$stylesFileURL" /></xsl:message>
Expand Down
15 changes: 8 additions & 7 deletions main/svl/inc/svl/cntnrsrt.hxx
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
/**************************************************************
*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*
*************************************************************/



#ifndef _CNTRSRT_HXX
#define _CNTRSRT_HXX

Expand All @@ -34,9 +35,9 @@
* Definiert eine von Container abgeleitete Klasse "ClassName",
* in der die Elemente des Typs "Type" sortiert enthalten sind.
* Dazu muss einer Funktion "SortFunc" definiert sein, die als
* Paramter zwei "const Type&" erwartet und 0 zurueckgibt, wenn
* beide gleich sind, -1 wenn der erste Paramter kleiner ist als
* der zweite und +1 wenn der erste Paramter groesser ist als
* Parameter zwei "const Type&" erwartet und 0 zurueckgibt, wenn
* beide gleich sind, -1 wenn der erste Parameter kleiner ist als
* der zweite und +1 wenn der erste Parameter groesser ist als
* der zweite.
*
* Die Zugriffs-Methoden entsprechen in etwa denen der Container-
Expand Down
18 changes: 9 additions & 9 deletions main/svtools/inc/svtools/ruler.hxx
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
/**************************************************************
*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*
*************************************************************/


Expand Down Expand Up @@ -369,7 +369,7 @@ es folgende Abfrage-Methoden.
Mit dieser Methode kann man einen HitTest durchfuehren, um
gegebenenfalls ueber das Abfangen des MouseButtonDown-Handlers
auch ueber die rechte Maustaste etwas auf ein Item anzuwenden. Als
Paramter ueber gibt man die Fensterposition und gegebenenfalls
Parameter uebergibt man die Fensterposition und gegebenenfalls
einen Pointer auf einen sal_uInt16, um die Array-Position eines
Tabs, Indent oder Borders mitzubekommen. Als Type werden folgende
Werte zurueckgegeben:
Expand Down Expand Up @@ -408,7 +408,7 @@ Um vom Dokument ein Drag auszuloesen, gibt es folgende Methoden:
und verhaelt sich dann so, wie als wenn direkt in das Lineal geklickt
wurde. So captured das Lineal die Mouse und uebernimmt auch die
Steuerung des Cancel (ueber Tastatur, oder wenn die Mouse ueber
oder links vom Lineal ruasgeschoben wird). Auch alle Handler werden
oder links vom Lineal rausgeschoben wird). Auch alle Handler werden
gerufen (inkl. des StartDrag-Handlers). Wenn ein MouseEvent mit
Click-Count 2 uebergeben wird auch der DoubleClick-Handler
entsprechend gerufen.
Expand Down Expand Up @@ -439,7 +439,7 @@ womit man bestimmte Aktionen abfangen kann.
dargestellt werden soll.
- ExtraType Was im Extrafeld dargestellt werden soll
RULER_EXTRA_DONTKNOW (Nichts)
RULER_EXTRA_NULLOFFSET (Koordinaaten-Kreuz)
RULER_EXTRA_NULLOFFSET (Koordinaten-Kreuz)
RULER_EXTRA_TAB (Tab)
- sal_uInt16 nStyle Bitfeld als Style:
RULER_STYLE_HIGHLIGHT (selektiert)
Expand Down Expand Up @@ -474,7 +474,7 @@ Tips zur Benutzung des Lineals:
- Bei dem Lineal muss weder im Drag-Modus noch sonst das Setzen der Werte
in SetUpdateMode() geklammert werden. Denn das Lineal sorgt von sich
aus dafuer, das wenn mehrere Werte gesetzt werden, diese automatisch
zusammengefast werden und flackerfrei ausgegeben werden.
zusammengefasst werden und flackerfrei ausgegeben werden.
- Initial sollten beim Lineal zuerst die Groessen, Positionen und Werte
gesetzt werden, bevor es angezeigt wird. Dies ist deshalb wichtig, da
Expand Down Expand Up @@ -590,7 +590,7 @@ struct RulerBorder
long nPos;
long nWidth;
sal_uInt16 nStyle;
//minimum/maximum position, supported for table borders/rows
// minimum/maximum position, supported for table borders/rows
long nMinPos;
long nMaxPos;
};
Expand Down
Loading

0 comments on commit 0c72d66

Please sign in to comment.