mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-10 13:23:29 +00:00
Changed color default parameters away from strings
This commit is contained in:
@@ -101,13 +101,13 @@
|
||||
#Name of a column which is unique used to pair up rows from the refence and difference side, default is "Name".
|
||||
$Key = "Name" ,
|
||||
#Sets the font color for the "key" field; this means you can filter by color to get only changed rows.
|
||||
[System.Drawing.Color]$KeyFontColor = "DarkRed",
|
||||
[System.Drawing.Color]$KeyFontColor = [System.Drawing.Color]::DarkRed ,
|
||||
#Sets the background color for changed rows.
|
||||
[System.Drawing.Color]$ChangeBackgroundColor = "Orange",
|
||||
[System.Drawing.Color]$ChangeBackgroundColor = [System.Drawing.Color]::Orange,
|
||||
#Sets the background color for rows in the reference but deleted from the difference sheet.
|
||||
[System.Drawing.Color]$DeleteBackgroundColor = "LightPink",
|
||||
[System.Drawing.Color]$DeleteBackgroundColor = [System.Drawing.Color]::LightPink,
|
||||
#Sets the background color for rows not in the reference but added to the difference sheet.
|
||||
[System.Drawing.Color]$AddBackgroundColor = "PaleGreen",
|
||||
[System.Drawing.Color]$AddBackgroundColor = [System.Drawing.Color]::PaleGreen,
|
||||
#if Specified hides the rows in the spreadsheet that are equal and only shows changes, added or deleted rows.
|
||||
[switch]$HideEqual ,
|
||||
#If specified outputs the data to the pipeline (you can add -whatif so it the command only outputs to the pipeline).
|
||||
@@ -375,13 +375,13 @@ Function Merge-MultipleSheets {
|
||||
#Name of a column which is unique used to pair up rows from the refence and difference side, default is "Name".
|
||||
$Key = "Name" ,
|
||||
#Sets the font color for the "key" field; this means you can filter by color to get only changed rows.
|
||||
[System.Drawing.Color]$KeyFontColor = "Red",
|
||||
[System.Drawing.Color]$KeyFontColor = [System.Drawing.Color]::Red,
|
||||
#Sets the background color for changed rows.
|
||||
[System.Drawing.Color]$ChangeBackgroundColor = "Orange",
|
||||
[System.Drawing.Color]$ChangeBackgroundColor = [System.Drawing.Color]::Orange,
|
||||
#Sets the background color for rows in the reference but deleted from the difference sheet.
|
||||
[System.Drawing.Color]$DeleteBackgroundColor = "LightPink",
|
||||
[System.Drawing.Color]$DeleteBackgroundColor = [System.Drawing.Color]::LightPink,
|
||||
#Sets the background color for rows not in the reference but added to the difference sheet.
|
||||
[System.Drawing.Color]$AddBackgroundColor = "Orange",
|
||||
[System.Drawing.Color]$AddBackgroundColor = [System.Drawing.Color]::Orange,
|
||||
#if Specified hides the columns in the spreadsheet that contain the row numbers
|
||||
[switch]$HideRowNumbers ,
|
||||
#If specified outputs the data to the pipeline (you can add -whatif so it the command only outputs to the command)
|
||||
|
||||
@@ -40,8 +40,8 @@ function New-ConditionalText {
|
||||
[Alias("ConditionValue")]
|
||||
$Text,
|
||||
[Alias("ForeGroundColor")]
|
||||
[System.Drawing.Color]$ConditionalTextColor="DarkRed",
|
||||
[System.Drawing.Color]$BackgroundColor="LightPink",
|
||||
[System.Drawing.Color]$ConditionalTextColor=[System.Drawing.Color]::DarkRed,
|
||||
[System.Drawing.Color]$BackgroundColor=[System.Drawing.Color]::LightPink,
|
||||
[String]$Range,
|
||||
[OfficeOpenXml.Style.ExcelFillStyle]$PatternType=[OfficeOpenXml.Style.ExcelFillStyle]::Solid,
|
||||
[ValidateSet(
|
||||
|
||||
Reference in New Issue
Block a user