- Added
Set-WordTextStyle
- #73 - tnx ylepine - Added
Style
parameter forAdd-WordText
to be able to apply a existing Style other than Heading 1-9 - #73 - tnx ylepine - Added
Style
parameter forSet-WordText
to be able to apply a existing Style other than Heading 1-9 - #73 - tnx ylepine
- Removed
BreakAcrossPages
inAdd-WordTable
,Set-WordTable
,Set-WordTablePageBreak
as it doesn't work anymore
- Fixed bug with publishing (republished)
- 🐛 Fixed Cannot find an overload for "ReplaceText" on
Set-WordTextReplace
cmdlet #69
- 🐛 Fixed
Get-WordDocument
when working with relative paths #53
- 🐛Replaced
Exit
withReturn
inGet-WordDocument
, and few other cmdlets to prevent PowerShell Exit
- ☑ Fixes
Set-WordTextReplace
that would not work at all - ☑ Updates PSD1
- ☑ Removed dependency on PSSharedGoods when used from powershellgallery
- ☑ Module is now signed
- Fixes
Transpose
parameter forAdd-WordTable
giving wrong order #44
- Fixes for
Add-WordCustomProperty
#39
- Fixed problems with Documentimo Colors
- Added
Transpose
toDocumentimoTable
- Added Get-WordBookmark
- Added Set-WordBookmark
- Fixes for New-WordList
- Fixes for Colors for Documentimo
- Migrated Documentimo to PSWriteWord. You can use syntax of Documentimo now.
- Fixes colors adding ability to choose them from a list (change from System.Drawing.Colors to System.Drawing.KnownColors)
- Removes Set-WordHyperlink as it was a bit too complicated to use
- Expanded Add-WordHyperLink with a lot of options
- Fixed adding more than 1 hyperlink (#32)
- Removes using namespaces because of wonky way it worked
- In case you want to keep using shortnames you would need to use both commands right after Import-Module PSWriteWord
- using namespace Xceed.Words.NET
- using namespace Xceed.Document.NET
- In case you want to keep using shortnames you would need to use both commands right after Import-Module PSWriteWord
- Includes new DocX DLL version 1.4.1 which added/fixed following:
- ☑ In Document, the new PageBackground property can now be set to customize the background color of all the document’s pages.
- ☑ In Document, the new PageBorders property can now be set to display up to 4 different borders in a document page.
- ☑ In Document, inserting a chart by setting its width and height is now supported.
- ☑ In Document, adding an image from a stream will no longer throw an exception when the stream is not positioned at the beginning.
- ☑ In Document, accessing Bookmarks multiple times no longer decreases the application’s performance.
- ☑ In Paragraph, the MagicText property will no longer read the Xml at each call. Instead, the saved data will be used to improve the performance.
- ☑ In Paragraph, setting an alignment and then calling InsertPicture() with no index will no longer reset the alignment to left.
- ☑ In Paragraph, the LineSpacingBefore will no longer be added to the preceding paragraph’s LineSpacingAfter, when those values are identical.
- ☑ In Paragraph, the AppendPageNumber and AppendPageCount methods will now return the paragraph, in order to let users continue adding actions on the paragraph.
- ☑ In Paragraph, replacing a text without specifying a formatting will now replace all occurrences of that text.
- ☑ In Table, using CustomTableDesignName now correctly adjusts the table’s custom style.
- ☑ In Table, modifying the TableLook, or any property of TableLook, will now correctly update the table.
- Fix for Add-WordPicture (try/catch missing)
- Fix for Add-WordPicture - supress would supress paragraph
- Fix for Supress in Add-WordPicture
- Removed custom enums, using Xceed ones instead
- Changed how Add-WordList works
- Changed how New-WordList / New-WordListItem works - be sure to review new, easier way
- Rewrote/fixed couple of functions
- Fixed Saving issue when file was in use and path was having dots in temporary path
- Some performance improvements
- Includes new DocX DLL version 1.3 which added/fixed following:
- In DocX, if the core properties part is missing in the document, it will now be created automatically instead of throwing an exception.
- In Container, the Paragraphs properties will no longer include the fallback elements.
- In Formatting, half point font sizes are now supported.
- In Paragraph, the LineSpacing property will now correctly update the spacing between lines of text.
- In Paragraph, calling the InsertText or RemoveText methods will now update the active runs.
- In Paragraph, when an Auto spacing is used, the LineSpacingAfter and/or LineSpacingBefore properties will now return 0.
- In Paragraph, a border can now be added to a simple text.
- In Paragraph, a default line spacing or indentation defined on the document will now be used when the paragraph doesn’t specify those values.
- In Paragraph, adding a bookmark with the same name as a previously deleted bookmark will no longer cause an exception.
- In Picture, its size will now be defined by using the default 96 pixels per inch.
- In Picture, the new HeightInches and WidthInches properties can now be used to get/set the image size in inches.
- In Table, Cell will now default to a Top vertical alignment.
- Fixed merging of columns/cells in Table in circumstances with multiple paragraphs in a cell
- Published with merging all files into single PSM1 and optimized PSD1 file which speeds up greatly Import-Module process If you want to read more about why I did it: https://evotec.xyz/powershell-single-psm1-file-versus-multi-file-modules/
- Fixed an empty chart problem in Word Blocks. If values/keys were empty it would create an empty chart preventing Word saving feature to work.
- Fixed merging of columns/cells in Table
- Fixed Get-WordDocument support for path with special characters
- Added Add-WordPageCount with alias Add-WordPageNumber
- Added some examples and tests for above
- Expanded support for Headers/Footers
- Expanded Add-WordText with -Headers/Footers
- Added some examples and tests
- Fix Set-WordTableRowMergeCells
- Added Set-WordTableRowMergeCells TextMerge with Separator allowing for merging text from merged columns
- Fix for Remove-WordText
- Added tests for Set-WordTableRowMergeCells - does some additional testing to Tables just in case
- Fix for Set-WordTableRowMergeCells
- Added Alignment to Add-WordPicture
- Added Merge-WordDocument - which brings merging of Word Documents functionality
- Fix for Add-WordPicture
- Added small feature New-WordBlock for PSWinDocumentation
- Addition for Add-WordList to support singular (string,bool etc types)
- Added Add-WordList Tests