HTMLDocument.appendInlineElement(3kaya)

NAME

HTMLDocument::appendInlineElement - Append an inline element

SYNOPSIS

ElementTree   appendInlineElement(   ElementTree  block,  InlineElement
inline, String initialtext )

ARGUMENTS

block The element to add to

inline The inline element to add

initialtext The initial text content of the inline element

DESCRIPTION

Adds a new inline element containing some text to the end of a block.
p = addParagraph(parent,"This is ");
em = appendInlineElement(p,Emphasis,"important");
// <p>This is <em>important</em></p>

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

RELATED

HTMLDocument.InlineElement (3kaya) HTMLDocument.addInlineElementAt (3kaya) HTMLDocument.addString (3kaya)
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout