Advertisement
Guest User

Untitled

a guest
Jul 30th, 2018
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 57.66 KB | None | 0 0
  1. Cannot convert argument "listType", with value: "Numbered", for "AddList" to type "Xceed.Words.NET.ListItemType":
  2. "Cannot convert value "Numbered" to type "Xceed.Words.NET.ListItemType". Error: "Invalid cast from 'ListItemType' to
  3. 'Xceed.Words.NET.ListItemType'.""
  4. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:205 char:9
  5. + $List = $WordDocument.AddList($Text, $ListLevel, $ListItemType, $StartNu ...
  6. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  7. + CategoryInfo : NotSpecified: (:) [], MethodException
  8. + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument
  9.  
  10. Cannot index into a null array.
  11. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:206 char:9
  12. + $Paragraph = $List.Items[$List.Items.Count - 1]
  13. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  14. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  15. + FullyQualifiedErrorId : NullArray
  16.  
  17. You cannot call a method on a null-valued expression.
  18. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:69
  19. + Write-Verbose "Add-WordListItem - ListType Value: $Text Name: $($List.GetTyp ...
  20. + ~~~~~~~~~~~~
  21. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  22. + FullyQualifiedErrorId : InvokeMethodOnNull
  23.  
  24. You cannot call a method on a null-valued expression.
  25. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:105
  26. + ... - BaseType: $($List.GetType().BaseType)"
  27. + ~~~~~~~~~~~~~~~~~~~~~~~~
  28. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  29. + FullyQualifiedErrorId : InvokeMethodOnNull
  30.  
  31. Exception calling "InsertList" with "1" argument(s): "Object reference not set to an instance of an object."
  32. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:185 char:9
  33. + $data = $WordDocument.InsertList($List)
  34. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  35. + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
  36. + FullyQualifiedErrorId : NullReferenceException
  37.  
  38. You cannot call a method on a null-valued expression.
  39. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:59
  40. + Write-Verbose "Add-WordListItem - Return Type Name: $($Data.GetType().Name) ...
  41. + ~~~~~~~~~~~~~~~~~~~~
  42. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  43. + FullyQualifiedErrorId : InvokeMethodOnNull
  44.  
  45. You cannot call a method on a null-valued expression.
  46. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:95
  47. + ... - BaseType: $($Data.GetType().BaseType)"
  48. + ~~~~~~~~~~~~~~~~~~~~~~~~
  49. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  50. + FullyQualifiedErrorId : InvokeMethodOnNull
  51.  
  52. Exception setting "Alignment": "Cannot convert value "both" to type "Xceed.Words.NET.Alignment". Error: "Invalid cast
  53. from 'Alignment' to 'Xceed.Words.NET.Alignment'.""
  54. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordParagraph.ps1:585 char:9
  55. + $Paragraph.Alignment = $Alignment
  56. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  57. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  58. + FullyQualifiedErrorId : ExceptionWhenSetting
  59.  
  60. Cannot convert argument "listType", with value: "Numbered", for "AddList" to type "Xceed.Words.NET.ListItemType":
  61. "Cannot convert value "Numbered" to type "Xceed.Words.NET.ListItemType". Error: "Invalid cast from 'ListItemType' to
  62. 'Xceed.Words.NET.ListItemType'.""
  63. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:205 char:9
  64. + $List = $WordDocument.AddList($Text, $ListLevel, $ListItemType, $StartNu ...
  65. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  66. + CategoryInfo : NotSpecified: (:) [], MethodException
  67. + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument
  68.  
  69. Cannot index into a null array.
  70. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:206 char:9
  71. + $Paragraph = $List.Items[$List.Items.Count - 1]
  72. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  73. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  74. + FullyQualifiedErrorId : NullArray
  75.  
  76. You cannot call a method on a null-valued expression.
  77. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:69
  78. + Write-Verbose "Add-WordListItem - ListType Value: $Text Name: $($List.GetTyp ...
  79. + ~~~~~~~~~~~~
  80. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  81. + FullyQualifiedErrorId : InvokeMethodOnNull
  82.  
  83. You cannot call a method on a null-valued expression.
  84. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:105
  85. + ... - BaseType: $($List.GetType().BaseType)"
  86. + ~~~~~~~~~~~~~~~~~~~~~~~~
  87. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  88. + FullyQualifiedErrorId : InvokeMethodOnNull
  89.  
  90. Exception calling "InsertList" with "1" argument(s): "Object reference not set to an instance of an object."
  91. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:185 char:9
  92. + $data = $WordDocument.InsertList($List)
  93. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  94. + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
  95. + FullyQualifiedErrorId : NullReferenceException
  96.  
  97. You cannot call a method on a null-valued expression.
  98. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:59
  99. + Write-Verbose "Add-WordListItem - Return Type Name: $($Data.GetType().Name) ...
  100. + ~~~~~~~~~~~~~~~~~~~~
  101. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  102. + FullyQualifiedErrorId : InvokeMethodOnNull
  103.  
  104. You cannot call a method on a null-valued expression.
  105. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:95
  106. + ... - BaseType: $($Data.GetType().BaseType)"
  107. + ~~~~~~~~~~~~~~~~~~~~~~~~
  108. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  109. + FullyQualifiedErrorId : InvokeMethodOnNull
  110.  
  111. Exception setting "Design": "Cannot convert value "ColorfulGridAccent5" to type "Xceed.Words.NET.TableDesign". Error:
  112. "Invalid cast from 'TableDesign' to 'Xceed.Words.NET.TableDesign'.""
  113. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSwordTableSettings.ps1:47 char:9
  114. + $Table.Design = $Design
  115. + ~~~~~~~~~~~~~~~~~~~~~~~
  116. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  117. + FullyQualifiedErrorId : ExceptionWhenSetting
  118.  
  119. Exception setting "AutoFit": "Cannot convert value "Window" to type "Xceed.Words.NET.AutoFit". Error: "Invalid cast
  120. from 'AutoFit' to 'Xceed.Words.NET.AutoFit'.""
  121. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSwordTableSettings.ps1:35 char:9
  122. + $Table.AutoFit = $AutoFit
  123. + ~~~~~~~~~~~~~~~~~~~~~~~~~
  124. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  125. + FullyQualifiedErrorId : ExceptionWhenSetting
  126.  
  127. Exception setting "Alignment": "Cannot convert value "center" to type "Xceed.Words.NET.Alignment". Error: "Invalid
  128. cast from 'Alignment' to 'Xceed.Words.NET.Alignment'.""
  129. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordParagraph.ps1:585 char:9
  130. + $Paragraph.Alignment = $Alignment
  131. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  132. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  133. + FullyQualifiedErrorId : ExceptionWhenSetting
  134.  
  135. Exception setting "Design": "Cannot convert value "ColorfulGridAccent5" to type "Xceed.Words.NET.TableDesign". Error:
  136. "Invalid cast from 'TableDesign' to 'Xceed.Words.NET.TableDesign'.""
  137. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSwordTableSettings.ps1:47 char:9
  138. + $Table.Design = $Design
  139. + ~~~~~~~~~~~~~~~~~~~~~~~
  140. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  141. + FullyQualifiedErrorId : ExceptionWhenSetting
  142.  
  143. Exception setting "AutoFit": "Cannot convert value "Window" to type "Xceed.Words.NET.AutoFit". Error: "Invalid cast
  144. from 'AutoFit' to 'Xceed.Words.NET.AutoFit'.""
  145. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSwordTableSettings.ps1:35 char:9
  146. + $Table.AutoFit = $AutoFit
  147. + ~~~~~~~~~~~~~~~~~~~~~~~~~
  148. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  149. + FullyQualifiedErrorId : ExceptionWhenSetting
  150.  
  151. Exception setting "Alignment": "Cannot convert value "center" to type "Xceed.Words.NET.Alignment". Error: "Invalid
  152. cast from 'Alignment' to 'Xceed.Words.NET.Alignment'.""
  153. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordParagraph.ps1:585 char:9
  154. + $Paragraph.Alignment = $Alignment
  155. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  156. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  157. + FullyQualifiedErrorId : ExceptionWhenSetting
  158.  
  159. Exception setting "Design": "Cannot convert value "ColorfulGridAccent5" to type "Xceed.Words.NET.TableDesign". Error:
  160. "Invalid cast from 'TableDesign' to 'Xceed.Words.NET.TableDesign'.""
  161. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSwordTableSettings.ps1:47 char:9
  162. + $Table.Design = $Design
  163. + ~~~~~~~~~~~~~~~~~~~~~~~
  164. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  165. + FullyQualifiedErrorId : ExceptionWhenSetting
  166.  
  167. Exception setting "AutoFit": "Cannot convert value "Window" to type "Xceed.Words.NET.AutoFit". Error: "Invalid cast
  168. from 'AutoFit' to 'Xceed.Words.NET.AutoFit'.""
  169. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSwordTableSettings.ps1:35 char:9
  170. + $Table.AutoFit = $AutoFit
  171. + ~~~~~~~~~~~~~~~~~~~~~~~~~
  172. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  173. + FullyQualifiedErrorId : ExceptionWhenSetting
  174.  
  175. Exception setting "Alignment": "Cannot convert value "center" to type "Xceed.Words.NET.Alignment". Error: "Invalid
  176. cast from 'Alignment' to 'Xceed.Words.NET.Alignment'.""
  177. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordParagraph.ps1:585 char:9
  178. + $Paragraph.Alignment = $Alignment
  179. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  180. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  181. + FullyQualifiedErrorId : ExceptionWhenSetting
  182.  
  183. Cannot convert argument "listType", with value: "Bulleted", for "AddList" to type "Xceed.Words.NET.ListItemType":
  184. "Cannot convert value "Bulleted" to type "Xceed.Words.NET.ListItemType". Error: "Invalid cast from 'ListItemType' to
  185. 'Xceed.Words.NET.ListItemType'.""
  186. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:205 char:9
  187. + $List = $WordDocument.AddList($Text, $ListLevel, $ListItemType, $StartNu ...
  188. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  189. + CategoryInfo : NotSpecified: (:) [], MethodException
  190. + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument
  191.  
  192. Cannot index into a null array.
  193. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:206 char:9
  194. + $Paragraph = $List.Items[$List.Items.Count - 1]
  195. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  196. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  197. + FullyQualifiedErrorId : NullArray
  198.  
  199. You cannot call a method on a null-valued expression.
  200. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:69
  201. + Write-Verbose "Add-WordListItem - ListType Value: $Text Name: $($List.GetTyp ...
  202. + ~~~~~~~~~~~~
  203. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  204. + FullyQualifiedErrorId : InvokeMethodOnNull
  205.  
  206. You cannot call a method on a null-valued expression.
  207. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:105
  208. + ... - BaseType: $($List.GetType().BaseType)"
  209. + ~~~~~~~~~~~~~~~~~~~~~~~~
  210. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  211. + FullyQualifiedErrorId : InvokeMethodOnNull
  212.  
  213. Exception calling "InsertListAfterSelf" with "1" argument(s): "Object reference not set to an instance of an object."
  214. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:180 char:13
  215. + $data = $Paragraph.InsertListAfterSelf($List)
  216. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  217. + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
  218. + FullyQualifiedErrorId : NullReferenceException
  219.  
  220. You cannot call a method on a null-valued expression.
  221. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:59
  222. + Write-Verbose "Add-WordListItem - Return Type Name: $($Data.GetType().Name) ...
  223. + ~~~~~~~~~~~~~~~~~~~~
  224. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  225. + FullyQualifiedErrorId : InvokeMethodOnNull
  226.  
  227. You cannot call a method on a null-valued expression.
  228. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:95
  229. + ... - BaseType: $($Data.GetType().BaseType)"
  230. + ~~~~~~~~~~~~~~~~~~~~~~~~
  231. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  232. + FullyQualifiedErrorId : InvokeMethodOnNull
  233.  
  234. Cannot convert argument "listType", with value: "Numbered", for "AddList" to type "Xceed.Words.NET.ListItemType":
  235. "Cannot convert value "Numbered" to type "Xceed.Words.NET.ListItemType". Error: "Invalid cast from 'ListItemType' to
  236. 'Xceed.Words.NET.ListItemType'.""
  237. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:205 char:9
  238. + $List = $WordDocument.AddList($Text, $ListLevel, $ListItemType, $StartNu ...
  239. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  240. + CategoryInfo : NotSpecified: (:) [], MethodException
  241. + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument
  242.  
  243. Cannot index into a null array.
  244. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:206 char:9
  245. + $Paragraph = $List.Items[$List.Items.Count - 1]
  246. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  247. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  248. + FullyQualifiedErrorId : NullArray
  249.  
  250. You cannot call a method on a null-valued expression.
  251. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:69
  252. + Write-Verbose "Add-WordListItem - ListType Value: $Text Name: $($List.GetTyp ...
  253. + ~~~~~~~~~~~~
  254. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  255. + FullyQualifiedErrorId : InvokeMethodOnNull
  256.  
  257. You cannot call a method on a null-valued expression.
  258. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:105
  259. + ... - BaseType: $($List.GetType().BaseType)"
  260. + ~~~~~~~~~~~~~~~~~~~~~~~~
  261. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  262. + FullyQualifiedErrorId : InvokeMethodOnNull
  263.  
  264. Exception calling "InsertList" with "1" argument(s): "Object reference not set to an instance of an object."
  265. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:185 char:9
  266. + $data = $WordDocument.InsertList($List)
  267. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  268. + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
  269. + FullyQualifiedErrorId : NullReferenceException
  270.  
  271. You cannot call a method on a null-valued expression.
  272. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:59
  273. + Write-Verbose "Add-WordListItem - Return Type Name: $($Data.GetType().Name) ...
  274. + ~~~~~~~~~~~~~~~~~~~~
  275. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  276. + FullyQualifiedErrorId : InvokeMethodOnNull
  277.  
  278. You cannot call a method on a null-valued expression.
  279. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:95
  280. + ... - BaseType: $($Data.GetType().BaseType)"
  281. + ~~~~~~~~~~~~~~~~~~~~~~~~
  282. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  283. + FullyQualifiedErrorId : InvokeMethodOnNull
  284.  
  285. Cannot convert argument "listType", with value: "Numbered", for "AddList" to type "Xceed.Words.NET.ListItemType":
  286. "Cannot convert value "Numbered" to type "Xceed.Words.NET.ListItemType". Error: "Invalid cast from 'ListItemType' to
  287. 'Xceed.Words.NET.ListItemType'.""
  288. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:205 char:9
  289. + $List = $WordDocument.AddList($Text, $ListLevel, $ListItemType, $StartNu ...
  290. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  291. + CategoryInfo : NotSpecified: (:) [], MethodException
  292. + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument
  293.  
  294. Cannot index into a null array.
  295. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:206 char:9
  296. + $Paragraph = $List.Items[$List.Items.Count - 1]
  297. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  298. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  299. + FullyQualifiedErrorId : NullArray
  300.  
  301. You cannot call a method on a null-valued expression.
  302. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:69
  303. + Write-Verbose "Add-WordListItem - ListType Value: $Text Name: $($List.GetTyp ...
  304. + ~~~~~~~~~~~~
  305. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  306. + FullyQualifiedErrorId : InvokeMethodOnNull
  307.  
  308. You cannot call a method on a null-valued expression.
  309. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:105
  310. + ... - BaseType: $($List.GetType().BaseType)"
  311. + ~~~~~~~~~~~~~~~~~~~~~~~~
  312. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  313. + FullyQualifiedErrorId : InvokeMethodOnNull
  314.  
  315. Exception calling "InsertList" with "1" argument(s): "Object reference not set to an instance of an object."
  316. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:185 char:9
  317. + $data = $WordDocument.InsertList($List)
  318. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  319. + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
  320. + FullyQualifiedErrorId : NullReferenceException
  321.  
  322. You cannot call a method on a null-valued expression.
  323. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:59
  324. + Write-Verbose "Add-WordListItem - Return Type Name: $($Data.GetType().Name) ...
  325. + ~~~~~~~~~~~~~~~~~~~~
  326. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  327. + FullyQualifiedErrorId : InvokeMethodOnNull
  328.  
  329. You cannot call a method on a null-valued expression.
  330. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:95
  331. + ... - BaseType: $($Data.GetType().BaseType)"
  332. + ~~~~~~~~~~~~~~~~~~~~~~~~
  333. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  334. + FullyQualifiedErrorId : InvokeMethodOnNull
  335.  
  336. Cannot convert argument "listType", with value: "Bulleted", for "AddList" to type "Xceed.Words.NET.ListItemType":
  337. "Cannot convert value "Bulleted" to type "Xceed.Words.NET.ListItemType". Error: "Invalid cast from 'ListItemType' to
  338. 'Xceed.Words.NET.ListItemType'.""
  339. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:205 char:9
  340. + $List = $WordDocument.AddList($Text, $ListLevel, $ListItemType, $StartNu ...
  341. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  342. + CategoryInfo : NotSpecified: (:) [], MethodException
  343. + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument
  344.  
  345. Cannot index into a null array.
  346. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:206 char:9
  347. + $Paragraph = $List.Items[$List.Items.Count - 1]
  348. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  349. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  350. + FullyQualifiedErrorId : NullArray
  351.  
  352. You cannot call a method on a null-valued expression.
  353. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:69
  354. + Write-Verbose "Add-WordListItem - ListType Value: $Text Name: $($List.GetTyp ...
  355. + ~~~~~~~~~~~~
  356. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  357. + FullyQualifiedErrorId : InvokeMethodOnNull
  358.  
  359. You cannot call a method on a null-valued expression.
  360. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:105
  361. + ... - BaseType: $($List.GetType().BaseType)"
  362. + ~~~~~~~~~~~~~~~~~~~~~~~~
  363. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  364. + FullyQualifiedErrorId : InvokeMethodOnNull
  365.  
  366. Cannot convert argument "listType", with value: "Bulleted", for "AddList" to type "Xceed.Words.NET.ListItemType":
  367. "Cannot convert value "Bulleted" to type "Xceed.Words.NET.ListItemType". Error: "Invalid cast from 'ListItemType' to
  368. 'Xceed.Words.NET.ListItemType'.""
  369. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:205 char:9
  370. + $List = $WordDocument.AddList($Text, $ListLevel, $ListItemType, $StartNu ...
  371. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  372. + CategoryInfo : NotSpecified: (:) [], MethodException
  373. + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument
  374.  
  375. Cannot index into a null array.
  376. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:206 char:9
  377. + $Paragraph = $List.Items[$List.Items.Count - 1]
  378. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  379. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  380. + FullyQualifiedErrorId : NullArray
  381.  
  382. You cannot call a method on a null-valued expression.
  383. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:69
  384. + Write-Verbose "Add-WordListItem - ListType Value: $Text Name: $($List.GetTyp ...
  385. + ~~~~~~~~~~~~
  386. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  387. + FullyQualifiedErrorId : InvokeMethodOnNull
  388.  
  389. You cannot call a method on a null-valued expression.
  390. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:105
  391. + ... - BaseType: $($List.GetType().BaseType)"
  392. + ~~~~~~~~~~~~~~~~~~~~~~~~
  393. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  394. + FullyQualifiedErrorId : InvokeMethodOnNull
  395.  
  396. Cannot convert argument "listType", with value: "Bulleted", for "AddList" to type "Xceed.Words.NET.ListItemType":
  397. "Cannot convert value "Bulleted" to type "Xceed.Words.NET.ListItemType". Error: "Invalid cast from 'ListItemType' to
  398. 'Xceed.Words.NET.ListItemType'.""
  399. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:205 char:9
  400. + $List = $WordDocument.AddList($Text, $ListLevel, $ListItemType, $StartNu ...
  401. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  402. + CategoryInfo : NotSpecified: (:) [], MethodException
  403. + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument
  404.  
  405. Cannot index into a null array.
  406. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:206 char:9
  407. + $Paragraph = $List.Items[$List.Items.Count - 1]
  408. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  409. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  410. + FullyQualifiedErrorId : NullArray
  411.  
  412. You cannot call a method on a null-valued expression.
  413. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:69
  414. + Write-Verbose "Add-WordListItem - ListType Value: $Text Name: $($List.GetTyp ...
  415. + ~~~~~~~~~~~~
  416. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  417. + FullyQualifiedErrorId : InvokeMethodOnNull
  418.  
  419. You cannot call a method on a null-valued expression.
  420. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:105
  421. + ... - BaseType: $($List.GetType().BaseType)"
  422. + ~~~~~~~~~~~~~~~~~~~~~~~~
  423. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  424. + FullyQualifiedErrorId : InvokeMethodOnNull
  425.  
  426. Exception calling "InsertListAfterSelf" with "1" argument(s): "Object reference not set to an instance of an object."
  427. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:180 char:13
  428. + $data = $Paragraph.InsertListAfterSelf($List)
  429. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  430. + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
  431. + FullyQualifiedErrorId : NullReferenceException
  432.  
  433. You cannot call a method on a null-valued expression.
  434. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:59
  435. + Write-Verbose "Add-WordListItem - Return Type Name: $($Data.GetType().Name) ...
  436. + ~~~~~~~~~~~~~~~~~~~~
  437. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  438. + FullyQualifiedErrorId : InvokeMethodOnNull
  439.  
  440. You cannot call a method on a null-valued expression.
  441. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:95
  442. + ... - BaseType: $($Data.GetType().BaseType)"
  443. + ~~~~~~~~~~~~~~~~~~~~~~~~
  444. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  445. + FullyQualifiedErrorId : InvokeMethodOnNull
  446.  
  447. Cannot convert argument "listType", with value: "Numbered", for "AddList" to type "Xceed.Words.NET.ListItemType":
  448. "Cannot convert value "Numbered" to type "Xceed.Words.NET.ListItemType". Error: "Invalid cast from 'ListItemType' to
  449. 'Xceed.Words.NET.ListItemType'.""
  450. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:205 char:9
  451. + $List = $WordDocument.AddList($Text, $ListLevel, $ListItemType, $StartNu ...
  452. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  453. + CategoryInfo : NotSpecified: (:) [], MethodException
  454. + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument
  455.  
  456. Cannot index into a null array.
  457. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:206 char:9
  458. + $Paragraph = $List.Items[$List.Items.Count - 1]
  459. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  460. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  461. + FullyQualifiedErrorId : NullArray
  462.  
  463. You cannot call a method on a null-valued expression.
  464. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:69
  465. + Write-Verbose "Add-WordListItem - ListType Value: $Text Name: $($List.GetTyp ...
  466. + ~~~~~~~~~~~~
  467. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  468. + FullyQualifiedErrorId : InvokeMethodOnNull
  469.  
  470. You cannot call a method on a null-valued expression.
  471. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:105
  472. + ... - BaseType: $($List.GetType().BaseType)"
  473. + ~~~~~~~~~~~~~~~~~~~~~~~~
  474. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  475. + FullyQualifiedErrorId : InvokeMethodOnNull
  476.  
  477. Exception calling "InsertList" with "1" argument(s): "Object reference not set to an instance of an object."
  478. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:185 char:9
  479. + $data = $WordDocument.InsertList($List)
  480. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  481. + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
  482. + FullyQualifiedErrorId : NullReferenceException
  483.  
  484. You cannot call a method on a null-valued expression.
  485. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:59
  486. + Write-Verbose "Add-WordListItem - Return Type Name: $($Data.GetType().Name) ...
  487. + ~~~~~~~~~~~~~~~~~~~~
  488. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  489. + FullyQualifiedErrorId : InvokeMethodOnNull
  490.  
  491. You cannot call a method on a null-valued expression.
  492. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:95
  493. + ... - BaseType: $($Data.GetType().BaseType)"
  494. + ~~~~~~~~~~~~~~~~~~~~~~~~
  495. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  496. + FullyQualifiedErrorId : InvokeMethodOnNull
  497.  
  498. Exception setting "Design": "Cannot convert value "ColorfulGridAccent5" to type "Xceed.Words.NET.TableDesign". Error:
  499. "Invalid cast from 'TableDesign' to 'Xceed.Words.NET.TableDesign'.""
  500. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSwordTableSettings.ps1:47 char:9
  501. + $Table.Design = $Design
  502. + ~~~~~~~~~~~~~~~~~~~~~~~
  503. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  504. + FullyQualifiedErrorId : ExceptionWhenSetting
  505.  
  506. Exception setting "AutoFit": "Cannot convert value "Window" to type "Xceed.Words.NET.AutoFit". Error: "Invalid cast
  507. from 'AutoFit' to 'Xceed.Words.NET.AutoFit'.""
  508. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSwordTableSettings.ps1:35 char:9
  509. + $Table.AutoFit = $AutoFit
  510. + ~~~~~~~~~~~~~~~~~~~~~~~~~
  511. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  512. + FullyQualifiedErrorId : ExceptionWhenSetting
  513.  
  514. Exception setting "Design": "Cannot convert value "ColorfulGridAccent5" to type "Xceed.Words.NET.TableDesign". Error:
  515. "Invalid cast from 'TableDesign' to 'Xceed.Words.NET.TableDesign'.""
  516. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSwordTableSettings.ps1:47 char:9
  517. + $Table.Design = $Design
  518. + ~~~~~~~~~~~~~~~~~~~~~~~
  519. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  520. + FullyQualifiedErrorId : ExceptionWhenSetting
  521.  
  522. Exception setting "AutoFit": "Cannot convert value "Window" to type "Xceed.Words.NET.AutoFit". Error: "Invalid cast
  523. from 'AutoFit' to 'Xceed.Words.NET.AutoFit'.""
  524. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSwordTableSettings.ps1:35 char:9
  525. + $Table.AutoFit = $AutoFit
  526. + ~~~~~~~~~~~~~~~~~~~~~~~~~
  527. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  528. + FullyQualifiedErrorId : ExceptionWhenSetting
  529.  
  530. Exception setting "Alignment": "Cannot convert value "center" to type "Xceed.Words.NET.Alignment". Error: "Invalid
  531. cast from 'Alignment' to 'Xceed.Words.NET.Alignment'.""
  532. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordParagraph.ps1:585 char:9
  533. + $Paragraph.Alignment = $Alignment
  534. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  535. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  536. + FullyQualifiedErrorId : ExceptionWhenSetting
  537.  
  538. Cannot convert argument "listType", with value: "Numbered", for "AddList" to type "Xceed.Words.NET.ListItemType":
  539. "Cannot convert value "Numbered" to type "Xceed.Words.NET.ListItemType". Error: "Invalid cast from 'ListItemType' to
  540. 'Xceed.Words.NET.ListItemType'.""
  541. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:205 char:9
  542. + $List = $WordDocument.AddList($Text, $ListLevel, $ListItemType, $StartNu ...
  543. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  544. + CategoryInfo : NotSpecified: (:) [], MethodException
  545. + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument
  546.  
  547. Cannot index into a null array.
  548. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:206 char:9
  549. + $Paragraph = $List.Items[$List.Items.Count - 1]
  550. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  551. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  552. + FullyQualifiedErrorId : NullArray
  553.  
  554. You cannot call a method on a null-valued expression.
  555. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:69
  556. + Write-Verbose "Add-WordListItem - ListType Value: $Text Name: $($List.GetTyp ...
  557. + ~~~~~~~~~~~~
  558. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  559. + FullyQualifiedErrorId : InvokeMethodOnNull
  560.  
  561. You cannot call a method on a null-valued expression.
  562. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:105
  563. + ... - BaseType: $($List.GetType().BaseType)"
  564. + ~~~~~~~~~~~~~~~~~~~~~~~~
  565. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  566. + FullyQualifiedErrorId : InvokeMethodOnNull
  567.  
  568. Exception calling "InsertList" with "1" argument(s): "Object reference not set to an instance of an object."
  569. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:185 char:9
  570. + $data = $WordDocument.InsertList($List)
  571. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  572. + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
  573. + FullyQualifiedErrorId : NullReferenceException
  574.  
  575. You cannot call a method on a null-valued expression.
  576. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:59
  577. + Write-Verbose "Add-WordListItem - Return Type Name: $($Data.GetType().Name) ...
  578. + ~~~~~~~~~~~~~~~~~~~~
  579. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  580. + FullyQualifiedErrorId : InvokeMethodOnNull
  581.  
  582. You cannot call a method on a null-valued expression.
  583. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:95
  584. + ... - BaseType: $($Data.GetType().BaseType)"
  585. + ~~~~~~~~~~~~~~~~~~~~~~~~
  586. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  587. + FullyQualifiedErrorId : InvokeMethodOnNull
  588.  
  589. Exception setting "Design": "Cannot convert value "ColorfulGridAccent5" to type "Xceed.Words.NET.TableDesign". Error:
  590. "Invalid cast from 'TableDesign' to 'Xceed.Words.NET.TableDesign'.""
  591. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSwordTableSettings.ps1:47 char:9
  592. + $Table.Design = $Design
  593. + ~~~~~~~~~~~~~~~~~~~~~~~
  594. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  595. + FullyQualifiedErrorId : ExceptionWhenSetting
  596.  
  597. Exception setting "AutoFit": "Cannot convert value "Window" to type "Xceed.Words.NET.AutoFit". Error: "Invalid cast
  598. from 'AutoFit' to 'Xceed.Words.NET.AutoFit'.""
  599. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSwordTableSettings.ps1:35 char:9
  600. + $Table.AutoFit = $AutoFit
  601. + ~~~~~~~~~~~~~~~~~~~~~~~~~
  602. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  603. + FullyQualifiedErrorId : ExceptionWhenSetting
  604.  
  605. Exception setting "Alignment": "Cannot convert value "center" to type "Xceed.Words.NET.Alignment". Error: "Invalid
  606. cast from 'Alignment' to 'Xceed.Words.NET.Alignment'.""
  607. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordParagraph.ps1:585 char:9
  608. + $Paragraph.Alignment = $Alignment
  609. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  610. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  611. + FullyQualifiedErrorId : ExceptionWhenSetting
  612.  
  613. Cannot convert argument "listType", with value: "Numbered", for "AddList" to type "Xceed.Words.NET.ListItemType":
  614. "Cannot convert value "Numbered" to type "Xceed.Words.NET.ListItemType". Error: "Invalid cast from 'ListItemType' to
  615. 'Xceed.Words.NET.ListItemType'.""
  616. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:205 char:9
  617. + $List = $WordDocument.AddList($Text, $ListLevel, $ListItemType, $StartNu ...
  618. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  619. + CategoryInfo : NotSpecified: (:) [], MethodException
  620. + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument
  621.  
  622. Cannot index into a null array.
  623. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:206 char:9
  624. + $Paragraph = $List.Items[$List.Items.Count - 1]
  625. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  626. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  627. + FullyQualifiedErrorId : NullArray
  628.  
  629. You cannot call a method on a null-valued expression.
  630. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:69
  631. + Write-Verbose "Add-WordListItem - ListType Value: $Text Name: $($List.GetTyp ...
  632. + ~~~~~~~~~~~~
  633. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  634. + FullyQualifiedErrorId : InvokeMethodOnNull
  635.  
  636. You cannot call a method on a null-valued expression.
  637. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:105
  638. + ... - BaseType: $($List.GetType().BaseType)"
  639. + ~~~~~~~~~~~~~~~~~~~~~~~~
  640. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  641. + FullyQualifiedErrorId : InvokeMethodOnNull
  642.  
  643. Exception calling "InsertList" with "1" argument(s): "Object reference not set to an instance of an object."
  644. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:185 char:9
  645. + $data = $WordDocument.InsertList($List)
  646. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  647. + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
  648. + FullyQualifiedErrorId : NullReferenceException
  649.  
  650. You cannot call a method on a null-valued expression.
  651. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:59
  652. + Write-Verbose "Add-WordListItem - Return Type Name: $($Data.GetType().Name) ...
  653. + ~~~~~~~~~~~~~~~~~~~~
  654. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  655. + FullyQualifiedErrorId : InvokeMethodOnNull
  656.  
  657. You cannot call a method on a null-valued expression.
  658. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:95
  659. + ... - BaseType: $($Data.GetType().BaseType)"
  660. + ~~~~~~~~~~~~~~~~~~~~~~~~
  661. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  662. + FullyQualifiedErrorId : InvokeMethodOnNull
  663.  
  664. Exception setting "Design": "Cannot convert value "ColorfulGridAccent5" to type "Xceed.Words.NET.TableDesign". Error:
  665. "Invalid cast from 'TableDesign' to 'Xceed.Words.NET.TableDesign'.""
  666. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSwordTableSettings.ps1:47 char:9
  667. + $Table.Design = $Design
  668. + ~~~~~~~~~~~~~~~~~~~~~~~
  669. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  670. + FullyQualifiedErrorId : ExceptionWhenSetting
  671.  
  672. Exception setting "AutoFit": "Cannot convert value "Window" to type "Xceed.Words.NET.AutoFit". Error: "Invalid cast
  673. from 'AutoFit' to 'Xceed.Words.NET.AutoFit'.""
  674. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSwordTableSettings.ps1:35 char:9
  675. + $Table.AutoFit = $AutoFit
  676. + ~~~~~~~~~~~~~~~~~~~~~~~~~
  677. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  678. + FullyQualifiedErrorId : ExceptionWhenSetting
  679.  
  680. Cannot convert argument "listType", with value: "Numbered", for "AddList" to type "Xceed.Words.NET.ListItemType":
  681. "Cannot convert value "Numbered" to type "Xceed.Words.NET.ListItemType". Error: "Invalid cast from 'ListItemType' to
  682. 'Xceed.Words.NET.ListItemType'.""
  683. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:205 char:9
  684. + $List = $WordDocument.AddList($Text, $ListLevel, $ListItemType, $StartNu ...
  685. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  686. + CategoryInfo : NotSpecified: (:) [], MethodException
  687. + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument
  688.  
  689. Cannot index into a null array.
  690. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:206 char:9
  691. + $Paragraph = $List.Items[$List.Items.Count - 1]
  692. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  693. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  694. + FullyQualifiedErrorId : NullArray
  695.  
  696. You cannot call a method on a null-valued expression.
  697. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:69
  698. + Write-Verbose "Add-WordListItem - ListType Value: $Text Name: $($List.GetTyp ...
  699. + ~~~~~~~~~~~~
  700. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  701. + FullyQualifiedErrorId : InvokeMethodOnNull
  702.  
  703. You cannot call a method on a null-valued expression.
  704. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:105
  705. + ... - BaseType: $($List.GetType().BaseType)"
  706. + ~~~~~~~~~~~~~~~~~~~~~~~~
  707. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  708. + FullyQualifiedErrorId : InvokeMethodOnNull
  709.  
  710. Exception calling "InsertList" with "1" argument(s): "Object reference not set to an instance of an object."
  711. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:185 char:9
  712. + $data = $WordDocument.InsertList($List)
  713. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  714. + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
  715. + FullyQualifiedErrorId : NullReferenceException
  716.  
  717. You cannot call a method on a null-valued expression.
  718. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:59
  719. + Write-Verbose "Add-WordListItem - Return Type Name: $($Data.GetType().Name) ...
  720. + ~~~~~~~~~~~~~~~~~~~~
  721. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  722. + FullyQualifiedErrorId : InvokeMethodOnNull
  723.  
  724. You cannot call a method on a null-valued expression.
  725. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:95
  726. + ... - BaseType: $($Data.GetType().BaseType)"
  727. + ~~~~~~~~~~~~~~~~~~~~~~~~
  728. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  729. + FullyQualifiedErrorId : InvokeMethodOnNull
  730.  
  731. Exception setting "Design": "Cannot convert value "ColorfulGridAccent5" to type "Xceed.Words.NET.TableDesign". Error:
  732. "Invalid cast from 'TableDesign' to 'Xceed.Words.NET.TableDesign'.""
  733. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSwordTableSettings.ps1:47 char:9
  734. + $Table.Design = $Design
  735. + ~~~~~~~~~~~~~~~~~~~~~~~
  736. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  737. + FullyQualifiedErrorId : ExceptionWhenSetting
  738.  
  739. Exception setting "AutoFit": "Cannot convert value "Window" to type "Xceed.Words.NET.AutoFit". Error: "Invalid cast
  740. from 'AutoFit' to 'Xceed.Words.NET.AutoFit'.""
  741. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSwordTableSettings.ps1:35 char:9
  742. + $Table.AutoFit = $AutoFit
  743. + ~~~~~~~~~~~~~~~~~~~~~~~~~
  744. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  745. + FullyQualifiedErrorId : ExceptionWhenSetting
  746.  
  747. Cannot convert argument "listType", with value: "Numbered", for "AddList" to type "Xceed.Words.NET.ListItemType":
  748. "Cannot convert value "Numbered" to type "Xceed.Words.NET.ListItemType". Error: "Invalid cast from 'ListItemType' to
  749. 'Xceed.Words.NET.ListItemType'.""
  750. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:205 char:9
  751. + $List = $WordDocument.AddList($Text, $ListLevel, $ListItemType, $StartNu ...
  752. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  753. + CategoryInfo : NotSpecified: (:) [], MethodException
  754. + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument
  755.  
  756. Cannot index into a null array.
  757. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:206 char:9
  758. + $Paragraph = $List.Items[$List.Items.Count - 1]
  759. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  760. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  761. + FullyQualifiedErrorId : NullArray
  762.  
  763. You cannot call a method on a null-valued expression.
  764. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:69
  765. + Write-Verbose "Add-WordListItem - ListType Value: $Text Name: $($List.GetTyp ...
  766. + ~~~~~~~~~~~~
  767. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  768. + FullyQualifiedErrorId : InvokeMethodOnNull
  769.  
  770. You cannot call a method on a null-valued expression.
  771. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:105
  772. + ... - BaseType: $($List.GetType().BaseType)"
  773. + ~~~~~~~~~~~~~~~~~~~~~~~~
  774. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  775. + FullyQualifiedErrorId : InvokeMethodOnNull
  776.  
  777. Exception calling "InsertList" with "1" argument(s): "Object reference not set to an instance of an object."
  778. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:185 char:9
  779. + $data = $WordDocument.InsertList($List)
  780. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  781. + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
  782. + FullyQualifiedErrorId : NullReferenceException
  783.  
  784. You cannot call a method on a null-valued expression.
  785. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:59
  786. + Write-Verbose "Add-WordListItem - Return Type Name: $($Data.GetType().Name) ...
  787. + ~~~~~~~~~~~~~~~~~~~~
  788. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  789. + FullyQualifiedErrorId : InvokeMethodOnNull
  790.  
  791. You cannot call a method on a null-valued expression.
  792. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:95
  793. + ... - BaseType: $($Data.GetType().BaseType)"
  794. + ~~~~~~~~~~~~~~~~~~~~~~~~
  795. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  796. + FullyQualifiedErrorId : InvokeMethodOnNull
  797.  
  798. Exception setting "Design": "Cannot convert value "ColorfulGridAccent5" to type "Xceed.Words.NET.TableDesign". Error:
  799. "Invalid cast from 'TableDesign' to 'Xceed.Words.NET.TableDesign'.""
  800. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSwordTableSettings.ps1:47 char:9
  801. + $Table.Design = $Design
  802. + ~~~~~~~~~~~~~~~~~~~~~~~
  803. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  804. + FullyQualifiedErrorId : ExceptionWhenSetting
  805.  
  806. Exception setting "AutoFit": "Cannot convert value "Window" to type "Xceed.Words.NET.AutoFit". Error: "Invalid cast
  807. from 'AutoFit' to 'Xceed.Words.NET.AutoFit'.""
  808. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSwordTableSettings.ps1:35 char:9
  809. + $Table.AutoFit = $AutoFit
  810. + ~~~~~~~~~~~~~~~~~~~~~~~~~
  811. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  812. + FullyQualifiedErrorId : ExceptionWhenSetting
  813.  
  814. Cannot convert argument "listType", with value: "Numbered", for "AddList" to type "Xceed.Words.NET.ListItemType":
  815. "Cannot convert value "Numbered" to type "Xceed.Words.NET.ListItemType". Error: "Invalid cast from 'ListItemType' to
  816. 'Xceed.Words.NET.ListItemType'.""
  817. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:205 char:9
  818. + $List = $WordDocument.AddList($Text, $ListLevel, $ListItemType, $StartNu ...
  819. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  820. + CategoryInfo : NotSpecified: (:) [], MethodException
  821. + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument
  822.  
  823. Cannot index into a null array.
  824. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:206 char:9
  825. + $Paragraph = $List.Items[$List.Items.Count - 1]
  826. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  827. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  828. + FullyQualifiedErrorId : NullArray
  829.  
  830. You cannot call a method on a null-valued expression.
  831. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:69
  832. + Write-Verbose "Add-WordListItem - ListType Value: $Text Name: $($List.GetTyp ...
  833. + ~~~~~~~~~~~~
  834. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  835. + FullyQualifiedErrorId : InvokeMethodOnNull
  836.  
  837. You cannot call a method on a null-valued expression.
  838. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:105
  839. + ... - BaseType: $($List.GetType().BaseType)"
  840. + ~~~~~~~~~~~~~~~~~~~~~~~~
  841. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  842. + FullyQualifiedErrorId : InvokeMethodOnNull
  843.  
  844. Exception calling "InsertList" with "1" argument(s): "Object reference not set to an instance of an object."
  845. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:185 char:9
  846. + $data = $WordDocument.InsertList($List)
  847. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  848. + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
  849. + FullyQualifiedErrorId : NullReferenceException
  850.  
  851. You cannot call a method on a null-valued expression.
  852. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:59
  853. + Write-Verbose "Add-WordListItem - Return Type Name: $($Data.GetType().Name) ...
  854. + ~~~~~~~~~~~~~~~~~~~~
  855. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  856. + FullyQualifiedErrorId : InvokeMethodOnNull
  857.  
  858. You cannot call a method on a null-valued expression.
  859. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:95
  860. + ... - BaseType: $($Data.GetType().BaseType)"
  861. + ~~~~~~~~~~~~~~~~~~~~~~~~
  862. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  863. + FullyQualifiedErrorId : InvokeMethodOnNull
  864.  
  865. Exception setting "Design": "Cannot convert value "ColorfulGridAccent5" to type "Xceed.Words.NET.TableDesign". Error:
  866. "Invalid cast from 'TableDesign' to 'Xceed.Words.NET.TableDesign'.""
  867. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSwordTableSettings.ps1:47 char:9
  868. + $Table.Design = $Design
  869. + ~~~~~~~~~~~~~~~~~~~~~~~
  870. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  871. + FullyQualifiedErrorId : ExceptionWhenSetting
  872.  
  873. Exception setting "AutoFit": "Cannot convert value "Window" to type "Xceed.Words.NET.AutoFit". Error: "Invalid cast
  874. from 'AutoFit' to 'Xceed.Words.NET.AutoFit'.""
  875. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSwordTableSettings.ps1:35 char:9
  876. + $Table.AutoFit = $AutoFit
  877. + ~~~~~~~~~~~~~~~~~~~~~~~~~
  878. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  879. + FullyQualifiedErrorId : ExceptionWhenSetting
  880.  
  881. Cannot convert argument "listType", with value: "Numbered", for "AddList" to type "Xceed.Words.NET.ListItemType":
  882. "Cannot convert value "Numbered" to type "Xceed.Words.NET.ListItemType". Error: "Invalid cast from 'ListItemType' to
  883. 'Xceed.Words.NET.ListItemType'.""
  884. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:205 char:9
  885. + $List = $WordDocument.AddList($Text, $ListLevel, $ListItemType, $StartNu ...
  886. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  887. + CategoryInfo : NotSpecified: (:) [], MethodException
  888. + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument
  889.  
  890. Cannot index into a null array.
  891. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:206 char:9
  892. + $Paragraph = $List.Items[$List.Items.Count - 1]
  893. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  894. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  895. + FullyQualifiedErrorId : NullArray
  896.  
  897. You cannot call a method on a null-valued expression.
  898. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:69
  899. + Write-Verbose "Add-WordListItem - ListType Value: $Text Name: $($List.GetTyp ...
  900. + ~~~~~~~~~~~~
  901. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  902. + FullyQualifiedErrorId : InvokeMethodOnNull
  903.  
  904. You cannot call a method on a null-valued expression.
  905. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:211 char:105
  906. + ... - BaseType: $($List.GetType().BaseType)"
  907. + ~~~~~~~~~~~~~~~~~~~~~~~~
  908. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  909. + FullyQualifiedErrorId : InvokeMethodOnNull
  910.  
  911. Exception calling "InsertList" with "1" argument(s): "Object reference not set to an instance of an object."
  912. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:185 char:9
  913. + $data = $WordDocument.InsertList($List)
  914. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  915. + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
  916. + FullyQualifiedErrorId : NullReferenceException
  917.  
  918. You cannot call a method on a null-valued expression.
  919. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:59
  920. + Write-Verbose "Add-WordListItem - Return Type Name: $($Data.GetType().Name) ...
  921. + ~~~~~~~~~~~~~~~~~~~~
  922. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  923. + FullyQualifiedErrorId : InvokeMethodOnNull
  924.  
  925. You cannot call a method on a null-valued expression.
  926. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordLists.ps1:187 char:95
  927. + ... - BaseType: $($Data.GetType().BaseType)"
  928. + ~~~~~~~~~~~~~~~~~~~~~~~~
  929. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  930. + FullyQualifiedErrorId : InvokeMethodOnNull
  931.  
  932. Exception setting "Design": "Cannot convert value "ColorfulGridAccent5" to type "Xceed.Words.NET.TableDesign". Error:
  933. "Invalid cast from 'TableDesign' to 'Xceed.Words.NET.TableDesign'.""
  934. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSwordTableSettings.ps1:47 char:9
  935. + $Table.Design = $Design
  936. + ~~~~~~~~~~~~~~~~~~~~~~~
  937. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  938. + FullyQualifiedErrorId : ExceptionWhenSetting
  939.  
  940. Exception setting "AutoFit": "Cannot convert value "Window" to type "Xceed.Words.NET.AutoFit". Error: "Invalid cast
  941. from 'AutoFit' to 'Xceed.Words.NET.AutoFit'.""
  942. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSwordTableSettings.ps1:35 char:9
  943. + $Table.AutoFit = $AutoFit
  944. + ~~~~~~~~~~~~~~~~~~~~~~~~~
  945. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  946. + FullyQualifiedErrorId : ExceptionWhenSetting
  947.  
  948. Exception setting "Alignment": "Cannot convert value "center" to type "Xceed.Words.NET.Alignment". Error: "Invalid
  949. cast from 'Alignment' to 'Xceed.Words.NET.Alignment'.""
  950. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordParagraph.ps1:585 char:9
  951. + $Paragraph.Alignment = $Alignment
  952. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  953. + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
  954. + FullyQualifiedErrorId : ExceptionWhenSetting
  955.  
  956. Cannot convert argument "position", with value: "Bottom", for "AddLegend" to type
  957. "Xceed.Words.NET.ChartLegendPosition": "Cannot convert value "Bottom" to type "Xceed.Words.NET.ChartLegendPosition".
  958. Error: "Invalid cast from 'ChartLegendPosition' to 'Xceed.Words.NET.ChartLegendPosition'.""
  959. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\Public\PSWordCharts.ps1:16 char:5
  960. + $chart.AddLegend($ChartLegendPosition, $ChartLegendOverlay)
  961. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  962. + CategoryInfo : NotSpecified: (:) [], MethodException
  963. + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement