Свойство | Тип | Описание | |
---|---|---|---|
PageNumberStyleKeys | string[] |
Свойство | Тип | Описание | |
---|---|---|---|
AddFontCssRule | void | ||
AddNumberingStyleCssRule | void | ||
DoOneTimeCheck | void | ||
GetBoolValue | bool | ||
GetDecimalValue | decimal | ||
GetDefaultFontName | string | ||
GetIntegerValue | int | ||
GetLanguage1Name_NoCache | string | ||
GetLanguageNameInUILangIfPossible | string | ||
GetValue | string | ||
MakeLanguageUploadData | Bloom.Book.LanguageDescriptor[] | ||
MigrateSettingsToAndikaNewBasicFont | bool | ||
SaveSettingsCollectionStylesCss | void |
Метод | Описание | |
---|---|---|
CollectionSettings ( ) : System |
for moq in unit tests only
|
|
CollectionSettings ( |
||
CollectionSettings ( string desiredOrExistingSettingsFilePath ) : System |
can be used whether the library exists already, or not
|
|
CreateNewCollection ( |
||
FindSettingsFileInFolder ( string folderPath ) : string | ||
GetLanguage1Name ( string inLanguage ) : string | ||
GetLanguage2Name ( string inLanguage ) : string | ||
GetLanguage3Name ( string inLanguage ) : string | ||
GetLanguageLineHeight ( int langNum ) : decimal | ||
GetLanguageName ( string code, string inLanguage ) : string |
Get the name of the language whose code is the first argument, if possible in the language specified by the second. If the language code is unknown, return it unchanged.
|
|
GetLanguageRtl ( int langNum ) : bool | ||
GetPathForNewSettings ( string parentFolderPath, string newCollectionName ) : string | ||
Load ( ) : void | ||
RenameCollection ( string fromDirectory, string toDirectory ) : string | ||
Save ( ) : void | ||
SetLanguageLineHeight ( int langNum, decimal lineHeight ) : void | ||
SetLanguageRtl ( int langNum, bool isRtl ) : void |
Метод | Описание | |
---|---|---|
AddFontCssRule ( StringBuilder sb, string selector, string fontName, decimal lineHeight ) : void | ||
AddNumberingStyleCssRule ( StringBuilder sb, string styleNameKey ) : void | ||
DoOneTimeCheck ( ) : void | ||
GetBoolValue ( System.Xml.Linq.XElement library, string id, bool defaultValue ) : bool | ||
GetDecimalValue ( System.Xml.Linq.XElement library, string id, decimal defaultValue ) : decimal | ||
GetDefaultFontName ( ) : string | ||
GetIntegerValue ( System.Xml.Linq.XElement library, string id, int defaultValue ) : int | ||
GetLanguage1Name_NoCache ( string inLanguage ) : string | ||
GetLanguageNameInUILangIfPossible ( string name, string codeOfDesiredLanguage ) : string | ||
GetValue ( System.Xml.Linq.XElement document, string id, string defaultValue ) : string | ||
MakeLanguageUploadData ( string isoCodes ) : Bloom.Book.LanguageDescriptor[] | ||
MigrateSettingsToAndikaNewBasicFont ( ) : bool | ||
SaveSettingsCollectionStylesCss ( ) : void |
public CollectionSettings ( |
||
collectionInfo | ||
Результат | System |
public CollectionSettings ( string desiredOrExistingSettingsFilePath ) : System | ||
desiredOrExistingSettingsFilePath | string | |
Результат | System |
public static CreateNewCollection ( |
||
collectionInfo | ||
Результат | void |
public static FindSettingsFileInFolder ( string folderPath ) : string | ||
folderPath | string | |
Результат | string |
public GetLanguage1Name ( string inLanguage ) : string | ||
inLanguage | string | |
Результат | string |
public GetLanguage2Name ( string inLanguage ) : string | ||
inLanguage | string | |
Результат | string |
public GetLanguage3Name ( string inLanguage ) : string | ||
inLanguage | string | |
Результат | string |
public GetLanguageLineHeight ( int langNum ) : decimal | ||
langNum | int | |
Результат | decimal |
public GetLanguageName ( string code, string inLanguage ) : string | ||
code | string | |
inLanguage | string | |
Результат | string |
public GetLanguageRtl ( int langNum ) : bool | ||
langNum | int | |
Результат | bool |
public static GetPathForNewSettings ( string parentFolderPath, string newCollectionName ) : string | ||
parentFolderPath | string | |
newCollectionName | string | |
Результат | string |
public static RenameCollection ( string fromDirectory, string toDirectory ) : string | ||
fromDirectory | string | |
toDirectory | string | |
Результат | string |
public SetLanguageLineHeight ( int langNum, decimal lineHeight ) : void | ||
langNum | int | |
lineHeight | decimal | |
Результат | void |
public SetLanguageRtl ( int langNum, bool isRtl ) : void | ||
langNum | int | |
isRtl | bool | |
Результат | void |