Arbortext Command Language > Functions by Alphabetical Listing > clear
  
clear
layout::clear ([doc])
 
This function removes the atipl namespace declaration and all page layout markup from a document and returns the status of the operation. The doc parameter specifies the document to modify. The current document is assumed if this parameter is not specified.
If the document contains page layout markup and the operation fails, the function returns 0 and the namespace declaration is retained. If the operation succeeds, then the function returns 1.
For more detailed information on the page layout elements and their attributes, see www.arbortext.com/namespace/pagelayout. Refer to the Programmer's Reference for more detailed information about line numbering applications.
Related Topics
set pagelayoutmarkers
set protectpagelayout
layout::add function
linenum function
layout::apply function