I can set meta descriptions and meta keywords as follows:
<?php
$document = JFactory::getDocument();
$document->setDescription("a meta description");
$document->setMetaData('keywords', 'some,keywords');
?>
Is there a similar way to set the page heading? By "page heading" I am referring to the "Page Heading" field in the menu item (see below) which usually (depending on the template you are using) results in a H1 heading at the top of the content.