Skip to content

Commit dc8210d

Browse files
committed
Update GoDoc and typo fixed
1 parent 54def7e commit dc8210d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docProps.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131
// Description | An explanation of the content of the resource.
3232
// |
3333
// LastModifiedBy | The user who performed the last modification. The identification is
34-
// | environment-specific.
34+
// | environment-specific.
3535
// |
3636
// Language | The language of the intellectual content of the resource.
3737
// |
@@ -40,7 +40,7 @@ import (
4040
// Revision | The topic of the content of the resource.
4141
// |
4242
// ContentStatus | The status of the content. For example: Values might include "Draft",
43-
// | "Reviewed", and "Final"
43+
// | "Reviewed" and "Final"
4444
// |
4545
// Category | A categorization of the content of this package.
4646
// |

sheet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ func (f *File) GetPageLayout(sheet string, opts ...PageLayoutOptionPtr) error {
12211221
}
12221222

12231223
// SetDefinedName provides a function to set the defined names of the workbook
1224-
// or worksheet. If not specified scopr, the default scope is workbook.
1224+
// or worksheet. If not specified scope, the default scope is workbook.
12251225
// For example:
12261226
//
12271227
// f.SetDefinedName(&excelize.DefinedName{

styles.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1946,13 +1946,13 @@ func (f *File) NewConditionalStyle(style string) (int, error) {
19461946
}
19471947

19481948
// GetDefaultFont provides the default font name currently set in the workbook
1949-
// Documents generated by excelize start with Calibri
1949+
// Documents generated by excelize start with Calibri.
19501950
func (f *File) GetDefaultFont() string {
19511951
font := f.readDefaultFont()
19521952
return font.Name.Val
19531953
}
19541954

1955-
// SetDefaultFont changes the default font in the workbook
1955+
// SetDefaultFont changes the default font in the workbook.
19561956
func (f *File) SetDefaultFont(fontName string) {
19571957
font := f.readDefaultFont()
19581958
font.Name.Val = fontName
@@ -1962,7 +1962,7 @@ func (f *File) SetDefaultFont(fontName string) {
19621962
s.CellStyles.CellStyle[0].CustomBuiltIn = &custom
19631963
}
19641964

1965-
// readDefaultFont provides an unmarshalled font value
1965+
// readDefaultFont provides an unmarshalled font value.
19661966
func (f *File) readDefaultFont() *xlsxFont {
19671967
s := f.stylesReader()
19681968
return s.Fonts.Font[0]

0 commit comments

Comments
 (0)