webdav portal owa editing alpha
This commit is contained in:
parent
7aa68cd775
commit
aedc7ec08e
33 changed files with 969 additions and 153 deletions
|
@ -5,7 +5,8 @@ namespace WebsitePanel.WebDavPortal.WebConfigSections
|
|||
public class OfficeOnlineElement : ConfigurationElement
|
||||
{
|
||||
private const string ExtensionKey = "extension";
|
||||
private const string OwaOpenerKey = "owaOpener";
|
||||
private const string OwaViewKey = "OwaView";
|
||||
private const string OwaEditorKey = "OwaEditor";
|
||||
|
||||
[ConfigurationProperty(ExtensionKey, IsKey = true, IsRequired = true)]
|
||||
public string Extension
|
||||
|
@ -14,11 +15,18 @@ namespace WebsitePanel.WebDavPortal.WebConfigSections
|
|||
set { this[ExtensionKey] = value; }
|
||||
}
|
||||
|
||||
[ConfigurationProperty(OwaOpenerKey, IsKey = true, IsRequired = true)]
|
||||
public string OwaOpener
|
||||
[ConfigurationProperty(OwaViewKey, IsKey = true, IsRequired = true)]
|
||||
public string OwaView
|
||||
{
|
||||
get { return this[OwaOpenerKey].ToString(); }
|
||||
set { this[OwaOpenerKey] = value; }
|
||||
get { return this[OwaViewKey].ToString(); }
|
||||
set { this[OwaViewKey] = value; }
|
||||
}
|
||||
|
||||
[ConfigurationProperty(OwaEditorKey, IsKey = true, IsRequired = true)]
|
||||
public string OwaEditor
|
||||
{
|
||||
get { return this[OwaEditorKey].ToString(); }
|
||||
set { this[OwaEditorKey] = value; }
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue