update 20251228
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -402,6 +402,39 @@ namespace OnDocOffice
|
||||
}
|
||||
}
|
||||
|
||||
//public void Show_Document(bool runmacros)
|
||||
//{
|
||||
// bool readOnly = true;
|
||||
// Object oMissing = System.Reflection.Missing.Value;
|
||||
// Start_Application();
|
||||
// doc = word.Documents.Open(filename,false,true);
|
||||
|
||||
// word.Visible = true;
|
||||
|
||||
// if (runmacros == true)
|
||||
// {
|
||||
// Logging.Logging.Debug("Makros auslesen", "Edit_Document", dokumentid);
|
||||
// Database.DB db = new Database.DB(connectstring);
|
||||
// db.Get_Tabledata("Select * from ondoc_macros where dokumentid='" + dokumentid + "' order by reihenfolge", false, true);
|
||||
// foreach (DataRow dr in db.dsdaten.Tables[0].Rows)
|
||||
// {
|
||||
// try
|
||||
// {
|
||||
// Logging.Logging.Debug("Makro ", "Edit_Document", dr[0].ToString());
|
||||
// word.Run(dr[0].ToString());
|
||||
// }
|
||||
// catch (Exception e)
|
||||
// {
|
||||
// Logging.Logging.Debug("MakroError ", "Edit_Document", e.Message);
|
||||
// string a = e.Message;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// //clsProcessWatch.AddToList(dokumentid, filename, "Word");
|
||||
// bool isClosed = IsDocumentClosed(word, doc);
|
||||
// doc = null;
|
||||
// word = null;
|
||||
//}
|
||||
|
||||
public void Edit_Document(bool runmacros)
|
||||
{
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user