public class ContentsAppender extends Object
Performs contents modifications in APPEND mode only. this mode allows to avoid unneeded and heavy contents parsing before some change is made to the contents. It only appends new operators to the end or to the begin of the contents
Constructor and Description |
---|
ContentsAppender(Page page)
Initializez new instance of the contents appender with page attached
|
Modifier and Type | Method and Description |
---|---|
void |
appendToBegin(com.aspose.ms.System.Collections.IList operators)
Appends operators to the end of the contents
|
void |
appendToBegin(Operator op)
Appends operator to the end of the contents
|
void |
appendToBegin(Operator[] operators)
Appends operators to the end of the contents
|
void |
appendToEnd(com.aspose.ms.System.Collections.IList operators)
Appends operators to the begin of the contents
|
void |
appendToEnd(Operator op)
Appends operator to the begin of the contents
|
void |
appendToEnd(Operator[] operators)
Appends operators to the begin of the contents
|
String |
getBeginCode()
String containing opertors to insert into start of page.
|
com.aspose.ms.System.Collections.ArrayList |
getBeginOperators()
returns begin operators
|
String |
getEndCode()
Stirng containing operators to append to the end of page.
|
com.aspose.ms.System.Collections.ArrayList |
getEndOperators()
returns end operators
|
void |
resumeUpdate()
resumes document update
|
void |
setBeginCode(String value)
String containing opertors to insert into start of page.
|
void |
setEndCode(String value)
String containing opertors to insert into start of page.
|
void |
suppressUpdate()
Suppresses update contents data
The contents is not updated until ResumeUpdate is called
|
void |
updateData() |
public ContentsAppender(Page page)
Initializez new instance of the contents appender with page attached
public com.aspose.ms.System.Collections.ArrayList getBeginOperators()
returns begin operators
public String getBeginCode()
public void setBeginCode(String value)
value
- public String getEndCode()
public void setEndCode(String value)
value
- public com.aspose.ms.System.Collections.ArrayList getEndOperators()
returns end operators
public void appendToEnd(Operator op)
Appends operator to the begin of the contents
public void appendToEnd(Operator[] operators)
Appends operators to the begin of the contents
public void appendToEnd(com.aspose.ms.System.Collections.IList operators)
Appends operators to the begin of the contents
public void appendToBegin(Operator op)
Appends operator to the end of the contents
public void appendToBegin(Operator[] operators)
Appends operators to the end of the contents
public void appendToBegin(com.aspose.ms.System.Collections.IList operators)
Appends operators to the end of the contents
public void suppressUpdate()
public void resumeUpdate()
public void updateData()
Copyright © 2019 Aspose. All Rights Reserved.