Typos: caculate->calculate + acceses->accesses

Change-Id: Id2b645829ceb9affc76483a651fe6830a9f01cda
This commit is contained in:
Julien Nabet
2015-02-21 13:53:17 +01:00
parent aa1b4a294d
commit 800e09a3ce
12 changed files with 21 additions and 21 deletions

View File

@@ -98,7 +98,7 @@
<xsl:if test="@table:is-sub-table ='true' "> <xsl:if test="@table:is-sub-table ='true' ">
<w:tblW w:type="dxa"> <w:tblW w:type="dxa">
<xsl:variable name="sub-table-width"> <xsl:variable name="sub-table-width">
<xsl:call-template name="caculate-sub-table-width"> <xsl:call-template name="calculate-sub-table-width">
<xsl:with-param name="sub-table-column-node" select="table:table-column[1]"/> <xsl:with-param name="sub-table-column-node" select="table:table-column[1]"/>
<xsl:with-param name="total-sub-table-width" select="0"/> <xsl:with-param name="total-sub-table-width" select="0"/>
</xsl:call-template> </xsl:call-template>
@@ -137,7 +137,7 @@
<w:p/> <w:p/>
</xsl:if> </xsl:if>
</xsl:template> </xsl:template>
<xsl:template name="caculate-sub-table-width"> <xsl:template name="calculate-sub-table-width">
<xsl:param name="sub-table-column-node"/> <xsl:param name="sub-table-column-node"/>
<xsl:param name="total-sub-table-width"/> <xsl:param name="total-sub-table-width"/>
<xsl:variable name="column-width" select="key('table-column-style', $sub-table-column-node/@table:style-name)/style:table-column-properties/@style:column-width"/> <xsl:variable name="column-width" select="key('table-column-style', $sub-table-column-node/@table:style-name)/style:table-column-properties/@style:column-width"/>
@@ -150,13 +150,13 @@
<xsl:when test="$sub-table-column-node/following-sibling::table:table-column"> <xsl:when test="$sub-table-column-node/following-sibling::table:table-column">
<xsl:choose> <xsl:choose>
<xsl:when test="$sub-table-column-node/@table:number-columns-repeated"> <xsl:when test="$sub-table-column-node/@table:number-columns-repeated">
<xsl:call-template name="caculate-sub-table-width"> <xsl:call-template name="calculate-sub-table-width">
<xsl:with-param name="sub-table-column-node" select="$sub-table-column-node/following-sibling::table:table-column[ 1]"/> <xsl:with-param name="sub-table-column-node" select="$sub-table-column-node/following-sibling::table:table-column[ 1]"/>
<xsl:with-param name="total-sub-table-width" select="$total-sub-table-width + $column-width-in-twip * $sub-table-column-node/@table:number-columns-repeated"/> <xsl:with-param name="total-sub-table-width" select="$total-sub-table-width + $column-width-in-twip * $sub-table-column-node/@table:number-columns-repeated"/>
</xsl:call-template> </xsl:call-template>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:call-template name="caculate-sub-table-width"> <xsl:call-template name="calculate-sub-table-width">
<xsl:with-param name="sub-table-column-node" select="$sub-table-column-node/following-sibling::table:table-column[1]"/> <xsl:with-param name="sub-table-column-node" select="$sub-table-column-node/following-sibling::table:table-column[1]"/>
<xsl:with-param name="total-sub-table-width" select="$total-sub-table-width + $column-width-in-twip "/> <xsl:with-param name="total-sub-table-width" select="$total-sub-table-width + $column-width-in-twip "/>
</xsl:call-template> </xsl:call-template>
@@ -234,7 +234,7 @@
<!--when the table-cell contains the sub-table --> <!--when the table-cell contains the sub-table -->
<xsl:when test="table:table/@table:is-sub-table= 'true' "> <xsl:when test="table:table/@table:is-sub-table= 'true' ">
<xsl:variable name="table-cell-width"> <xsl:variable name="table-cell-width">
<xsl:call-template name="caculate-sub-table-width"> <xsl:call-template name="calculate-sub-table-width">
<xsl:with-param name="sub-table-column-node" select="table:table/table:table-column[1]"/> <xsl:with-param name="sub-table-column-node" select="table:table/table:table-column[1]"/>
<xsl:with-param name="total-sub-table-width" select="0"/> <xsl:with-param name="total-sub-table-width" select="0"/>
</xsl:call-template> </xsl:call-template>
@@ -246,7 +246,7 @@
<xsl:otherwise> <xsl:otherwise>
<!-- when the table-cell doesn't contain the sub-table --> <!-- when the table-cell doesn't contain the sub-table -->
<xsl:variable name="table-cell-width"> <xsl:variable name="table-cell-width">
<xsl:call-template name="caculate-table-cell-width"> <xsl:call-template name="calculate-table-cell-width">
<xsl:with-param name="table-cell-position" select="position()"/> <xsl:with-param name="table-cell-position" select="position()"/>
<xsl:with-param name="table-column" select="ancestor::table:table[1]/table:table-column[1]"/> <xsl:with-param name="table-column" select="ancestor::table:table[1]/table:table-column[1]"/>
</xsl:call-template> </xsl:call-template>
@@ -354,7 +354,7 @@
<xsl:apply-templates select=" text:p | table:table | text:h | office:annotation"/> <xsl:apply-templates select=" text:p | table:table | text:h | office:annotation"/>
</xsl:element> </xsl:element>
</xsl:template> </xsl:template>
<xsl:template name="caculate-table-cell-width"> <xsl:template name="calculate-table-cell-width">
<xsl:param name="table-cell-position"/> <xsl:param name="table-cell-position"/>
<xsl:param name="table-column"/> <xsl:param name="table-column"/>
<xsl:choose> <xsl:choose>
@@ -370,7 +370,7 @@
<xsl:value-of select="$table-cell-width-in-twip"/> <xsl:value-of select="$table-cell-width-in-twip"/>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:call-template name="caculate-table-cell-width"> <xsl:call-template name="calculate-table-cell-width">
<xsl:with-param name="table-cell-position" select="$table-cell-position - $table-column/@table:number-columns-repeated"/> <xsl:with-param name="table-cell-position" select="$table-cell-position - $table-column/@table:number-columns-repeated"/>
<xsl:with-param name="table-column" select="$table-column/following-sibling::table:table-column[1]"/> <xsl:with-param name="table-column" select="$table-column/following-sibling::table:table-column[1]"/>
</xsl:call-template> </xsl:call-template>
@@ -390,14 +390,14 @@
<xsl:value-of select="$table-cell-width-in-twip"/> <xsl:value-of select="$table-cell-width-in-twip"/>
</xsl:when> </xsl:when>
<xsl:when test="($table-cell-position - 1) &gt; 0"> <xsl:when test="($table-cell-position - 1) &gt; 0">
<xsl:call-template name="caculate-table-cell-width"> <xsl:call-template name="calculate-table-cell-width">
<xsl:with-param name="table-cell-position" select=" $table-cell-position - 1 "/> <xsl:with-param name="table-cell-position" select=" $table-cell-position - 1 "/>
<xsl:with-param name="table-column" select="$table-column/following-sibling::table:table-column[1]"/> <xsl:with-param name="table-column" select="$table-column/following-sibling::table:table-column[1]"/>
</xsl:call-template> </xsl:call-template>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:message> <xsl:message>
<xsl:value-of select=" 'caculate table cell width wrong ' "/> <xsl:value-of select=" 'calculate table cell width wrong ' "/>
</xsl:message> </xsl:message>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>

