* Connects the given text block on this page's container blocks depending on given addAtBottom.
* <p>
* Returns true, if newly linked and false, if already linked.
*/
public boolean connectToExistingTextBlock(TextBlock textBlock, boolean addAtBottom) throws RQLException {
Container blocksContainer = getBlocksContainer();
if (blocksContainer.isChild(textBlock.getPage())) {
return false;
}
// link really
blocksContainer.connectToExistingPage(textBlock.getPage(), addAtBottom);
return true;
}