Skip to content

Commit

Permalink
Rename variable name hCell to topLeftCell, and rename vCell to bottom…
Browse files Browse the repository at this point in the history
…RightCell
  • Loading branch information
xuri committed Jan 1, 2024
1 parent 4c508df commit 64b18e2
Show file tree
Hide file tree
Showing 20 changed files with 40 additions and 40 deletions.
6 changes: 3 additions & 3 deletions ar/cell.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (f *File) SetCellStr(sheet, cell, value string) error
## تعيين نمط الخلية {#SetCellStyle}

```go
func (f *File) SetCellStyle(sheet, hCell, vCell string, styleID int) error
func (f *File) SetCellStyle(sheet, topLeftCell, bottomRightCell string, styleID int) error
```

يوفر SetCellStyle وظيفة لإضافة سمة نمط للخلايا من خلال اسم ورقة العمل المعطى ومنطقة الإحداثيات ومعرف النمط. هذه الوظيفة آمنة للتزامن. يمكن الحصول على فهارس النمط من خلال وظيفة [`NewStyle`](style.md#NewStyle). لاحظ أن حد النوع `diagonalDown` و `diagonalUp` يجب أن يستخدموا نفس اللون في نفس منطقة الإحداثيات. سيقوم SetCellStyle بالكتابة فوق الأنماط الموجودة للخلية ، ولن يقوم بإلحاق أو دمج النمط مع الأنماط الموجودة.
Expand Down Expand Up @@ -520,7 +520,7 @@ func (f *File) GetCellStyle(sheet, cell string) (int, error)
## دمج الخلايا {#MergeCell}

```go
func (f *File) MergeCell(sheet, hCell, vCell string) error
func (f *File) MergeCell(sheet, topLeftCell, bottomRightCell string) error
```

دمج الخلايا بناءً على اسم ورقة العمل المحدد ومناطق إحداثيات الخلية. يؤدي دمج الخلايا إلى الاحتفاظ فقط بقيمة الخلية العلوية اليسرى ، ويتجاهل القيم الأخرى. على سبيل المثال ، ادمج الخلايا في منطقة `D3:E9` في ورقة عمل تسمى `ورقة1`:
Expand All @@ -534,7 +534,7 @@ err := f.MergeCell("ورقة1", "D3", "E9")
## خلايا إلغاء الدمج {#UnmergeCell}

```go
func (f *File) UnmergeCell(sheet string, hCell, vCell string) error
func (f *File) UnmergeCell(sheet, topLeftCell, bottomRightCell string) error
```

يوفر UnmergeCell وظيفة لإلغاء دمج منطقة إحداثيات معينة. على سبيل المثال ، إلغاء دمج المنطقة `D3:E9` في `ورقة1`:
Expand Down
2 changes: 1 addition & 1 deletion ar/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func (sw *StreamWriter) SetPanes(panes *Panes) error
## دمج الخلية للدفق {#MergeCell}

```go
func (sw *StreamWriter) MergeCell(hCell, vCell string) error
func (sw *StreamWriter) MergeCell(topLeftCell, bottomRightCell string) error
```

يوفر MergeCell وظيفة لدمج الخلايا بواسطة منطقة إحداثيات معينة لـ StreamWriter. لا تقم بإنشاء خلية مدمجة تتداخل مع خلية مدمجة أخرى موجودة.
Expand Down
6 changes: 3 additions & 3 deletions de/cell.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ SetCellStr bietet eine Funktion zum Festlegen des Zeichenfolgentypwerts einer Ze
## Festlegen des Zellstils {#SetCellStyle}

```go
func (f *File) SetCellStyle(sheet, hCell, vCell string, styleID int) error
func (f *File) SetCellStyle(sheet, topLeftCell, bottomRightCell string, styleID int) error
```

SetCellStyle bietet eine Funktion zum Hinzufügen von Stilattributen für Zellen anhand des angegebenen Arbeitsblattnamens, des Koordinatenbereichs und der Stil-ID. Diese Funktion wird für die gleichzeitige Verwendung unterstützt. Stilindizes können mit der Funktion [`NewStyle`](style.md#NewStyle) abgerufen werden. Beachten Sie, dass die Rahmen vom Typ `diagonalDown` und `diagonalUp` dieselbe Farbe im selben Koordinatenbereich verwenden sollten. SetCellStyle überschreibt die vorhandenen Stile für die Zelle, fügt Stile nicht an oder führt sie mit vorhandenen Stilen zusammen.
Expand Down Expand Up @@ -514,7 +514,7 @@ Der Zellenstilindex wird aus dem angegebenen Arbeitsblattnamen und den Zellkoord
## Zusammenführen von Zellen {#MergeCell}

```go
func (f *File) MergeCell(sheet, hCell, vCell string) error
func (f *File) MergeCell(sheet, topLeftCell, bottomRightCell string) error
```

Führen Sie Zellen basierend auf dem angegebenen Arbeitsblattnamen und den Zellkoordinatenbereichen zusammen. Beim Zusammenführen von Zellen wird nur der obere linke Zellenwert beibehalten und die anderen Werte verworfen. Führen Sie beispielsweise Zellen im Bereich `D3:E9` in einem Arbeitsblatt mit dem Namen `Tabelle1` zusammen:
Expand All @@ -528,7 +528,7 @@ Wenn sich der angegebene Zellkoordinatenbereich mit anderen vorhandenen zusammen
## Unmerge-Zellen {#UnmergeCell}

```go
func (f *File) UnmergeCell(sheet string, hCell, vCell string) error
func (f *File) UnmergeCell(sheet, topLeftCell, bottomRightCell string) error
```

UnmergeCell bietet eine Funktion zum Aufheben der Zusammenführung eines bestimmten Koordinatenbereichs. Zum Beispiel den Bereich `D3:E9` auf `Tabelle1` entfernen:
Expand Down
2 changes: 1 addition & 1 deletion de/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ SetPanes bietet eine Funktion zum Erstellen und Entfernen von Einfrierfenstern u
## Zelle zum Streaming zusammenführen {#MergeCell}

```go
func (sw *StreamWriter) MergeCell(hCell, vCell string) error
func (sw *StreamWriter) MergeCell(topLeftCell, bottomRightCell string) error
```

MergeCell bietet eine Funktion zum Zusammenführen von Zellen nach einem bestimmten Koordinatenbereich für den StreamWriter. Erstellen Sie keine zusammengeführte Zelle, die sich mit einer anderen vorhandenen zusammengeführten Zelle überschneidet.
Expand Down
6 changes: 3 additions & 3 deletions en/cell.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ SetCellStr provides a function to set the string type value of a cell. The total
## Set cell style {#SetCellStyle}

```go
func (f *File) SetCellStyle(sheet, hCell, vCell string, styleID int) error
func (f *File) SetCellStyle(sheet, topLeftCell, bottomRightCell string, styleID int) error
```

SetCellStyle provides a function to add style attribute for cells by given worksheet name, range reference and style ID. This function is concurrency safe. Style indexes can be obtained with the [`NewStyle`](style.md#NewStyle) function. Note that `diagonalDown` and `diagonalUp` type border should use the same color in the same range. SetCellStyle will overwrite the existing styles for the cell, it won't append or merge style with existing styles.
Expand Down Expand Up @@ -514,7 +514,7 @@ The cell style index is obtained from the given worksheet name and cell referenc
## Merge cells {#MergeCell}

```go
func (f *File) MergeCell(sheet, hCell, vCell string) error
func (f *File) MergeCell(sheet, topLeftCell, bottomRightCell string) error
```

MergeCell provides a function to merge cells by given range reference and sheet name. Merging cells only keeps the upper-left cell value, and discards the other values. For example, merge cells in the `D3:E9` area on a worksheet named `Sheet1`:
Expand All @@ -528,7 +528,7 @@ If you create a merged cell that overlaps with another existing merged cell, tho
## Unmerge cells {#UnmergeCell}

```go
func (f *File) UnmergeCell(sheet string, hCell, vCell string) error
func (f *File) UnmergeCell(sheet, topLeftCell, bottomRightCell string) error
```

UnmergeCell provides a function to unmerge a given range reference. For example unmerge area `D3:E9` on `Sheet1`:
Expand Down
2 changes: 1 addition & 1 deletion en/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ SetPanes provides a function to create and remove freeze panes and split panes b
## Merge cell to stream {#MergeCell}

```go
func (sw *StreamWriter) MergeCell(hCell, vCell string) error
func (sw *StreamWriter) MergeCell(topLeftCell, bottomRightCell string) error
```

MergeCell provides a function to merge cells by a given range reference for the `StreamWriter`. Don't create a merged cell that overlaps with another existing merged cell.
Expand Down
6 changes: 3 additions & 3 deletions es/cell.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ SetCellStr proporciona una función para establecer el valor del tipo de cadena
## Establecer estilo de celda {#SetCellStyle}

```go
func (f *File) SetCellStyle(sheet, hCell, vCell string, styleID int) error
func (f *File) SetCellStyle(sheet, topLeftCell, bottomRightCell string, styleID int) error
```

SetCellStyle proporciona una función para agregar atributos de estilo para celdas por nombre de hoja de trabajo, área de coordenadas e ID de estilo dados. Esta función es segura para la simultaneidad. Los índices de estilo se pueden obtener con la función [`NewStyle`](style.md#NewStyle). Tenga en cuenta que los bordes de tipo `diagonalDown` y `diagonalUp` deben usar el mismo color en la misma área de coordenadas. SetCellStyle sobrescribirá los estilos existentes para la celda, no agregará ni fusionará el estilo con los estilos existentes.
Expand Down Expand Up @@ -514,7 +514,7 @@ El índice de estilo de celda se obtiene a partir del nombre de la hoja de traba
## Combinar celdas {#MergeCell}

```go
func (f *File) MergeCell(sheet, hCell, vCell string) error
func (f *File) MergeCell(sheet, topLeftCell, bottomRightCell string) error
```

Fusionar celdas según el nombre de la hoja de trabajo y las regiones de coordenadas de celda. La combinación de celdas solo conserva el valor de la celda superior izquierda y descarta los demás valores. Por ejemplo, combine celdas en el área `D3:E9` en una hoja de trabajo llamada `Hoja1`:
Expand All @@ -528,7 +528,7 @@ Si el área de coordenadas de celda dada se superpone con otras celdas fusionada
## Unmerge celdas {#UnmergeCell}

```go
func (f *File) UnmergeCell(sheet string, hCell, vCell string) error
func (f *File) UnmergeCell(sheet, topLeftCell, bottomRightCell string) error
```

UnmergeCell proporciona una función para separar un área de coordenadas determinada. Por ejemplo, separe el área `D3:E9` en `Hoja1`:
Expand Down
2 changes: 1 addition & 1 deletion es/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ SetPanes proporciona una función para crear y eliminar paneles congelados y pan
## Combinar celda para transmitir {#MergeCell}

```go
func (sw *StreamWriter) MergeCell(hCell, vCell string) error
func (sw *StreamWriter) MergeCell(topLeftCell, bottomRightCell string) error
```

MergeCell proporciona una función para fusionar celdas por un área de coordenadas determinada para StreamWriter. No cree una celda combinada que se superponga con otra celda combinada existente.
Expand Down
6 changes: 3 additions & 3 deletions fr/cell.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ SetCellStr fournit une fonction pour définir la valeur du type de chaîne d'une
## Définir le style de cellule {#SetCellStyle}

```go
func (f *File) SetCellStyle(sheet, hCell, vCell string, styleID int) error
func (f *File) SetCellStyle(sheet, topLeftCell, bottomRightCell string, styleID int) error
```

SetCellStyle fournit la fonction pour ajouter l'attribut de style pour les cellules par nom de feuille de calcul donné, zone de coordonnées et ID de style. Cette fonction est sécurisée pour la concurrence. Les index de style peuvent être obtenus avec la fonction [`NewStyle`](style.md#NewStyle). Notez que les bordures de type `diagonalDown` et `diagonalUp` doivent utiliser la même couleur dans la même zone de coordonnées. SetCellStyle écrasera les styles existants pour la cellule, il n'ajoutera ni ne fusionnera le style avec les styles existants.
Expand Down Expand Up @@ -514,7 +514,7 @@ L'index de style de cellule est obtenu à partir du nom de feuille de calcul don
## Fusionner les cellules {#MergeCell}
```go
func (f *File) MergeCell(sheet, hCell, vCell string) error
func (f *File) MergeCell(sheet, topLeftCell, bottomRightCell string) error
```
Fusionner des cellules en fonction du nom de feuille de calcul donné et des régions de coordonnées de cellule. La fusion de cellules ne conserve que la valeur de la cellule supérieure gauche et ignore les autres valeurs. Par exemple, fusionner des cellules dans la zone `D3:E9` sur une feuille de calcul nommée `Feuil1`:
Expand All @@ -528,7 +528,7 @@ Si la zone de coordonnées de cellule donnée chevauche d'autres cellules fusion
## Dissocier les cellules {#UnmergeCell}

```go
func (f *File) UnmergeCell(sheet string, hCell, vCell string) error
func (f *File) UnmergeCell(sheet, topLeftCell, bottomRightCell string) error
```

UnmergeCell fournit une fonction pour annuler la fusion d'une zone de coordonnées donnée. Par exemple, annuler la fusion de la zone `D3:E9` sur `Feuil1`:
Expand Down
2 changes: 1 addition & 1 deletion fr/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ SetPanes fournit une fonction pour créer et supprimer des volets de gel et des
## Fusionner la cellule pour diffuser {#MergeCell}
```go
func (sw *StreamWriter) MergeCell(hCell, vCell string) error
func (sw *StreamWriter) MergeCell(topLeftCell, bottomRightCell string) error
```
MergeCell fournit une fonction pour fusionner les cellules par une zone de coordonnées donnée pour StreamWriter. Ne créez pas de cellule fusionnée qui chevauche une autre cellule fusionnée existante.
Expand Down
6 changes: 3 additions & 3 deletions ja/cell.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (f *File) SetCellStr(sheet, cell, value string) error
## セルスタイルの設定 {#SetCellStyle}

```go
func (f *File) SetCellStyle(sheet, hCell, vCell string, styleID int) error
func (f *File) SetCellStyle(sheet, topLeftCell, bottomRightCell string, styleID int) error
```

指定されたワークシート名、セル座標領域、およびスタイルインデックスに基づいて、セルの値を設定します。この関数は、同時実行セーフをサポートします。スタイルインデックスは [`NewStyle`](style.md#NewStyle) 関数を使用して取得できます。同じ座標領域内の `diagonaldown``diagonalup` は同じ色で保持する必要があることに注意してください。SetCellStyle は、セルの既存のスタイルを上書きし、スタイルを既存のスタイルに追加またはマージしません。
Expand Down Expand Up @@ -514,7 +514,7 @@ func (f *File) GetCellStyle(sheet, cell string) (int, error)
## セルを結合 {#MergeCell}

```go
func (f *File) MergeCell(sheet, hCell, vCell string) error
func (f *File) MergeCell(sheet, topLeftCell, bottomRightCell string) error
```

指定したシート名 (大文字と小文字に敏感) とセルの座標範囲に基づいてセルを結合します。結合領域内には左上のセルの値のみが保持され、他のセルの値は無視されます。たとえば、`Sheet1` という名前のワークシートの `D3:E9` 領域のセルを結合します。
Expand All @@ -528,7 +528,7 @@ err := f.MergeCell("Sheet1", "D3", "E9")
## セルの結合を解除 {#UnmergeCell}

```go
func (f *File) UnmergeCell(sheet string, hCell, vCell string) error
func (f *File) UnmergeCell(sheet, topLeftCell, bottomRightCell string) error
```

UnmergeCell は、指定された座標領域の結合を解除する機能を提供します。たとえば、`Sheet1` の領域 `D3E9` のマージを解除します:
Expand Down
2 changes: 1 addition & 1 deletion ja/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ SetPanes は、`StreamWriter` にペイン オプションを与えることで
## ストリームでマージセル {#MergeCell}

```go
func (sw *StreamWriter) MergeCell(hCell, vCell string) error
func (sw *StreamWriter) MergeCell(topLeftCell, bottomRightCell string) error
```

指定されたセル座標範囲を使用してセルをストリーミングすると、現在、重なり合うセル以外のセルの結合のみがサポートされます。
Expand Down
6 changes: 3 additions & 3 deletions ko/cell.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ SetCellStr 셀의 문자열 형식 값을 설정하는 함수를 제공합니다
## 셀 스타일 설정 {#SetCellStyle}

```go
func (f *File) SetCellStyle(sheet, hCell, vCell string, styleID int) error
func (f *File) SetCellStyle(sheet, topLeftCell, bottomRightCell string, styleID int) error
```

SetCellStyle 지정된 워크 시트 이름, 좌표 영역 및 스타일 ID 에 의해 셀에 대 한 스타일 특성을 추가 하는 기능을 제공 합니다. 이 기능은 동시성 안전에 사용될 수 있습니다. 스타일 인덱스는 [`NewStyle`](style.md#NewStyle) 함수로 가져올 수 있습니다. `diagonalDown``diagonalUp` 유형 테두리는 동일한 좌표 영역에서 동일한 색상을 사용해야 합니다. SetCellStyle 은 셀의 기존 스타일을 덮어쓰며 기존 스타일에 스타일을 추가하거나 병합하지 않습니다.
Expand Down Expand Up @@ -514,7 +514,7 @@ func (f *File) GetCellStyle(sheet, cell string) (int, error)
## 셀 병합 {#MergeCell}

```go
func (f *File) MergeCell(sheet, hCell, vCell string) error
func (f *File) MergeCell(sheet, topLeftCell, bottomRightCell string) error
```

지정된 시트 이름 및 셀 좌표 범위를 기반으로 셀을 병합합니다. 병합 범위 내에서는 왼쪽 위 셀의 값만 유지되며 다른 셀의 값은 무시됩니다. 예를 들어 `Sheet1` 이라는 워크시트의 `D3:E9` 영역에서 셀을 병합합니다.
Expand All @@ -528,7 +528,7 @@ err := f.MergeCell("Sheet1", "D3", "E9")
## 셀 병합 취소 {#UnmergeCell}

```go
func (f *File) UnmergeCell(sheet string, hCell, vCell string) error
func (f *File) UnmergeCell(sheet, topLeftCell, bottomRightCell string) error
```

UnmergeCell 은 주어진 좌표 영역을 병합 해제하는 기능을 제공합니다. 예를 들어 `Sheet1``D3:E9` 영역 병합 해제:
Expand Down
2 changes: 1 addition & 1 deletion ko/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ SetPanes 는 `StreamWriter` 에 대한 패인 옵션을 제공하여 고정 페
## 셀을 스트리밍병합합니다 {#MergeCell}

```go
func (sw *StreamWriter) MergeCell(hCell, vCell string) error
func (sw *StreamWriter) MergeCell(topLeftCell, bottomRightCell string) error
```

지정된 셀 좌표 범위 스트리밍병합 셀을 통해 현재 겹침이 아닌 범위 셀만 병합할 수 있습니다.
Expand Down
6 changes: 3 additions & 3 deletions ru/cell.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ SetCellStr предоставляет функцию для установки
## Установить стиль ячейки {#SetCellStyle}

```go
func (f *File) SetCellStyle(sheet, hCell, vCell string, styleID int) error
func (f *File) SetCellStyle(sheet, topLeftCell, bottomRightCell string, styleID int) error
```

SetCellStyle предоставляет функцию добавления атрибута стиля для ячеек по заданному имени рабочего листа, области координат и идентификатору стиля. Эта функция может быть использована для безопасности параллелизма. Индексы стиля можно получить с помощью функции [`NewStyle`](style.md#NewStyle). Обратите внимание, что границы `diagonalDown` и `diagonalUp` должны использоваться одинаковым цветом в одной и той же координатной области. SetCellStyle перезапишет существующие стили для ячейки, он не будет добавлять или объединять стиль с существующими стилями.
Expand Down Expand Up @@ -514,7 +514,7 @@ func (f *File) GetCellStyle(sheet, cell string) (int, error)
## Объединить ячейки {#MergeCell}

```go
func (f *File) MergeCell(sheet, hCell, vCell string) error
func (f *File) MergeCell(sheet, topLeftCell, bottomRightCell string) error
```

Объединить ячейки на основе заданного имени листа и областей координат ячейки. При объединении ячеек сохраняется только значение верхней левой ячейки, а остальные значения отбрасываются. Например, слияние ячеек в области `D3:E9` на листе с именем `Лист1`:
Expand All @@ -528,7 +528,7 @@ err := f.MergeCell("Лист1", "D3", "E9")
## Отменить объединение ячеек {#UnmergeCell}

```go
func (f *File) UnmergeCell(sheet string, hCell, vCell string) error
func (f *File) UnmergeCell(sheet, topLeftCell, bottomRightCell string) error
```

UnmergeCell предоставляет функцию для объединения заданной координатной области. Например, удалите область `D3:E9` на `Лист1`:
Expand Down
2 changes: 1 addition & 1 deletion ru/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ SetPanes предоставляет функцию для создания и у
## Объединить ячейку в поток {#MergeCell}

```go
func (sw *StreamWriter) MergeCell(hCell, vCell string) error
func (sw *StreamWriter) MergeCell(topLeftCell, bottomRightCell string) error
```

MergeCell предоставляет функцию объединения ячеек по заданной области координат для StreamWriter. Не создавайте объединенную ячейку, которая перекрывается с другой существующей объединенной ячейкой.
Expand Down
Loading

0 comments on commit 64b18e2

Please sign in to comment.