View File

@@ -49,7 +49,7 @@ public class BridgeFactory implements XBridgeFactory/*, XEventListener*/ {
static private final boolean DEBUG = false; static private final boolean DEBUG = false;
/** /**
* The name of the service, the <code>JavaLoader</code> acceses this through * The name of the service, the <code>JavaLoader</code> accesses this through
* reflection. * reflection.
*/ */
public final static String __serviceName = "com.sun.star.bridge.BridgeFactory"; public final static String __serviceName = "com.sun.star.bridge.BridgeFactory";

View File

@@ -45,7 +45,7 @@ public final class Acceptor implements XAcceptor {
/** /**
* The name of the service. * The name of the service.
* *
* <p>The <code>JavaLoader</code> acceses this through reflection.</p> * <p>The <code>JavaLoader</code> accesses this through reflection.</p>
* *
* @see com.sun.star.comp.loader.JavaLoader * @see com.sun.star.comp.loader.JavaLoader
*/ */

View File

@@ -45,7 +45,7 @@ public class Connector implements XConnector {
/** /**
* The name of the service. * The name of the service.
* *
* <p>The <code>JavaLoader</code> acceses this through reflection.</p> * <p>The <code>JavaLoader</code> accesses this through reflection.</p>
* *
* @see com.sun.star.comp.loader.JavaLoader * @see com.sun.star.comp.loader.JavaLoader
*/ */

View File

@@ -45,7 +45,7 @@ public class ConstantInstanceProvider implements XInstanceProvider {
static public final boolean DEBUG = false; static public final boolean DEBUG = false;
/** /**
* The name of the service, the <code>JavaLoader</code> acceses this through * The name of the service, the <code>JavaLoader</code> accesses this through
* reflection. * reflection.
*/ */
static private final String __serviceName = "com.sun.star.comp.connection.InstanceProvider"; static private final String __serviceName = "com.sun.star.comp.connection.InstanceProvider";

View File

@@ -41,7 +41,7 @@ public class PipedConnection implements XConnection {
public static final boolean DEBUG = false; public static final boolean DEBUG = false;
/** /**
* The name of the service, the <code>JavaLoader</code> acceses this through * The name of the service, the <code>JavaLoader</code> accesses this through
* reflection. * reflection.
*/ */
static private final String __serviceName = "com.sun.star.connection.PipedConnection"; static private final String __serviceName = "com.sun.star.connection.PipedConnection";

View File

@@ -45,7 +45,7 @@ public final class pipeAcceptor implements XAcceptor {
/** /**
* The name of the service. * The name of the service.
* *
* <p>The <code>JavaLoader</code> acceses this through reflection.</p> * <p>The <code>JavaLoader</code> accesses this through reflection.</p>
* *
* @see com.sun.star.comp.loader.JavaLoader * @see com.sun.star.comp.loader.JavaLoader
*/ */

View File

@@ -45,7 +45,7 @@ public final class pipeConnector implements XConnector {
/** /**
* The name of the service. * The name of the service.
* *
* <p>The <code>JavaLoader</code> acceses this through reflection.</p> * <p>The <code>JavaLoader</code> accesses this through reflection.</p>
* *
* @see com.sun.star.comp.loader.JavaLoader * @see com.sun.star.comp.loader.JavaLoader
*/ */

View File

@@ -48,7 +48,7 @@ public final class socketAcceptor implements XAcceptor {
/** /**
* The name of the service. * The name of the service.
* *
* <p>The <code>JavaLoader</code> acceses this through reflection.</p> * <p>The <code>JavaLoader</code> accesses this through reflection.</p>
* *
* @see com.sun.star.comp.loader.JavaLoader * @see com.sun.star.comp.loader.JavaLoader
*/ */

View File

@@ -50,7 +50,7 @@ public final class socketConnector implements XConnector {
/** /**
* The name of the service. * The name of the service.
* *
* <p>The <code>JavaLoader</code> acceses this through reflection.</p> * <p>The <code>JavaLoader</code> accesses this through reflection.</p>
* *
* @see com.sun.star.comp.loader.JavaLoader * @see com.sun.star.comp.loader.JavaLoader
*/ */

View File

@@ -870,7 +870,7 @@ void ScInputWindow::MouseButtonDown( const MouseEvent& rMEvt )
// find the height of the gridwin, we don't wan't to be // find the height of the gridwin, we don't wan't to be
// able to expand the toolbar too far so we need to // able to expand the toolbar too far so we need to
// caculate an upper limit // calculate an upper limit
// I'd prefer to leave at least a single column header and a // I'd prefer to leave at least a single column header and a
// row but I don't know how to get that value in pixels. // row but I don't know how to get that value in pixels.
// Use TBX_WINDOW_HEIGHT for the moment // Use TBX_WINDOW_HEIGHT for the moment

View File

@@ -2608,7 +2608,7 @@ void SmMatrixNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat)
const SmNode *pCoNode = pTmpNode->GetLeftMost(); const SmNode *pCoNode = pTmpNode->GetLeftMost();
RectHorAlign eHorAlign = pCoNode->GetRectHorAlign(); RectHorAlign eHorAlign = pCoNode->GetRectHorAlign();
// caculate horizontal position of element depending on column // calculate horizontal position of element depending on column
// and horizontal alignment // and horizontal alignment
switch (eHorAlign) switch (eHorAlign)
{ case RHA_LEFT: { case RHA_LEFT: