C# 클래스 TPConfAddin.ThisAddIn

상속: Microsoft.Office.Tools.Outlook.OutlookAddInBase
파일 보기 프로젝트 열기: eSDK/esdk_OutlookPlugin

공개 프로퍼티들

프로퍼티 타입 설명
AppSubjectDic BackUpAppointment>.Dictionary
delRecuMeet bool
editBack bool
errorMessage string>.Dictionary
g_AccountInfo AccountInfoClass
g_SystemSettings SystemSettingsClass
g_currentAppointItem Microsoft.Office.Interop.Outlook.AppointmentItem
g_listAppt List
g_log ILog
helpFilePath string
loginRecipient Recipient
templateFilePath string
tp_Loaded bool

공개 메소드들

메소드 설명
Application_ItemLoad ( object Item ) : void

application ItemLoad

GetNotificationCurrentLanguage ( string strLanguage ) : string
GetTPSitesFromLocation ( Microsoft.Office.Interop.Outlook ai ) : List

从地址栏获取会场地址

GetUserProperties ( ConferenceInfo &confInfo, Microsoft.Office.Interop.Outlook.AppointmentItem ai ) : void

获取用户自定义属性

Inspectors_NewInspector ( Microsoft.Office.Interop.Outlook.Inspector Inspector ) : void
Item_Property_Change ( string Name ) : void

item property change

OutlookItemSend ( object Item, bool &Cancel ) : void

响应Outlook的ItemSend事件

ReadLineFile ( string filePath ) : string>.Dictionary

按行读取

SaveRecurrenceReturnUserProperties ( RecurrenceConfInfo confInfo, Microsoft.Office.Interop.Outlook.AppointmentItem ai, List rAppoints ) : void
SaveReturnUserProperties ( ConferenceInfo confInfo, Microsoft.Office.Interop.Outlook.AppointmentItem ai ) : void

保存用户自定义属性

SetNotificationLanguage ( string strLanguage ) : string

根据language后缀,返回通知模板路径

UpgradeMessageCallBackEx ( int iMsgID, StringBuilder pchDescription ) : bool

升级消息回调函数

item_BeforeCheckNames ( bool &Cancel ) : void

비공개 메소드들

메소드 설명
AddMenuBar ( ) : void

添加智真会议工具栏

BeginInitialization ( ) : void
BindToData ( ) : void
BoolToSMC ( Microsoft.Office.Interop.Outlook.AppointmentItem ai ) : bool

判断会场数量>2,是否从插件进入,满足条件,与SMC交互

CompareRecipient ( Microsoft.Office.Interop.Outlook.AppointmentItem appItem, MeetingItem mItem ) : bool

比较用户,判断是修改还是删除

CompareUserProperty ( BackUpAppointment bak_appointment, Microsoft.Office.Interop.Outlook.AppointmentItem ai ) : bool
CopyBody ( Microsoft.Office.Interop.Outlook.AppointmentItem ai, Microsoft.Office.Interop.Outlook.MailItem mailItem ) : void
CopyBodyToMeeting ( Microsoft.Office.Interop.Outlook.AppointmentItem ai, MeetingItem &meetingItem ) : void
CreateConference ( Microsoft.Office.Interop.Outlook.AppointmentItem tempAppt, MeetingItem meetingItem ) : int

创建预约会议

DeleteConference ( Microsoft.Office.Interop.Outlook.AppointmentItem tempAppt, Recipients recipients ) : int

删除预约会议

DeleteConferenceWithTime ( Microsoft.Office.Interop.Outlook.AppointmentItem tempAppt, Recipients recipients, DateTime date ) : int

删除周期会议的子会议

EditConference ( Microsoft.Office.Interop.Outlook.AppointmentItem &tempAppt, MeetingItem tempMeet ) : int

修改预约会议

EditConferenceCompare ( MeetingItem meetingItem, Microsoft.Office.Interop.Outlook.AppointmentItem ai, BackUpAppointment bak_appointment ) : bool

避免与SMC交互两次

EndInitialization ( ) : void
FinishInitialization ( ) : void
GetConfInfoUserProperty ( Microsoft.Office.Interop.Outlook.AppointmentItem ai ) : ConferenceInfo

Initialize ( ) : void
InitializeCachedData ( ) : void
InitializeComponents ( ) : void
InitializeControls ( ) : void
InitializeData ( ) : void
InitializeDataBindings ( ) : void
InternalStartup ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

