C# Класс WorkbookPublishSettings, TabMigrate

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
OwnerName string
ShowTabs bool

Открытые методы

Метод Описание
WorkbookPublishSettings ( bool showTabs, string ownerName ) : System

Constructor

Приватные методы

Метод Описание
CreateSettingsFile ( SiteWorkbook, wb, string localWorkbookPath, KeyedLookup userLookups ) : void

Save Workbook metadata in a XML file along-side the workbook file

GenerateDefaultSettings ( ) : WorkbookPublishSettings,

Default settings to use if no settings file is present

GetSettingsForSavedWorkbook ( string workbookWithPath ) : WorkbookPublishSettings,

Look up any saved settings we have associated with a workbook on our local file systemm

IsSettingsFile ( string filePath ) : bool

TRUE if the file is an internal settings file

ParseXml_GetOwnerName ( XmlDocument xmlDoc ) : string

Looks for the Owner Name information inside the XML document

ParseXml_GetShowSheetsAsTabs ( XmlDocument xmlDoc ) : bool

Looks for the ShowTabs information inside the XML document

PathForSettingsFile ( string workbookPath ) : string

Generates the path/filename of the Settings file that corresponds to the workbook path

helper_LookUpOwnerId ( string ownerId, KeyedLookup userLookups ) : string

Looks

Описание методов

WorkbookPublishSettings() публичный Метод

Constructor
public WorkbookPublishSettings ( bool showTabs, string ownerName ) : System
showTabs bool
ownerName string
Результат System

Описание свойств

OwnerName публичное свойство

The name of the owner of the content (NULL if unknown)
public string OwnerName
Результат string

ShowTabs публичное свойство

TRUE: The published workbook should show tabs to navigate the sheets/dashboards/stories FALSE: No Tabs (each sheet/dashboard/story is accessed by its URL)
public bool ShowTabs
Результат bool