Added a button for importing text from a word document
Allows you to select/open a word document and will put word text on clipboard To remember the last word document opened
This commit is contained in:
@@ -715,6 +715,9 @@ namespace Volian.Controls.Library
|
||||
rbnBorderlistBox.SetupFontAndSize(6); // 6 Point Font
|
||||
// added per Harry to hide refresh buttons
|
||||
btnRefObjRefresh.Visible = btnTranRefresh.Visible = false;
|
||||
// hide the import from Word file if not running in Debug mode
|
||||
if (!VlnSettings.DebugMode)
|
||||
rbnImpWrd.Visible = false;
|
||||
}
|
||||
|
||||
void _RibbonControl_SizeChanged(object sender, EventArgs e)
|
||||
@@ -3275,6 +3278,13 @@ namespace Volian.Controls.Library
|
||||
(this.Parent as StepTabPanel).MyDisplayTabControl.ItemsChangeIds.Remove(_MyEditItem.MyStepRTB.MyItemInfo.MyProcedure.ItemID);
|
||||
(this.Parent as StepTabPanel).MyDisplayTabControl.ItemsChangeIds.Add(_MyEditItem.MyStepRTB.MyItemInfo.MyProcedure.ItemID, txtBxChgId.Text);
|
||||
}
|
||||
|
||||
// open the Import Word Text dialog
|
||||
private void rbnImpWrd_ItemClick(object sender, EventArgs e)
|
||||
{
|
||||
frmImportWordContents fiwc = new frmImportWordContents();
|
||||
fiwc.Show();
|
||||
}
|
||||
}
|
||||
public class StepTabRibbonEventArgs : EventArgs
|
||||
{
|
||||
|
Reference in New Issue
Block a user