IsCached ( string MemberName ) : bool
IsConfInfoUserPropertyExist ( Microsoft.Office.Interop.Outlook.AppointmentItem ai ) : bool

判断appointmentitem是否含有ConfInfo属性

IsEnterFromSelfUserPropertyExist ( Microsoft.Office.Interop.Outlook.AppointmentItem ai ) : bool

判断appointmentitem是否含有EnterFromSelf属性

NeedsFill ( string MemberName ) : bool
OnShutdown ( ) : void
RemoveMenubar ( ) : void

移除工具栏

SaveRecuConfReturnUserProperties ( RecurrenceConfInfo confInfo, Microsoft.Office.Interop.Outlook.AppointmentItem ai, List rAppoints ) : void

2014/10/24 保存会议属性,不包含ConfId

SendRecipientsInfo ( Microsoft.Office.Interop.Outlook.AppointmentItem ai, MeetingItem meetingItem ) : void

选择发送人员信息

StartCaching ( string MemberName ) : void
StopCaching ( string MemberName ) : void
ThisAddIn ( global factory, global serviceProvider )
ThisAddIn_Shutdown ( object sender, System e ) : void
ThisAddIn_Startup ( object sender, System e ) : void

Update ( ) : void
ValueBackAppointMent ( Microsoft.Office.Interop.Outlook.AppointmentItem &ai, BackUpAppointment bak_appointment ) : void

会议修改失败,会议属性回滚 2014/11/6

WetherContainTPSites ( Microsoft.Office.Interop.Outlook.AppointmentItem appt ) : int
copyAppointMentItem ( Microsoft.Office.Interop.Outlook.AppointmentItem item ) : BackUpAppointment

保存打开的约会信息 2014/11/6

editRecurrenceTPConf ( Microsoft.Office.Interop.Outlook.AppointmentItem ai, RecurrenceConfInfo &ConfInfo, MeetingItem meetingItem ) : int

修改周期性智真会议

editTPConf ( Microsoft.Office.Interop.Outlook.AppointmentItem ai, ConferenceInfo &ConfInfo, MeetingItem meetingItem ) : int

修改非周期性智真会议

getConfLasts ( Microsoft.Office.Interop.Outlook.AppointmentItem item ) : string

根据格式,获取会议时长

getWeekDays ( OlDaysOfWeek dayOfWeek ) : int[]

获取一周中有几天。周日~周六分别对应0~6

keybd_event ( byte bVk, byte bScan, int dwFlags, int dwExtraInfo ) : void
replaceContentsInTemplate ( Microsoft.Office.Interop.Outlook.AppointmentItem ai, string textTemplate, ConferenceInfo &confInfo ) : string

替换通知模板中的内容

replaceContentsInTemplateRecurrence ( Microsoft.Office.Interop.Outlook.AppointmentItem ai, string textTemplate, RecurrenceConfInfo &confInfo ) : string

替换通知模板中的内容

scheduleRecurrenceTPConf ( Microsoft.Office.Interop.Outlook.AppointmentItem &ai ) : int

预约周期性智真会议

scheduleTPConf ( Microsoft.Office.Interop.Outlook.AppointmentItem ai ) : int

预约非周期性智真会议

sendMailNotifications ( Microsoft.Office.Interop.Outlook.AppointmentItem appt, OperatorType opType, Recipients recipients ) : void

发送邮件通知

setConferenceInfo ( ConferenceInfo &ConfInfo, Microsoft.Office.Interop.Outlook.AppointmentItem tempAppt ) : void

从约会界面,获取非周期性会议信息

setRecurrenceConferenceInfo ( RecurrenceConfInfo &recurrenceConfInfo, Microsoft.Office.Interop.Outlook.AppointmentItem ai, bool bSingle ) : void

获取周期性会议信息

setRecurrenceConferenceInfo ( RecurrenceConfInfo &recurrenceConfInfo, Microsoft.Office.Interop.Outlook.AppointmentItem ai, bool bSingle, MeetingItem meeting ) : void

获取周期性会议信息

transSysTimezone2SMC ( Microsoft.Office.Interop.Outlook tz ) : string

메소드 상세

Application_ItemLoad() 공개 메소드

application ItemLoad
public Application_ItemLoad ( object Item ) : void
Item object
리턴 void

GetNotificationCurrentLanguage() 공개 정적인 메소드

public static GetNotificationCurrentLanguage ( string strLanguage ) : string
strLanguage string
리턴 string

GetTPSitesFromLocation() 공개 정적인 메소드

