public final class TextRulerAtom extends RecordAtom
Constructor and Description |
---|
TextRulerAtom()
Constructs a new empty ruler atom.
|
Modifier and Type | Method and Description |
---|---|
Integer[] |
getBulletOffsets()
First line of paragraph's distance from shape's left margin, in master coordinates (576 dpi).
|
int |
getDefaultTabSize()
Default distance between tab stops, in master coordinates (576 dpi).
|
int |
getNumberOfLevels()
Number of indent levels (maximum 5).
|
static TextRulerAtom |
getParagraphInstance() |
long |
getRecordType()
Gets the record type.
|
List<HSLFTabStop> |
getTabStops()
Default distance between tab stops, in master coordinates (576 dpi).
|
Integer[] |
getTextOffsets()
Paragraph's distance from shape's left margin, in master coordinates (576 dpi).
|
void |
setParagraphIndent(short leftMargin,
short indent) |
void |
writeOut(OutputStream out)
Write the contents of the record back, so it can be written
to disk.
|
getChildRecords, isAnAtom
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian
public long getRecordType()
getRecordType
in class Record
public void writeOut(OutputStream out) throws IOException
writeOut
in class Record
out
- the output stream to write to.IOException
- if an error occurs.public int getDefaultTabSize()
public int getNumberOfLevels()
public List<HSLFTabStop> getTabStops()
public Integer[] getTextOffsets()
public Integer[] getBulletOffsets()
public static TextRulerAtom getParagraphInstance()
public void setParagraphIndent(short leftMargin, short indent)
Copyright © 2010 - 2020 Adobe. All Rights Reserved