-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LT-21771: Word Export – support indenting for groups (#58)
This change will also fix indenting for any other node type that has an ancestor with indenting. Which doesn’t seem common, usually it’s zero or the ancestor does not have a paragraph style. Notes: - The only line of code in WordStylesGenerator.cs that changes logic is in CalculateMarginLeft() where I changed: leadingIndent -= ancestorMargin + hangingIndent; to: leadingIndent -= hangingIndent; The rest of the changes are all cleanup, most of then related to no longer needing to calculate ancestorMargin. - The AddStyles() call that was removed from GenerateGroupingNode() was a duplicate call.
- Loading branch information
Showing
2 changed files
with
26 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters