From c97392579019e7a2bb166a88b7a79517d3200d36 Mon Sep 17 00:00:00 2001 From: Rich Date: Mon, 6 May 2019 18:23:22 +0000 Subject: [PATCH] Added Properties required for the Import of MSWord text. --- PROMS/LBWordLibrary/LBComObject.cs | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/PROMS/LBWordLibrary/LBComObject.cs b/PROMS/LBWordLibrary/LBComObject.cs index 212f1114..b6637e41 100644 --- a/PROMS/LBWordLibrary/LBComObject.cs +++ b/PROMS/LBWordLibrary/LBComObject.cs @@ -477,6 +477,11 @@ namespace LBWordLibrary { get { return new LBPageSetup(GetProperty("PageSetup")); } } + // C2019-021 Added LateBinding for ListFormat + public LBListFormat ListFormat + { + get { return new LBListFormat(GetProperty("ListFormat")); } + } public LBFontClass Font { get { return new LBFontClass(GetProperty("Font")); } @@ -1745,7 +1750,22 @@ namespace LBWordLibrary get { return (GetProperty("ListLevelNumber") as int? ?? 0); } } } -// public partial class LBStyles : LBComObjectList /* Collection */ + // C2019-021 Added new object type LBListFormat + public partial class LBListFormat : LBComObject + { + public LBListFormat() { } + public LBListFormat(Object item) : base(item) { } + public String NameLocal + { + get { return (GetProperty("NameLocal").ToString()); } + set { SetProperty("NameLocal", value); } + } + public string ListString + { + get { return (GetProperty("ListString").ToString()); } + } + } + // public partial class LBStyles : LBComObjectList /* Collection */ // { // public LBStyles(Object item) // {