Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request updates the import paths to use version 2 of the
unioffice
package across multiple files. Additionally, it includes a minor change to thedoc-custom-properties
file to update the usage of property choice fields.Import Path Updates:
document/bullet-and-numbering/main.go
: Updated import paths to useunioffice/v2
.document/chart/main.go
: Updated import paths to useunioffice/v2
.document/convert_to_pdf/main.go
: Updated import paths to useunioffice/v2
.document/convert_to_pdf_fonts/main.go
: Updated import paths to useunioffice/v2
.document/convert_to_pdf_options/main.go
: Updated import paths to useunioffice/v2
.document/doc-custom-properties/main.go
: Updated import paths to useunioffice/v2
.document/doc-existing-header/main.go
: Updated import paths to useunioffice/v2
.document/doc-properties/main.go
: Updated import paths to useunioffice/v2
.document/doc-to-pdf-fonts/main.go
: Updated import paths to useunioffice/v2
.document/doc-to-pdf/main.go
: Updated import paths to useunioffice/v2
.document/edit-document/main.go
: Updated import paths to useunioffice/v2
.document/endnotes_footnotes/main.go
: Updated import paths to useunioffice/v2
.document/endnotes_footnotes_insert/main.go
: Updated import paths to useunioffice/v2
and improved error handling.document/endnotes_footnotes_remove/main.go
: Updated import paths to useunioffice/v2
.document/even-odd-header/main.go
: Updated import paths to useunioffice/v2
.document/fill-out-form/main.go
: Updated import paths to useunioffice/v2
.document/form-activex/main.go
: Updated import paths to useunioffice/v2
.document/form-fields/main.go
: Updated import paths to useunioffice/v2
.document/header-footer-multiple/main.go
: Updated import paths to useunioffice/v2
.document/header-footer/main.go
: Updated import paths to useunioffice/v2
.Property Choice Fields Update:
document/doc-custom-properties/main.go
: Updated usage of property choice fields inGetPropertyByName
method calls.