You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
130 lines
75 KiB
130 lines
75 KiB
package wopi
|
|
|
|
import (
|
|
"errors"
|
|
"github.com/cloudreve/Cloudreve/v3/pkg/cache"
|
|
"github.com/cloudreve/Cloudreve/v3/pkg/mocks/requestmock"
|
|
"github.com/cloudreve/Cloudreve/v3/pkg/request"
|
|
"github.com/stretchr/testify/assert"
|
|
testMock "github.com/stretchr/testify/mock"
|
|
"io"
|
|
"net/http"
|
|
"net/url"
|
|
"strings"
|
|
"testing"
|
|
)
|
|
|
|
func TestClient_AvailableExts(t *testing.T) {
|
|
a := assert.New(t)
|
|
endpoint, _ := url.Parse("http://localhost:8001/hosting/discovery")
|
|
client := &client{
|
|
cache: cache.NewMemoStore(),
|
|
config: config{
|
|
discoveryEndpoint: endpoint,
|
|
},
|
|
}
|
|
|
|
// Discovery failed
|
|
{
|
|
expectedErr := errors.New("error")
|
|
mockHttp := &requestmock.RequestMock{}
|
|
client.http = mockHttp
|
|
mockHttp.On(
|
|
"Request",
|
|
"GET",
|
|
endpoint.String(),
|
|
testMock.Anything,
|
|
testMock.Anything,
|
|
).Return(&request.Response{
|
|
Err: expectedErr,
|
|
})
|
|
res := client.AvailableExts()
|
|
a.Empty(res)
|
|
mockHttp.AssertExpectations(t)
|
|
}
|
|
|
|
// pass
|
|
{
|
|
client.discovery = &WopiDiscovery{}
|
|
client.actions = map[string]map[string]Action{
|
|
".doc": {
|
|
string(ActionPreviewFallback): Action{},
|
|
},
|
|
".ppt": {},
|
|
".xls": {
|
|
"not_supported": Action{},
|
|
},
|
|
}
|
|
res := client.AvailableExts()
|
|
a.Len(res, 1)
|
|
a.Equal("doc", res[0])
|
|
}
|
|
}
|
|
|
|
func TestClient_RefreshDiscovery(t *testing.T) {
|
|
a := assert.New(t)
|
|
endpoint, _ := url.Parse("http://localhost:8001/hosting/discovery")
|
|
client := &client{
|
|
cache: cache.NewMemoStore(),
|
|
config: config{
|
|
discoveryEndpoint: endpoint,
|
|
},
|
|
}
|
|
|
|
// cache hit
|
|
{
|
|
client.cache.Set(DiscoverResponseCacheKey, WopiDiscovery{Text: "test"}, 0)
|
|
a.NoError(client.checkDiscovery())
|
|
a.Equal("test", client.discovery.Text)
|
|
client.discovery = &WopiDiscovery{}
|
|
client.cache.Delete([]string{DiscoverResponseCacheKey}, "")
|
|
}
|
|
|
|
// malformed xml
|
|
{
|
|
mockHttp := &requestmock.RequestMock{}
|
|
client.http = mockHttp
|
|
mockHttp.On(
|
|
"Request",
|
|
"GET",
|
|
endpoint.String(),
|
|
testMock.Anything,
|
|
testMock.Anything,
|
|
).Return(&request.Response{
|
|
Response: &http.Response{
|
|
StatusCode: 200,
|
|
Body: io.NopCloser(strings.NewReader(`{"code":203}`)),
|
|
},
|
|
})
|
|
res := client.refreshDiscovery()
|
|
a.ErrorContains(res, "failed to parse")
|
|
mockHttp.AssertExpectations(t)
|
|
}
|
|
|
|
// all pass
|
|
{
|
|
testResponse := `
|
|
<?xml version="1.0" encoding="utf-8"?><wopi-discovery><net-zone name="external-https"><app name="Excel" favIconUrl="https://test.cloudreve.org/x/_layouts/resources/FavIcon_Excel.ico" bootstrapperUrl="https://document/x/_layouts/app_scripts/excel-boot.min.js" checkLicense="true"><action name="view" ext="csv" default="true" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="view" ext="ods" default="true" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="view" ext="xls" default="true" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="view" ext="xlsb" default="true" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="view" ext="xlsm" default="true" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="view" ext="xlsx" default="true" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="edit" ext="ods" requires="update" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?edit=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="edit" ext="xlsb" requires="update" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?edit=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="edit" ext="xlsm" requires="update" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?edit=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="edit" ext="xlsx" requires="update" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?edit=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="editnew" ext="ods" requires="update" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?edit=1&new=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&>" /><action name="editnew" ext="xlsx" requires="update" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?edit=1&new=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&>" /><action name="interactivepreview" ext="xlsb" urlsrc="https://test.cloudreve.org/x/_layouts/xlpreview.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="interactivepreview" ext="xlsm" urlsrc="https://test.cloudreve.org/x/_layouts/xlpreview.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="interactivepreview" ext="xlsx" urlsrc="https://test.cloudreve.org/x/_layouts/xlpreview.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="mobileView" ext="csv" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="mobileView" ext="ods" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="mobileView" ext="xls" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="mobileView" ext="xlsb" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="mobileView" ext="xlsm" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="mobileView" ext="xlsx" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="embedview" ext="ods" urlsrc="https://test.cloudreve.org/x/_layouts/xlembed.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="embedview" ext="xlsb" urlsrc="https://test.cloudreve.org/x/_layouts/xlembed.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="embedview" ext="xlsm" urlsrc="https://test.cloudreve.org/x/_layouts/xlembed.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="embedview" ext="xlsx" urlsrc="https://test.cloudreve.org/x/_layouts/xlembed.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="convert" ext="csv" targetext="xlsx" requires="update" urlsrc="https://test.cloudreve.org/x/_layouts/ExcelConvertAndEdit.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="convert" ext="xls" targetext="xlsx" requires="update" urlsrc="https://test.cloudreve.org/x/_layouts/ExcelConvertAndEdit.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="formsubmit" ext="xlsb" urlsrc="https://test.cloudreve.org/x/_layouts/xlform.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="formsubmit" ext="xlsm" urlsrc="https://test.cloudreve.org/x/_layouts/xlform.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="formsubmit" ext="xlsx" urlsrc="https://test.cloudreve.org/x/_layouts/xlform.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="formedit" ext="xlsb" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?edit=1&startupDialog=FormEdit&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="formedit" ext="xlsm" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?edit=1&startupDialog=FormEdit&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="formedit" ext="xlsx" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?edit=1&startupDialog=FormEdit&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="rest" ext="xlsb" urlsrc="https://test.cloudreve.org/x/_layouts/xlrestinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="rest" ext="xlsm" urlsrc="https://test.cloudreve.org/x/_layouts/xlrestinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="rest" ext="xlsx" urlsrc="https://test.cloudreve.org/x/_layouts/xlrestinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="syndicate" ext="ods" urlsrc="https://test.cloudreve.org/x/_layouts/exceljs.ashx?v=1&dsipb=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="syndicate" ext="xlsb" urlsrc="https://test.cloudreve.org/x/_layouts/exceljs.ashx?v=1&dsipb=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="syndicate" ext="xlsm" urlsrc="https://test.cloudreve.org/x/_layouts/exceljs.ashx?v=1&dsipb=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="syndicate" ext="xlsx" urlsrc="https://test.cloudreve.org/x/_layouts/exceljs.ashx?v=1&dsipb=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="legacywebservice" progid="Excel.LegacyWebService" urlsrc="https://test.cloudreve.org/x/_vti_bin/excelserviceinternal.asmx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="legacywebservice" ext="ods" urlsrc="https://test.cloudreve.org/x/_vti_bin/excelserviceinternal.asmx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="legacywebservice" ext="xlsb" urlsrc="https://test.cloudreve.org/x/_vti_bin/excelserviceinternal.asmx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="legacywebservice" ext="xlsm" urlsrc="https://test.cloudreve.org/x/_vti_bin/excelserviceinternal.asmx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="legacywebservice" ext="xlsx" urlsrc="https://test.cloudreve.org/x/_vti_bin/excelserviceinternal.asmx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="rtc" ext="ods" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="rtc" ext="xls" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="rtc" ext="xlsb" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="rtc" ext="xlsm" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="rtc" ext="xlsx" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="preloadedit" ext="ods" urlsrc="https://test.cloudreve.org/x/StaticLoad.aspx?wx=x&wv=e&usescript=1&<ui=UI_LLCC>" /><action name="preloadedit" ext="xlsb" urlsrc="https://test.cloudreve.org/x/StaticLoad.aspx?wx=x&wv=e&usescript=1&<ui=UI_LLCC>" /><action name="preloadedit" ext="xlsm" urlsrc="https://test.cloudreve.org/x/StaticLoad.aspx?wx=x&wv=e&usescript=1&<ui=UI_LLCC>" /><action name="preloadedit" ext="xlsx" urlsrc="https://test.cloudreve.org/x/StaticLoad.aspx?wx=x&wv=e&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="ods" urlsrc="https://test.cloudreve.org/x/StaticLoad.aspx?wx=x&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="xls" urlsrc="https://test.cloudreve.org/x/StaticLoad.aspx?wx=x&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="xlsb" urlsrc="https://test.cloudreve.org/x/StaticLoad.aspx?wx=x&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="xlsm" urlsrc="https://test.cloudreve.org/x/StaticLoad.aspx?wx=x&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="xlsx" urlsrc="https://test.cloudreve.org/x/StaticLoad.aspx?wx=x&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="collab" ext="xlsb" urlsrc="https://test.cloudreve.org/ocs/Join.ashx?app=excel" /><action name="collab" ext="xlsm" urlsrc="https://test.cloudreve.org/ocs/Join.ashx?app=excel" /><action name="collab" ext="xlsx" urlsrc="https://test.cloudreve.org/ocs/Join.ashx?app=excel" /><action name="formpreview" ext="xlsb" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?edit=1&startupDialog=FormPreview&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="formpreview" ext="xlsm" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?edit=1&startupDialog=FormPreview&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="formpreview" ext="xlsx" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?edit=1&startupDialog=FormPreview&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="documentchat" ext="ods" urlsrc="https://test.cloudreve.org/x/_layouts/SkypeProxy.ashx" /><action name="documentchat" ext="xls" urlsrc="https://test.cloudreve.org/x/_layouts/SkypeProxy.ashx" /><action name="documentchat" ext="xlsb" urlsrc="https://test.cloudreve.org/x/_layouts/SkypeProxy.ashx" /><action name="documentchat" ext="xlsm" urlsrc="https://test.cloudreve.org/x/_layouts/SkypeProxy.ashx" /><action name="documentchat" ext="xlsx" urlsrc="https://test.cloudreve.org/x/_layouts/SkypeProxy.ashx" /><action name="embedpreview" ext="ods" urlsrc="https://test.cloudreve.org/x/_layouts/xlembedpreview.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="embedpreview" ext="xlsb" urlsrc="https://test.cloudreve.org/x/_layouts/xlembedpreview.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="embedpreview" ext="xlsm" urlsrc="https://test.cloudreve.org/x/_layouts/xlembedpreview.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="embedpreview" ext="xlsx" urlsrc="https://test.cloudreve.org/x/_layouts/xlembedpreview.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="embedconfigurator" ext="ods" urlsrc="https://test.cloudreve.org/x/_layouts/xlembedconfigurator.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="embedconfigurator" ext="xlsb" urlsrc="https://test.cloudreve.org/x/_layouts/xlembedconfigurator.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="embedconfigurator" ext="xlsm" urlsrc="https://test.cloudreve.org/x/_layouts/xlembedconfigurator.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="embedconfigurator" ext="xlsx" urlsrc="https://test.cloudreve.org/x/_layouts/xlembedconfigurator.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="open" ext="csv" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="open" ext="ods" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?unified=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="open" ext="xls" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="open" ext="xlsb" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?unified=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="open" ext="xlsm" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?unified=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="open" ext="xlsx" urlsrc="https://test.cloudreve.org/x/_layouts/xlviewerinternal.aspx?unified=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /></app><app name="OneNote" favIconUrl="https://test.cloudreve.org/o/resources/1033/FavIcon_OneNote.ico" checkLicense="true"><action name="view" progid="OneNote.Notebook" requires="cobalt,containers" urlsrc="https://test.cloudreve.org/o/onenoteframe.aspx?edit=0&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="view" ext="one" requires="cobalt,containers" urlsrc="https://test.cloudreve.org/o/onenoteframe.aspx?edit=0&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="view" ext="onetoc2" useParent="true" requires="cobalt,containers" urlsrc="https://test.cloudreve.org/o/onenoteframe.aspx?edit=0&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="edit" progid="OneNote.Notebook" default="true" requires="cobalt,containers,update" urlsrc="https://test.cloudreve.org/o/onenoteframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="edit" ext="one" default="true" requires="cobalt,containers,update" urlsrc="https://test.cloudreve.org/o/onenoteframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="edit" ext="onetoc2" useParent="true" default="true" requires="cobalt,containers,update" urlsrc="https://test.cloudreve.org/o/onenoteframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="editnew" progid="OneNote.Notebook" requires="cobalt,containers,update" newprogid="OneNote.Notebook" urlsrc="https://test.cloudreve.org/o/onenoteframe.aspx?edit=1&new=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="editnew" ext="one" requires="cobalt,containers,update" newprogid="OneNote.Notebook" urlsrc="https://test.cloudreve.org/o/onenoteframe.aspx?edit=1&new=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="editnew" ext="onepkg" requires="cobalt,containers,update" newprogid="OneNote.Notebook" urlsrc="https://test.cloudreve.org/o/onenoteframe.aspx?edit=1&new=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="embedview" progid="OneNote.Notebook" requires="cobalt,containers,update" urlsrc="https://test.cloudreve.org/o/onenoteframe.aspx?embed=1&edit=0&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="embedview" ext="one" requires="cobalt,containers,update" urlsrc="https://test.cloudreve.org/o/onenoteframe.aspx?embed=1&edit=0&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="embedview" ext="onetoc2" useParent="true" requires="cobalt,containers,update" urlsrc="https://test.cloudreve.org/o/onenoteframe.aspx?embed=1&edit=0&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="embededit" ext="onetoc2" useParent="true" requires="cobalt,containers,update" urlsrc="https://test.cloudreve.org/o/onenoteframe.aspx?embed=1&edit=1&singlepage=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="rtc" ext="one" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="rtc" ext="onetoc2" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="preloadedit" ext="one" urlsrc="https://test.cloudreve.org/o/StaticLoad.aspx?wx=o&wv=e&usescript=1&<ui=UI_LLCC>" /><action name="preloadedit" ext="onetoc2" urlsrc="https://test.cloudreve.org/o/StaticLoad.aspx?wx=o&wv=e&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="one" urlsrc="https://test.cloudreve.org/o/StaticLoad.aspx?wx=o&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="onetoc2" urlsrc="https://test.cloudreve.org/o/StaticLoad.aspx?wx=o&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="documentchat" ext="one" urlsrc="https://test.cloudreve.org/o/SkypeProxy.ashx" /><action name="documentchat" ext="onetoc2" urlsrc="https://test.cloudreve.org/o/SkypeProxy.ashx" /><action name="open" progid="OneNote.Notebook" requires="cobalt,containers,update" urlsrc="https://test.cloudreve.org/o/onenoteframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="open" ext="one" requires="cobalt,containers,update" urlsrc="https://test.cloudreve.org/o/onenoteframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="open" ext="onetoc2" useParent="true" requires="cobalt,containers,update" urlsrc="https://test.cloudreve.org/o/onenoteframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /></app><app name="PowerPoint" favIconUrl="https://test.cloudreve.org/p/resources/1033/FavIcon_Ppt.ico" bootstrapperUrl="https://document/p/PptScripts/powerpoint.boot.js" checkLicense="true"><action name="view" ext="odp" default="true" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ReadingView&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="view" ext="pot" default="true" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ReadingView&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="view" ext="potm" default="true" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ReadingView&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="view" ext="potx" default="true" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ReadingView&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="view" ext="pps" default="true" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ReadingView&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="view" ext="ppsm" default="true" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ReadingView&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="view" ext="ppsx" default="true" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ReadingView&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="view" ext="ppt" default="true" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ReadingView&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="view" ext="pptm" default="true" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ReadingView&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="view" ext="pptx" default="true" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ReadingView&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="edit" ext="odp" requires="update" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=EditView&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="edit" ext="ppsx" requires="update" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=EditView&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="edit" ext="pptx" requires="update" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=EditView&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="editnew" ext="odp" requires="update" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=EditView&New=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&>" /><action name="editnew" ext="pptx" requires="update" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=EditView&New=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><IsLicensedUser=BUSINESS_USER&>" /><action name="imagepreview" ext="odp" urlsrc="https://test.cloudreve.org/p/previewhandler.ashx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="imagepreview" ext="pot" urlsrc="https://test.cloudreve.org/p/previewhandler.ashx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="imagepreview" ext="potm" urlsrc="https://test.cloudreve.org/p/previewhandler.ashx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="imagepreview" ext="potx" urlsrc="https://test.cloudreve.org/p/previewhandler.ashx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="imagepreview" ext="pps" urlsrc="https://test.cloudreve.org/p/previewhandler.ashx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="imagepreview" ext="ppsm" urlsrc="https://test.cloudreve.org/p/previewhandler.ashx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="imagepreview" ext="ppsx" urlsrc="https://test.cloudreve.org/p/previewhandler.ashx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="imagepreview" ext="ppt" urlsrc="https://test.cloudreve.org/p/previewhandler.ashx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="imagepreview" ext="pptm" urlsrc="https://test.cloudreve.org/p/previewhandler.ashx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="imagepreview" ext="pptx" urlsrc="https://test.cloudreve.org/p/previewhandler.ashx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="interactivepreview" ext="odp" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="interactivepreview" ext="pot" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="interactivepreview" ext="potm" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="interactivepreview" ext="potx" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="interactivepreview" ext="pps" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="interactivepreview" ext="ppsm" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="interactivepreview" ext="ppsx" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="interactivepreview" ext="ppt" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="interactivepreview" ext="pptm" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="interactivepreview" ext="pptx" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="mobileView" ext="pot" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ReadingView&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="mobileView" ext="potm" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ReadingView&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="mobileView" ext="potx" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ReadingView&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="mobileView" ext="pps" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ReadingView&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="mobileView" ext="ppsm" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ReadingView&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="mobileView" ext="ppsx" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ReadingView&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="mobileView" ext="ppt" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ReadingView&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="mobileView" ext="pptm" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ReadingView&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="mobileView" ext="pptx" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ReadingView&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="embedview" ext="odp" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="embedview" ext="pot" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="embedview" ext="potm" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="embedview" ext="potx" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="embedview" ext="pps" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="embedview" ext="ppsm" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="embedview" ext="ppsx" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="embedview" ext="ppt" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="embedview" ext="pptm" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="embedview" ext="pptx" urlsrc="https://test.cloudreve.org/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="present" ext="pot" urlsrc="https://test.cloudreve.org/m/Presenter.aspx?a=0&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="present" ext="potm" urlsrc="https://test.cloudreve.org/m/Presenter.aspx?a=0&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="present" ext="potx" urlsrc="https://test.cloudreve.org/m/Presenter.aspx?a=0&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="present" ext="pps" urlsrc="https://test.cloudreve.org/m/Presenter.aspx?a=0&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="present" ext="ppsm" urlsrc="https://test.cloudreve.org/m/Presenter.aspx?a=0&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="present" ext="ppsx" urlsrc="https://test.cloudreve.org/m/Presenter.aspx?a=0&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="present" ext="ppt" urlsrc="https://test.cloudreve.org/m/Presenter.aspx?a=0&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="present" ext="pptm" urlsrc="https://test.cloudreve.org/m/Presenter.aspx?a=0&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="present" ext="pptx" urlsrc="https://test.cloudreve.org/m/Presenter.aspx?a=0&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="presentservice" ext="pot" urlsrc="https://test.cloudreve.org/m/present_2_0.asmx" /><action name="presentservice" ext="potm" urlsrc="https://test.cloudreve.org/m/present_2_0.asmx" /><action name="presentservice" ext="potx" urlsrc="https://test.cloudreve.org/m/present_2_0.asmx" /><action name="presentservice" ext="pps" urlsrc="https://test.cloudreve.org/m/present_2_0.asmx" /><action name="presentservice" ext="ppsm" urlsrc="https://test.cloudreve.org/m/present_2_0.asmx" /><action name="presentservice" ext="ppsx" urlsrc="https://test.cloudreve.org/m/present_2_0.asmx" /><action name="presentservice" ext="ppt" urlsrc="https://test.cloudreve.org/m/present_2_0.asmx" /><action name="presentservice" ext="pptm" urlsrc="https://test.cloudreve.org/m/present_2_0.asmx" /><action name="presentservice" ext="pptx" urlsrc="https://test.cloudreve.org/m/present_2_0.asmx" /><action name="attend" ext="pot" urlsrc="https://test.cloudreve.org/m/ParticipantFrame.aspx?a=0&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><na=DISABLE_ASYNC&><vp=DISABLE_BROADCAST&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="attend" ext="potm" urlsrc="https://test.cloudreve.org/m/ParticipantFrame.aspx?a=0&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><na=DISABLE_ASYNC&><vp=DISABLE_BROADCAST&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="attend" ext="potx" urlsrc="https://test.cloudreve.org/m/ParticipantFrame.aspx?a=0&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><na=DISABLE_ASYNC&><vp=DISABLE_BROADCAST&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="attend" ext="pps" urlsrc="https://test.cloudreve.org/m/ParticipantFrame.aspx?a=0&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><na=DISABLE_ASYNC&><vp=DISABLE_BROADCAST&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="attend" ext="ppsm" urlsrc="https://test.cloudreve.org/m/ParticipantFrame.aspx?a=0&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><na=DISABLE_ASYNC&><vp=DISABLE_BROADCAST&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="attend" ext="ppsx" urlsrc="https://test.cloudreve.org/m/ParticipantFrame.aspx?a=0&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><na=DISABLE_ASYNC&><vp=DISABLE_BROADCAST&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="attend" ext="ppt" urlsrc="https://test.cloudreve.org/m/ParticipantFrame.aspx?a=0&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><na=DISABLE_ASYNC&><vp=DISABLE_BROADCAST&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="attend" ext="pptm" urlsrc="https://test.cloudreve.org/m/ParticipantFrame.aspx?a=0&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><na=DISABLE_ASYNC&><vp=DISABLE_BROADCAST&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="attend" ext="pptx" urlsrc="https://test.cloudreve.org/m/ParticipantFrame.aspx?a=0&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><na=DISABLE_ASYNC&><vp=DISABLE_BROADCAST&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="attendservice" ext="pot" urlsrc="https://test.cloudreve.org/m/met/participant.svc" /><action name="attendservice" ext="potm" urlsrc="https://test.cloudreve.org/m/met/participant.svc" /><action name="attendservice" ext="potx" urlsrc="https://test.cloudreve.org/m/met/participant.svc" /><action name="attendservice" ext="pps" urlsrc="https://test.cloudreve.org/m/met/participant.svc" /><action name="attendservice" ext="ppsm" urlsrc="https://test.cloudreve.org/m/met/participant.svc" /><action name="attendservice" ext="ppsx" urlsrc="https://test.cloudreve.org/m/met/participant.svc" /><action name="attendservice" ext="ppt" urlsrc="https://test.cloudreve.org/m/met/participant.svc" /><action name="attendservice" ext="pptm" urlsrc="https://test.cloudreve.org/m/met/participant.svc" /><action name="attendservice" ext="pptx" urlsrc="https://test.cloudreve.org/m/met/participant.svc" /><action name="convert" ext="pps" targetext="pptx" urlsrc="https://test.cloudreve.org/p/PptConvertAndEdit.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="convert" ext="ppt" targetext="pptx" urlsrc="https://test.cloudreve.org/p/PptConvertAndEdit.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&>" /><action name="rtc" ext="odp" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="rtc" ext="pot" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="rtc" ext="potm" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="rtc" ext="potx" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="rtc" ext="pps" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="rtc" ext="ppsm" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="rtc" ext="ppsx" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="rtc" ext="ppt" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="rtc" ext="pptm" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="rtc" ext="pptx" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="preloadedit" ext="odp" urlsrc="https://test.cloudreve.org/p/StaticLoad.aspx?wx=p&wv=e&usescript=1&<ui=UI_LLCC>" /><action name="preloadedit" ext="ppsx" urlsrc="https://test.cloudreve.org/p/StaticLoad.aspx?wx=p&wv=e&usescript=1&<ui=UI_LLCC>" /><action name="preloadedit" ext="pptx" urlsrc="https://test.cloudreve.org/p/StaticLoad.aspx?wx=p&wv=e&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="odp" urlsrc="https://test.cloudreve.org/p/StaticLoad.aspx?wx=p&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="pot" urlsrc="https://test.cloudreve.org/p/StaticLoad.aspx?wx=p&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="potm" urlsrc="https://test.cloudreve.org/p/StaticLoad.aspx?wx=p&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="potx" urlsrc="https://test.cloudreve.org/p/StaticLoad.aspx?wx=p&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="pps" urlsrc="https://test.cloudreve.org/p/StaticLoad.aspx?wx=p&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="ppsm" urlsrc="https://test.cloudreve.org/p/StaticLoad.aspx?wx=p&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="ppsx" urlsrc="https://test.cloudreve.org/p/StaticLoad.aspx?wx=p&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="ppt" urlsrc="https://test.cloudreve.org/p/StaticLoad.aspx?wx=p&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="pptm" urlsrc="https://test.cloudreve.org/p/StaticLoad.aspx?wx=p&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="pptx" urlsrc="https://test.cloudreve.org/p/StaticLoad.aspx?wx=p&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="collab" ext="potx" urlsrc="https://test.cloudreve.org/ocs/Join.ashx?app=powerpoint" /><action name="collab" ext="ppsx" urlsrc="https://test.cloudreve.org/ocs/Join.ashx?app=powerpoint" /><action name="collab" ext="pptx" urlsrc="https://test.cloudreve.org/ocs/Join.ashx?app=powerpoint" /><action name="documentchat" ext="odp" urlsrc="https://test.cloudreve.org/p/SkypeProxy.ashx" /><action name="documentchat" ext="pot" urlsrc="https://test.cloudreve.org/p/SkypeProxy.ashx" /><action name="documentchat" ext="potm" urlsrc="https://test.cloudreve.org/p/SkypeProxy.ashx" /><action name="documentchat" ext="potx" urlsrc="https://test.cloudreve.org/p/SkypeProxy.ashx" /><action name="documentchat" ext="pps" urlsrc="https://test.cloudreve.org/p/SkypeProxy.ashx" /><action name="documentchat" ext="ppsm" urlsrc="https://test.cloudreve.org/p/SkypeProxy.ashx" /><action name="documentchat" ext="ppsx" urlsrc="https://test.cloudreve.org/p/SkypeProxy.ashx" /><action name="documentchat" ext="ppt" urlsrc="https://test.cloudreve.org/p/SkypeProxy.ashx" /><action name="documentchat" ext="pptm" urlsrc="https://test.cloudreve.org/p/SkypeProxy.ashx" /><action name="documentchat" ext="pptx" urlsrc="https://test.cloudreve.org/p/SkypeProxy.ashx" /><action name="preloadunifiedapp" ext="pptx" urlsrc="https://test.cloudreve.org/pods/StaticLoad.aspx?wx=p&wv=e&usescript=1&<ui=UI_LLCC>" /></app><app name="Word" favIconUrl="https://test.cloudreve.org/wv/resources/1033/FavIcon_Word.ico" bootstrapperUrl="https://document/wv/App_Scripts/word.boot.js" checkLicense="true"><action name="view" ext="doc" default="true" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="view" ext="docm" default="true" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="view" ext="docx" default="true" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="view" ext="dot" default="true" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="view" ext="dotm" default="true" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="view" ext="dotx" default="true" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="view" ext="odt" default="true" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="view" ext="rtf" default="true" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="edit" ext="docm" requires="locks,update" urlsrc="https://test.cloudreve.org/we/wordeditorframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="edit" ext="docx" requires="locks,update" urlsrc="https://test.cloudreve.org/we/wordeditorframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="edit" ext="odt" requires="locks,update" urlsrc="https://test.cloudreve.org/we/wordeditorframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="editnew" ext="docx" requires="locks,update" urlsrc="https://test.cloudreve.org/we/wordeditorframe.aspx?new=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&><IsLicensedUser=BUSINESS_USER&>" /><action name="editnew" ext="dotx" requires="locks,update" newext="docx" urlsrc="https://test.cloudreve.org/we/wordeditorframe.aspx?new=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&><IsLicensedUser=BUSINESS_USER&>" /><action name="editnew" ext="odt" requires="locks,update" urlsrc="https://test.cloudreve.org/we/wordeditorframe.aspx?new=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&><IsLicensedUser=BUSINESS_USER&>" /><action name="imagepreview" ext="doc" urlsrc="https://test.cloudreve.org/wv/WordPreviewHandler.ashx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="imagepreview" ext="docm" urlsrc="https://test.cloudreve.org/wv/WordPreviewHandler.ashx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="imagepreview" ext="docx" urlsrc="https://test.cloudreve.org/wv/WordPreviewHandler.ashx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="imagepreview" ext="dot" urlsrc="https://test.cloudreve.org/wv/WordPreviewHandler.ashx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="imagepreview" ext="dotm" urlsrc="https://test.cloudreve.org/wv/WordPreviewHandler.ashx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="imagepreview" ext="dotx" urlsrc="https://test.cloudreve.org/wv/WordPreviewHandler.ashx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="imagepreview" ext="odt" urlsrc="https://test.cloudreve.org/wv/WordPreviewHandler.ashx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="imagepreview" ext="rtf" urlsrc="https://test.cloudreve.org/wv/WordPreviewHandler.ashx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="interactivepreview" ext="doc" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="interactivepreview" ext="docm" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="interactivepreview" ext="docx" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="interactivepreview" ext="dot" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="interactivepreview" ext="dotm" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="interactivepreview" ext="dotx" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="interactivepreview" ext="odt" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="interactivepreview" ext="rtf" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="mobileView" ext="doc" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="mobileView" ext="docm" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="mobileView" ext="docx" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="mobileView" ext="dot" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="mobileView" ext="dotm" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="mobileView" ext="dotx" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="embedview" ext="doc" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="embedview" ext="docm" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="embedview" ext="docx" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="embedview" ext="dot" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="embedview" ext="dotm" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="embedview" ext="dotx" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="embedview" ext="odt" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="embedview" ext="rtf" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?embed=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="attend" ext="doc" urlsrc="https://test.cloudreve.org/m/ParticipantFrame.aspx?a=1&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><na=DISABLE_ASYNC&><vp=DISABLE_BROADCAST&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="attend" ext="docm" urlsrc="https://test.cloudreve.org/m/ParticipantFrame.aspx?a=1&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><na=DISABLE_ASYNC&><vp=DISABLE_BROADCAST&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="attend" ext="docx" urlsrc="https://test.cloudreve.org/m/ParticipantFrame.aspx?a=1&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><na=DISABLE_ASYNC&><vp=DISABLE_BROADCAST&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="attend" ext="dot" urlsrc="https://test.cloudreve.org/m/ParticipantFrame.aspx?a=1&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><na=DISABLE_ASYNC&><vp=DISABLE_BROADCAST&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="attend" ext="dotm" urlsrc="https://test.cloudreve.org/m/ParticipantFrame.aspx?a=1&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><na=DISABLE_ASYNC&><vp=DISABLE_BROADCAST&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="attend" ext="dotx" urlsrc="https://test.cloudreve.org/m/ParticipantFrame.aspx?a=1&<e=EMBEDDED&><fs=FULLSCREEN&><rec=RECORDING&><thm=THEME_ID&><na=DISABLE_ASYNC&><vp=DISABLE_BROADCAST&><ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="convert" ext="doc" targetext="docx" urlsrc="https://test.cloudreve.org/we/WordConvertAndEdit.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="rest" ext="docx" urlsrc="https://test.cloudreve.org/ocs/RichApi.ashx?app=word" /><action name="rtc" ext="doc" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="rtc" ext="docm" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="rtc" ext="docx" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="rtc" ext="dot" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="rtc" ext="dotm" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="rtc" ext="dotx" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="rtc" ext="odt" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="preloadedit" ext="docm" urlsrc="https://test.cloudreve.org/we/StaticLoad.aspx?wx=w&wv=e&usescript=1&<ui=UI_LLCC>" /><action name="preloadedit" ext="docx" urlsrc="https://test.cloudreve.org/we/StaticLoad.aspx?wx=w&wv=e&usescript=1&<ui=UI_LLCC>" /><action name="preloadedit" ext="odt" urlsrc="https://test.cloudreve.org/we/StaticLoad.aspx?wx=w&wv=e&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="doc" urlsrc="https://test.cloudreve.org/wv/StaticLoad.aspx?wx=w&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="docm" urlsrc="https://test.cloudreve.org/wv/StaticLoad.aspx?wx=w&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="docx" urlsrc="https://test.cloudreve.org/wv/StaticLoad.aspx?wx=w&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="dot" urlsrc="https://test.cloudreve.org/wv/StaticLoad.aspx?wx=w&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="dotm" urlsrc="https://test.cloudreve.org/wv/StaticLoad.aspx?wx=w&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="dotx" urlsrc="https://test.cloudreve.org/wv/StaticLoad.aspx?wx=w&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="odt" urlsrc="https://test.cloudreve.org/wv/StaticLoad.aspx?wx=w&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="preloadview" ext="rtf" urlsrc="https://test.cloudreve.org/wv/StaticLoad.aspx?wx=w&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="collab" ext="docx" urlsrc="https://test.cloudreve.org/ocs/Join.ashx?app=word" /><action name="documentchat" ext="doc" urlsrc="https://test.cloudreve.org/we/SkypeProxy.ashx" /><action name="documentchat" ext="docm" urlsrc="https://test.cloudreve.org/we/SkypeProxy.ashx" /><action name="documentchat" ext="docx" urlsrc="https://test.cloudreve.org/we/SkypeProxy.ashx" /><action name="documentchat" ext="dot" urlsrc="https://test.cloudreve.org/we/SkypeProxy.ashx" /><action name="documentchat" ext="dotm" urlsrc="https://test.cloudreve.org/we/SkypeProxy.ashx" /><action name="documentchat" ext="dotx" urlsrc="https://test.cloudreve.org/we/SkypeProxy.ashx" /><action name="documentchat" ext="odt" urlsrc="https://test.cloudreve.org/we/SkypeProxy.ashx" /><action name="open" ext="doc" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="open" ext="docm" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="open" ext="docx" requires="cobalt" urlsrc="https://test.cloudreve.org/we/wordeditorframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="open" ext="dot" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="open" ext="dotm" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="open" ext="dotx" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="open" ext="odt" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /><action name="open" ext="rtf" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&><IsLicensedUser=BUSINESS_USER&><actnavid=ACTIVITY_NAVIGATION_ID&>" /></app><app name="WordPdf" favIconUrl="https://test.cloudreve.org/wv/resources/1033/FavIcon_Word.ico" checkLicense="true"><action name="view" ext="pdf" default="true" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?PdfMode=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="imagepreview" ext="pdf" urlsrc="https://test.cloudreve.org/wv/WordPreviewHandler.ashx?PdfMode=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="interactivepreview" ext="pdf" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?embed=1&PdfMode=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="embedview" ext="pdf" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?embed=1&PdfMode=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /><action name="rtc" ext="pdf" urlsrc="https://test.cloudreve.org/rtc2/" /><action name="preloadview" ext="pdf" urlsrc="https://test.cloudreve.org/wv/StaticLoad.aspx?wx=w&wv=v&usescript=1&<ui=UI_LLCC>" /><action name="open" ext="pdf" urlsrc="https://test.cloudreve.org/wv/wordviewerframe.aspx?PdfMode=1&<ui=UI_LLCC&><rs=DC_LLCC&><dchat=DISABLE_CHAT&><hid=HOST_SESSION_ID&><showpagestats=PERFSTATS&>" /></app></net-zone><proof-key oldvalue="" oldmodulus="" oldexponent="" value="BgIAAACkAABSU0ExAAgAAAEAAQA9nk9orhtnY4VkunArRLdSjUWc7YA/+3glsfOCT1o5TGcbRDJqLU1rAeap0QVRLPf3D7DUGBHL2pXZ6cEKmsiQ78p+YICETUuNBLTlot2IHMPYXGg5LYFUX4ToN7U78RwQia4ohMe78Dhnnn2gx/So3QAQX8w5NBpS2E7cZYpD4P3/N5GsAQd2caL0zixjyHDdlimdtYJyR1H5upYK4ZB7qTSlHXW" modulus="1nWU0qTuQYYrWOrmRx3JCdZwel8QWEzNxvfuUmJvPTeQBzIh6f/bYLaJlbqOqeI8xfEADdqPTHoH2eZzjwu8eEKK6JEBzxO7U36IRfVIEtOWhc2MMciN2i5bQEjUtNhIBgfsrvkMiaCsHp2ZXayxEY1LAP9/csUQXRqeYBa00tajJEG2dMOVpPgvOxJXj7P4DtnEWNUrdEK3C6ZIVjZxuuaE+ePQ==" exponent="AQAB" /></wopi-discovery>`
|
|
mockHttp := &requestmock.RequestMock{}
|
|
client.http = mockHttp
|
|
mockHttp.On(
|
|
"Request",
|
|
"GET",
|
|
endpoint.String(),
|
|
testMock.Anything,
|
|
testMock.Anything,
|
|
).Return(&request.Response{
|
|
Response: &http.Response{
|
|
StatusCode: 200,
|
|
Body: io.NopCloser(strings.NewReader(testResponse)),
|
|
},
|
|
})
|
|
res := client.refreshDiscovery()
|
|
a.NoError(res, res)
|
|
a.NotEmpty(client.actions[".docx"])
|
|
a.NotEmpty(client.actions[".docx"][string(ActionPreview)])
|
|
a.NotEmpty(client.actions[".docx"][string(ActionEdit)])
|
|
mockHttp.AssertExpectations(t)
|
|
}
|
|
}
|