| java.lang.Object org.apache.poi.hslf.record.Record org.apache.poi.hslf.record.RecordAtom org.apache.poi.hslf.record.TxMasterStyleAtom
TxMasterStyleAtom | public class TxMasterStyleAtom extends RecordAtom (Code) | | TxMasterStyleAtom atom (4003).
Stores default character and paragraph styles.
The atom instance value is the text type and is encoded like the txstyle field in
TextHeaderAtom. The text styles are located in the MainMaster container,
except for the "other" style, which is in the Document.Environment container.
This atom can store up to 5 pairs of paragraph+character styles,
each pair describes an indent level. The first pair describes
first-level paragraph with no indentation.
author: Yegor Kozlov |
TxMasterStyleAtom | protected TxMasterStyleAtom(byte[] source, int start, int len)(Code) | | |
getCharacterProps | protected TextProp[] getCharacterProps(int type, int level)(Code) | | Character properties for the specified text type and
indent level.
Depending on the level and type, it may be our special
ones, or the standard StyleTextPropAtom ones
|
getCharacterStyles | public TextPropCollection[] getCharacterStyles()(Code) | | Returns array of character styles defined in this record.
character styles defined in this record |
getParagraphProps | protected TextProp[] getParagraphProps(int type, int level)(Code) | | Paragraph properties for the specified text type and
indent level
Depending on the level and type, it may be our special
ones, or the standard StyleTextPropAtom ones
|
getParagraphStyles | public TextPropCollection[] getParagraphStyles()(Code) | | Returns array of paragraph styles defined in this record.
paragraph styles defined in this record |
getTextType | public int getTextType()(Code) | | Return type of the text.
Must be a constant defined in TextHeaderAtom
type of the text See Also: TextHeaderAtom See Also: |
init | protected void init()(Code) | | parse the record data and initialize styles
|
|
|