Method | Description | |
---|---|---|
CreateEmptySection ( IScrBook book, int iSection ) : IScrSection |
Create a new section, to be owned by the given book. Since the StTexts are empty, this version of the function is generic (i.e. the new section may be made either an intro section or a scripture text section by the calling code).
|
|
CreateScrSection ( IScrBook book, int iSection, string contentText, ITsTextProps contentTextProps, bool isIntro ) : IScrSection |
Create a new section, to be owned by the given book. The section will be an intro section if the isIntro flag is set to
|
|
CreateSection ( IScrBook book, int iSection, bool isIntro, bool createHeadingPara, bool createContentPara ) : IScrSection |
Creates a section with optional heading/content paragraphs.
|
public CreateEmptySection ( IScrBook book, int iSection ) : IScrSection | ||
book | IScrBook | The book where the new section will be created |
iSection | int | The zero-based index of the new section |
return | IScrSection |
public CreateScrSection ( IScrBook book, int iSection, string contentText, ITsTextProps contentTextProps, bool isIntro ) : IScrSection | ||
book | IScrBook | The book where the new section will be created |
iSection | int | The zero-based index of the new section |
contentText | string | The text to be used as the first para in the new section /// content |
contentTextProps | ITsTextProps | The character properties to be applied to the first /// para in the new section content |
isIntro | bool | True to create an intro section, false to create a /// normal scripture section |
return | IScrSection |
public CreateSection ( IScrBook book, int iSection, bool isIntro, bool createHeadingPara, bool createContentPara ) : IScrSection | ||
book | IScrBook | The book where the new section will be created |
iSection | int | The zero-based index of the new section |
isIntro | bool | True to create an intro section, false to create a /// normal scripture section |
createHeadingPara | bool | if true, heading paragraph will be created |
createContentPara | bool | if true, content paragraph will be created |
return | IScrSection |