Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add some property functions and bug fix #52

Merged
merged 2 commits into from
Jan 31, 2025
Merged

Conversation

Leoliu83
Copy link
Contributor

Changes Made

  • add new Paragraph property functions(Spacing)
  • fix bug in Table.Grid
  • add new Table property functions(CellMargin,Layout)
  • add new Cell property functions(BackgroundColor,Width,Borders)
  • add color constant value
  • add NewCellBorder function
  • add function for Twips conversion

- Add new function
docx/table.go
- Fix bug in Table.Grid()
- Add new function
wml/color/color.go
- Add string variables for colors
wml/ctypes/border.go
- Add border creation function
wml/ctypes/pagesize_default.go
- Define some default pagesize, like A4,A3 and so on
wml/ctypes/spacing.go
- Add ParagraphSpacing creation function
wml/ctypes/unit.go
- Add unit conversion
@gomutex gomutex merged commit fc5b430 into gomutex:main Jan 31, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants