summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docProps.go4
-rw-r--r--sheet.go2
-rw-r--r--styles.go6
3 files changed, 6 insertions, 6 deletions
diff --git a/docProps.go b/docProps.go
index 0f44ac4..ff19fda 100644
--- a/docProps.go
+++ b/docProps.go
@@ -31,7 +31,7 @@ import (
// Description | An explanation of the content of the resource.
// |
// LastModifiedBy | The user who performed the last modification. The identification is
-// | environment-specific.
+// | environment-specific.
// |
// Language | The language of the intellectual content of the resource.
// |
@@ -40,7 +40,7 @@ import (
// Revision | The topic of the content of the resource.
// |
// ContentStatus | The status of the content. For example: Values might include "Draft",
-// | "Reviewed", and "Final"
+// | "Reviewed" and "Final"
// |
// Category | A categorization of the content of this package.
// |
diff --git a/sheet.go b/sheet.go
index c0eba56..a43ca6b 100644
--- a/sheet.go
+++ b/sheet.go
@@ -1221,7 +1221,7 @@ func (f *File) GetPageLayout(sheet string, opts ...PageLayoutOptionPtr) error {
}
// SetDefinedName provides a function to set the defined names of the workbook
-// or worksheet. If not specified scopr, the default scope is workbook.
+// or worksheet. If not specified scope, the default scope is workbook.
// For example:
//
// f.SetDefinedName(&excelize.DefinedName{
diff --git a/styles.go b/styles.go
index 1c01421..b246e30 100644
--- a/styles.go
+++ b/styles.go
@@ -1946,13 +1946,13 @@ func (f *File) NewConditionalStyle(style string) (int, error) {
}
// GetDefaultFont provides the default font name currently set in the workbook
-// Documents generated by excelize start with Calibri
+// Documents generated by excelize start with Calibri.
func (f *File) GetDefaultFont() string {
font := f.readDefaultFont()
return font.Name.Val
}
-// SetDefaultFont changes the default font in the workbook
+// SetDefaultFont changes the default font in the workbook.
func (f *File) SetDefaultFont(fontName string) {
font := f.readDefaultFont()
font.Name.Val = fontName
@@ -1962,7 +1962,7 @@ func (f *File) SetDefaultFont(fontName string) {
s.CellStyles.CellStyle[0].CustomBuiltIn = &custom
}
-// readDefaultFont provides an unmarshalled font value
+// readDefaultFont provides an unmarshalled font value.
func (f *File) readDefaultFont() *xlsxFont {
s := f.stylesReader()
return s.Fonts.Font[0]