Skip to content

Commit

Permalink
Add a new function SetColStyle for streaming writer in ko version docs
Browse files Browse the repository at this point in the history
- Add a new exported error variable ErrStreamSetColStyle
  • Loading branch information
xuri committed Feb 15, 2025
1 parent 8ac0a02 commit ea11ead
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions ko/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@
* [스트림에 페이지 나누기 삽입](stream.md#InsertPageBreak)
* [스트림에 쓰기 창](stream.md#SetPanes)
* [셀을 스트리밍병합합니다](stream.md#MergeCell)
* [스트림에서 열 스타일 설정](stream.md#SetColStyle)
* [스트림에서 열 너비 설정](stream.md#SetColWidth)
* [플러시 스트림](stream.md#Flush)
* [데이터](data.md)
Expand Down
12 changes: 12 additions & 0 deletions ko/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,18 @@ func (sw *StreamWriter) MergeCell(topLeftCell, bottomRightCell string) error

지정된 셀 좌표 범위 스트리밍병합 셀을 통해 현재 겹침이 아닌 범위 셀만 병합할 수 있습니다.

## 스트림에서 열 스타일 설정 {#SetColStyle}

```go
func (sw *StreamWriter) SetColStyle(minVal, maxVal, styleID int) error
```

SetColStyle 은 `StreamWriter`에 대한 단일 열 또는 여러 열의 스타일을 설정하는 함수를 제공합니다. `SetColStyle` 함수는 [`SetRow`](stream.md#SetRow) 함수 전에 호출해야 합니다. 예를 들어 `H` 열의 스타일을 설정합니다:

```go
err := sw.SetColStyle(8, 8, style)
```

## 스트림에서 열 너비 설정 {#SetColWidth}

```go
Expand Down
2 changes: 2 additions & 0 deletions ko/variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ var (
ErrSparklineStyle = errors.New("parameter 'Style' must between 0-35")
// ErrSparklineType 이 잘못된 스파크라인 'Type' 매개변수 수신 시 오류 메시지를 정의했습니다
ErrSparklineType = errors.New("parameter 'Type' must be 'line', 'column' or 'win_loss'")
// ErrStreamSetColStyle 은 스트림 쓰기 모드에서 열 스타일 설정에 대한 오류 메시지를 정의했습니다
ErrStreamSetColStyle = errors.New("must call the SetColStyle function before the SetRow function")
// ErrStreamSetColWidth 는 스트림 쓰기 모드에서 설정된 열 너비에 대한 오류 메시지를 정의했습니다
ErrStreamSetColWidth = errors.New("must call the SetColWidth function before the SetRow function")
// ErrStreamSetPanes 는 스트림 쓰기 모드에서 설정 창에 대한 오류 메시지를 정의했습니다
Expand Down

0 comments on commit ea11ead

Please sign in to comment.