This commit is contained in:
John Jenko 2010-08-12 16:02:05 +00:00
parent 0a6f171f83
commit f91459b9f0

View File

@ -135,6 +135,11 @@ namespace LBWordLibrary
{ {
get { return (GetProperty("BackgroundPrintingStatus") as int? ?? 0); } get { return (GetProperty("BackgroundPrintingStatus") as int? ?? 0); }
} }
public LBWdWindowState WindowState
{
get { return (LBWdWindowState)GetProperty("WindowState"); }
set { SetProperty("WindowState", value); }
}
public void Quit() public void Quit()
{ {
InvokeMethod("Quit", Missing.Value, Missing.Value, Missing.Value); InvokeMethod("Quit", Missing.Value, Missing.Value, Missing.Value);
@ -151,6 +156,10 @@ namespace LBWordLibrary
{ {
InvokeMethod("PrintOut", Background, Append, Range, OutputFileName, From, To, Item, Copies, Pages, PageType, PrintToFile, Collate, FileName, ActivePrinterMacGX, ManualDuplexPrint, PrintZoomColumn, PrintZoomRow, PrintZoomPaperWidth, PrintZoomPaperHeight); InvokeMethod("PrintOut", Background, Append, Range, OutputFileName, From, To, Item, Copies, Pages, PageType, PrintToFile, Collate, FileName, ActivePrinterMacGX, ManualDuplexPrint, PrintZoomColumn, PrintZoomRow, PrintZoomPaperWidth, PrintZoomPaperHeight);
} }
public void Activate()
{
InvokeMethod("Activate");
}
} }
public partial class LBDocuments : LBComObjectList<LBDocuments, LBDocumentClass> /* Collection */ public partial class LBDocuments : LBComObjectList<LBDocuments, LBDocumentClass> /* Collection */
{ {
@ -349,6 +358,12 @@ namespace LBWordLibrary
get { return new LBView(GetProperty("View")); } get { return new LBView(GetProperty("View")); }
} }
} }
public enum LBWdWindowState
{
wdWindowStateNormal = 0,
wdWindowStateMaximize = 1,
wdWindowStateMinimize = 2
}
public partial class LBRange : LBComObject public partial class LBRange : LBComObject
{ {
public LBRange() { } public LBRange() { }