An object of the present invention is to provide a document processing
apparatus and method capable of adding headers/footers to a plurality of
sections of a document. Check boxes for definitions are checked on a
plurality-of-definitions setting window. A document is sectioned into
chapters by designating the first and last chapters. Page numbers can be
assigned throughout each section, and the format of the page number can
be set.