Class OSwitch

All Implemented Interfaces:
SwitchInterface

public class OSwitch extends AbstractSwitch
Uses paragraphs formatted with (or based on) all or the specified range of built-in heading styles. Headings in a style range are specified by text in this switch's field-argument using the notation specified as for \l, where each integer corresponds to the style with a style ID of HeadingX (e.g. 1 corresponds to Heading1). If no heading range is specified, all heading levels used in the document are listed. Actually Word 2010 does this based on style's w:name (TODO confirm its that or id, not instead of id)