public addSection ( |
||
parentSection | ||
sectionTitle | string | |
resource | ||
Результат |
public TOCReference addSection(TOCReference parentSection, string sectionTitle, Resource resource)
{
getResources().add(resource);
if (spine.findFirstResourceById(resource.getId()) < 0)
{
spine.addSpineReference(new SpineReference(resource));
}
return parentSection.addChildSection(new TOCReference(sectionTitle, resource));
}
Book::addSection ( string title, |