2026-08-18 12:52:40 +07:00
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OfficeApp xmlns= "http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xmlns:bt= "http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:ov= "http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type= "TaskPaneApp" >
<Id > 4a1e184a-ab31-4fa4-b3c7-9a2283051c3f</Id>
<Version > 1.0.0.0</Version>
<ProviderName > Contoso</ProviderName>
<DefaultLocale > en-US</DefaultLocale>
2026-08-19 23:06:57 +07:00
<DisplayName DefaultValue= "e-Court Documents Versioning" />
<Description DefaultValue= "Opens the e-Court Documents Versioning task pane." />
2026-08-18 12:52:40 +07:00
<IconUrl DefaultValue= "https://localhost:3000/assets/icon-32.png" />
<HighResolutionIconUrl DefaultValue= "https://localhost:3000/assets/icon-64.png" />
<SupportUrl DefaultValue= "https://www.contoso.com/help" />
<AppDomains >
<AppDomain > https://www.contoso.com</AppDomain>
</AppDomains>
<Hosts >
<Host Name= "Document" />
</Hosts>
2026-08-19 21:35:07 +07:00
<!-- Requirement sets ที่ services layer ใช้จริง — host ที่ไม่รองรับจะไม่โหลด add - in เลย (fail fast ดีกว่าพังกลางทาง)
WordApi 1.5: customProperties / customXmlParts / document.save()
DialogAPI 1.1: Office Dialog API สำหรับ login ผ่าน Keycloak (FR-8) -->
<Requirements >
<Sets DefaultMinVersion= "1.1" >
<Set Name= "WordApi" MinVersion= "1.5" />
<Set Name= "DialogAPI" MinVersion= "1.1" />
2026-08-19 23:06:57 +07:00
<!-- เปิด presigned download URL ในเบราว์เซอร์ของเครื่อง (webview ของ Word ทิ้ง blob download) -->
<Set Name= "OpenBrowserWindowApi" MinVersion= "1.1" />
2026-08-19 21:35:07 +07:00
</Sets>
</Requirements>
2026-08-18 12:52:40 +07:00
<DefaultSettings >
<SourceLocation DefaultValue= "https://localhost:3000/taskpane.html" />
</DefaultSettings>
<Permissions > ReadWriteDocument</Permissions>
<VersionOverrides xmlns= "http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type= "VersionOverridesV1_0" >
<Hosts >
<Host xsi:type= "Document" >
<DesktopFormFactor >
<GetStarted >
<Title resid= "GetStarted.Title" />
<Description resid= "GetStarted.Description" />
<LearnMoreUrl resid= "GetStarted.LearnMoreUrl" />
</GetStarted>
<FunctionFile resid= "Commands.Url" />
<ExtensionPoint xsi:type= "PrimaryCommandSurface" >
<OfficeTab id= "TabHome" >
<Group id= "CommandsGroup" >
<Label resid= "CommandsGroup.Label" />
<Icon >
<bt:Image size= "16" resid= "Icon.16x16" />
<bt:Image size= "32" resid= "Icon.32x32" />
<bt:Image size= "80" resid= "Icon.80x80" />
</Icon>
<Control xsi:type= "Button" id= "TaskpaneButton" >
<Label resid= "TaskpaneButton.Label" />
<Supertip >
<Title resid= "TaskpaneButton.Label" />
<Description resid= "TaskpaneButton.Tooltip" />
</Supertip>
<Icon >
<bt:Image size= "16" resid= "Icon.16x16" />
<bt:Image size= "32" resid= "Icon.32x32" />
<bt:Image size= "80" resid= "Icon.80x80" />
</Icon>
<Action xsi:type= "ShowTaskpane" >
<TaskpaneId > ButtonId1</TaskpaneId>
<SourceLocation resid= "Taskpane.Url" />
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
</DesktopFormFactor>
</Host>
</Hosts>
<Resources >
<bt:Images >
<bt:Image id= "Icon.16x16" DefaultValue= "https://localhost:3000/assets/icon-16.png" />
<bt:Image id= "Icon.32x32" DefaultValue= "https://localhost:3000/assets/icon-32.png" />
<bt:Image id= "Icon.80x80" DefaultValue= "https://localhost:3000/assets/icon-80.png" />
</bt:Images>
<bt:Urls >
<bt:Url id= "GetStarted.LearnMoreUrl" DefaultValue= "https://go.microsoft.com/fwlink/?LinkId=276812" />
<bt:Url id= "Commands.Url" DefaultValue= "https://localhost:3000/commands.html" />
<bt:Url id= "Taskpane.Url" DefaultValue= "https://localhost:3000/taskpane.html" />
</bt:Urls>
<bt:ShortStrings >
<bt:String id= "GetStarted.Title" DefaultValue= "Get started with your sample add-in!" />
2026-08-19 23:06:57 +07:00
<bt:String id= "CommandsGroup.Label" DefaultValue= "e-Court Add-in" />
<bt:String id= "TaskpaneButton.Label" DefaultValue= "e-Court Documents Versioning" />
2026-08-18 12:52:40 +07:00
</bt:ShortStrings>
<bt:LongStrings >
<bt:String id= "GetStarted.Description" DefaultValue= "Your sample add-in loaded successfully. Go to the HOME tab and click the 'Show Task Pane' button to get started." />
2026-08-19 23:06:57 +07:00
<bt:String id= "TaskpaneButton.Tooltip" DefaultValue= "Opens the e-Court Documents Versioning task pane." />
2026-08-18 12:52:40 +07:00
</bt:LongStrings>
</Resources>
</VersionOverrides>
</OfficeApp>