Constructor and Description |
---|
OptimizationOptions() |
Modifier and Type | Method and Description |
---|---|
static Document.OptimizationOptions |
All()
Creates optimization strategy will all options activated.
|
boolean |
getLinkDuplcateStreams()
If this flag is set to true, Resource streams will be analyzed.
|
boolean |
getRemoveUnusedObjects()
If this flag is set to true, all document objects will be checked and unused objects
(i.e.
|
boolean |
getRemoveUnusedStreams()
If this flag set to true, every resource is checked on it's usage.
|
void |
setLinkDuplcateStreams(boolean value)
If this flag is set to true, Resource streams will be analyzed.
|
void |
setRemoveUnusedObjects(boolean value)
If this flag is set to true, all document objects will be checked and unused objects
(i.e.
|
void |
setRemoveUnusedStreams(boolean value)
If this flag set to true, every resource is checked on it's usage.
|
public boolean getLinkDuplcateStreams()
public void setLinkDuplcateStreams(boolean value)
public boolean getRemoveUnusedStreams()
public void setRemoveUnusedStreams(boolean value)
value
- boolean valuepublic boolean getRemoveUnusedObjects()
public void setRemoveUnusedObjects(boolean value)
value
- boolean valuepublic static Document.OptimizationOptions All()
Copyright © 2020 Aspose. All Rights Reserved.