Class ImplementDialogs
Implement the all recorded Dialogs [save dialog
Inheritance
System.Object
ImplementDialogs
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Quark.XA.Core.AutomationProject
Assembly: Quark.XA.Core.AutomationProject.dll
Syntax
public class ImplementDialogs
Constructors
ImplementDialogs(ref Application)
Declaration
public ImplementDialogs(ref Application application)
Parameters
| Type | Name | Description |
|---|---|---|
| Application | application |
Methods
CloseCrossRefDlg()
Declaration
public void CloseCrossRefDlg()
CreateTableWindow(ImplementDialogs.TableType, String, String, Boolean, Boolean)
Create Table
Declaration
public void CreateTableWindow(ImplementDialogs.TableType table, string numberofColumns = "3", string numberofRows = "3", bool perf = false, bool log = false)
Parameters
| Type | Name | Description |
|---|---|---|
| ImplementDialogs.TableType | table | Type of Table[HTML Table, SimpleTable, Table] |
| System.String | numberofColumns | Columns |
| System.String | numberofRows | Rows |
| System.Boolean | perf | |
| System.Boolean | log |
DeleteTableWindow(ImplementDialogs.Decision)
Declaration
public void DeleteTableWindow(ImplementDialogs.Decision decision)
Parameters
| Type | Name | Description |
|---|---|---|
| ImplementDialogs.Decision | decision |
FindWindow(String, Int32)
Find Window
Declaration
public void FindWindow(string findwhat, int findCount = 1)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | findwhat | Find what text |
| System.Int32 | findCount |
GetCrossReferenceDlg(String[], String, String, String, Boolean, Boolean)
Declaration
public void GetCrossReferenceDlg(string[] forList = null, string refType = "", string refTo = "", string refCaption = "", bool insertBtn = false, bool closeBtn = true)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String[] | forList | |
| System.String | refType | |
| System.String | refTo | |
| System.String | refCaption | |
| System.Boolean | insertBtn | |
| System.Boolean | closeBtn |
getDefaultTableRowsColumns()
Declaration
public int[] getDefaultTableRowsColumns()
Returns
| Type | Description |
|---|---|
| System.Int32[] |
GotoItemWindow(String, String)
Goto Window
Declaration
public void GotoItemWindow(string gotoitem, string positionofitem)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | gotoitem | Goto Item Name |
| System.String | positionofitem | Position |
HyperlinkWindow(String, String)
Hyperlink window
Declaration
public void HyperlinkWindow(string displaytext, string hyperlink)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | displaytext | Display text |
| System.String | hyperlink | Hyperlink |
MarkUpDeletionsInWord(String)
Changes will not be Tracked Dialog
Declaration
public void MarkUpDeletionsInWord(string comboName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | comboName |
MathTypeWindow(String)
Declaration
public void MathTypeWindow(string equation = "{F8}")
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | equation |
NoteOptionsWindow(ImplementDialogs.NoteOption, String)
Note Options Window
Declaration
public void NoteOptionsWindow(ImplementDialogs.NoteOption noteoptions, string data)
Parameters
| Type | Name | Description |
|---|---|---|
| ImplementDialogs.NoteOption | noteoptions | Type of Operation |
| System.String | data | Data to input |
OpenWindow(String, Boolean, Boolean)
Open/Open Xml Author window
Declaration
public void OpenWindow(string openfile, bool perf = false, bool log = false)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | openfile | File name |
| System.Boolean | perf | |
| System.Boolean | log |
PictureWindow(String)
Picture window
Declaration
public void PictureWindow(string picturefile)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | picturefile | File name |
ReadonlyAlert()
Alert on action in Read only elements
Declaration
public void ReadonlyAlert()
ReplaceBtnDisabled(String)
Declaration
public void ReplaceBtnDisabled(string findWhat)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | findWhat |
ReplaceWindow(ImplementDialogs.ReplaceType, String, String, Boolean, Boolean)
Replace Window
Declaration
public void ReplaceWindow(ImplementDialogs.ReplaceType replacetype, string replacewhat, string replacewith, bool perf = false, bool log = false)
Parameters
| Type | Name | Description |
|---|---|---|
| ImplementDialogs.ReplaceType | replacetype | Replace type [selected text, all] |
| System.String | replacewhat | Find what |
| System.String | replacewith | Replace with |
| System.Boolean | perf | |
| System.Boolean | log |
SaveAsWindow(String, Boolean, Boolean, Boolean)
Save/Save as window
Declaration
public void SaveAsWindow(string savefile, bool IsSaveAs = false, bool perf = false, bool log = false)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | savefile | File name |
| System.Boolean | IsSaveAs | |
| System.Boolean | perf | |
| System.Boolean | log |
SelectSymbol()
Symbol window
Declaration
public void SelectSymbol()
SetCrossReferenceDlg(String, String, String, String, Boolean, Boolean)
Declaration
public void SetCrossReferenceDlg(string refType = "", string refTo = "", string refCaption = "", string forList = "", bool insertBtn = true, bool closeBtn = true)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | refType | |
| System.String | refTo | |
| System.String | refCaption | |
| System.String | forList | |
| System.Boolean | insertBtn | |
| System.Boolean | closeBtn |
SpellCheckBtn(String[])
Spell check dialog
Declaration
public void SpellCheckBtn(params string[] buttonOptions)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String[] | buttonOptions |
SplitCellWindow(String, String, Boolean, Boolean)
Split cell window
Declaration
public void SplitCellWindow(string numberofcolumns = "2", string numberofrows = "1", bool perf = false, bool log = false)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | numberofcolumns | Columns |
| System.String | numberofrows | Rows |
| System.Boolean | perf | |
| System.Boolean | log |
TextDirectionWindow(ImplementDialogs.TextDirection)
Table: Text direction
Declaration
public void TextDirectionWindow(ImplementDialogs.TextDirection textdirection)
Parameters
| Type | Name | Description |
|---|---|---|
| ImplementDialogs.TextDirection | textdirection | Direction[Vertical Ascending, Horizontal, Vertical Descending] |
TrackChangesWindow(ImplementDialogs.Decision)
Declaration
public void TrackChangesWindow(ImplementDialogs.Decision decision)
Parameters
| Type | Name | Description |
|---|---|---|
| ImplementDialogs.Decision | decision |