从地址栏获取会场地址
public static GetTPSitesFromLocation ( Microsoft.Office.Interop.Outlook ai ) : List
ai Microsoft.Office.Interop.Outlook Outlook Appointment Item
리턴 List

GetUserProperties() 공개 정적인 메소드

获取用户自定义属性
public static GetUserProperties ( ConferenceInfo &confInfo, Microsoft.Office.Interop.Outlook.AppointmentItem ai ) : void
confInfo ConferenceInfo
ai Microsoft.Office.Interop.Outlook.AppointmentItem
리턴 void

Inspectors_NewInspector() 공개 메소드

public Inspectors_NewInspector ( Microsoft.Office.Interop.Outlook.Inspector Inspector ) : void
Inspector Microsoft.Office.Interop.Outlook.Inspector
리턴 void

Item_Property_Change() 공개 정적인 메소드

item property change
public static Item_Property_Change ( string Name ) : void
Name string
리턴 void

OutlookItemSend() 공개 메소드

响应Outlook的ItemSend事件
public OutlookItemSend ( object Item, bool &Cancel ) : void
Item object
Cancel bool
리턴 void

ReadLineFile() 공개 정적인 메소드

按行读取
public static ReadLineFile ( string filePath ) : string>.Dictionary
filePath string
리턴 string>.Dictionary

SaveRecurrenceReturnUserProperties() 공개 정적인 메소드

public static SaveRecurrenceReturnUserProperties ( RecurrenceConfInfo confInfo, Microsoft.Office.Interop.Outlook.AppointmentItem ai, List rAppoints ) : void
confInfo RecurrenceConfInfo
ai Microsoft.Office.Interop.Outlook.AppointmentItem
rAppoints List
리턴 void

SaveReturnUserProperties() 공개 정적인 메소드

保存用户自定义属性
public static SaveReturnUserProperties ( ConferenceInfo confInfo, Microsoft.Office.Interop.Outlook.AppointmentItem ai ) : void
confInfo ConferenceInfo
ai Microsoft.Office.Interop.Outlook.AppointmentItem
리턴 void

SetNotificationLanguage() 공개 정적인 메소드

根据language后缀,返回通知模板路径
public static SetNotificationLanguage ( string strLanguage ) : string
strLanguage string
리턴 string

UpgradeMessageCallBackEx() 공개 정적인 메소드

升级消息回调函数
public static UpgradeMessageCallBackEx ( int iMsgID, StringBuilder pchDescription ) : bool
iMsgID int
pchDescription StringBuilder
리턴 bool

item_BeforeCheckNames() 공개 메소드

public item_BeforeCheckNames ( bool &Cancel ) : void
Cancel bool
리턴 void

프로퍼티 상세

AppSubjectDic 공개적으로 정적으로 프로퍼티

public static Dictionary AppSubjectDic
리턴 BackUpAppointment>.Dictionary

delRecuMeet 공개적으로 정적으로 프로퍼티

public static bool delRecuMeet
리턴 bool

editBack 공개적으로 정적으로 프로퍼티

2014/12/15 修改单次会议,editBack=true回滚修改,false正常修改
public static bool editBack
리턴 bool

errorMessage 공개적으로 정적으로 프로퍼티

public static Dictionary errorMessage
리턴 string>.Dictionary

g_AccountInfo 공개적으로 정적으로 프로퍼티

public static AccountInfoClass,TPConfAddin g_AccountInfo
리턴 AccountInfoClass

g_SystemSettings 공개적으로 정적으로 프로퍼티

public static SystemSettingsClass,TPConfAddin g_SystemSettings
리턴 SystemSettingsClass

g_currentAppointItem 공개적으로 정적으로 프로퍼티

public static AppointmentItem,Microsoft.Office.Interop.Outlook g_currentAppointItem
리턴 Microsoft.Office.Interop.Outlook.AppointmentItem

g_listAppt 공개적으로 정적으로 프로퍼티

public static List g_listAppt
리턴 List

g_log 공개적으로 정적으로 프로퍼티

public static ILog g_log
리턴 ILog

helpFilePath 공개적으로 정적으로 프로퍼티

public static string helpFilePath
리턴 string

loginRecipient 공개적으로 프로퍼티

public Recipient loginRecipient
리턴 Recipient

templateFilePath 공개적으로 정적으로 프로퍼티

public static string templateFilePath
리턴 string

tp_Loaded 공개적으로 정적으로 프로퍼티

插件加载成功:true
public static bool tp_Loaded
리턴 bool