CdrDocument

Inheritance: java.lang.Object, com.aspose.imaging.DisposableObject, com.aspose.imaging.fileformats.cdr.objects.CdrObject, com.aspose.imaging.fileformats.cdr.objects.CdrObjectContainer

public class CdrDocument extends CdrObjectContainer

The cdr root object

Methods

MethodDescription
getArrows()Gets the arrows.
getFills()Gets the fills.
getOutLines()Gets the out lines.
getBmps()Gets the BMPS.
getBmpMasks()Gets the BMP masks.
getFonts()Gets the fonts.
getStyles()Gets the styles.
getTexts()Gets the texts.
getPatterns()Gets the patterns.
getVectorPatterns()Gets the vector patterns.
getPowerClips()Gets the power clips.
setPowerClips(SortedMap<Short,CdrListObjects> value)The power clips.
getClipIds()Gets the clip ids.
setClipIds(List value)Sets the clip ids.
getLastTextIndex()Gets the text indexes.
setLastTextIndex(int value)The text indexes.
getVersion()Gets the version.
setVersion(int value)Sets the version.

getArrows()

public final IntObjDictionary<CdrArrow> getArrows()

Gets the arrows.

Returns: com.aspose.java.optimization.maps.IntObjDictionary<com.aspose.imaging.fileformats.cdr.objects.CdrArrow> - the arrows.

getFills()

public final IntObjDictionary<CdrFill> getFills()

Gets the fills.

Returns: com.aspose.java.optimization.maps.IntObjDictionary<com.aspose.imaging.fileformats.cdr.objects.CdrFill> - the arrows.

getOutLines()

public final IntObjDictionary<CdrOutline> getOutLines()

Gets the out lines.

Returns: com.aspose.java.optimization.maps.IntObjDictionary<com.aspose.imaging.fileformats.cdr.objects.CdrOutline> - the out lines.

getBmps()

public final IntObjDictionary<CdrBmp> getBmps()

Gets the BMPS.

Returns: com.aspose.java.optimization.maps.IntObjDictionary<com.aspose.imaging.fileformats.cdr.objects.CdrBmp> - the BMPS.

getBmpMasks()

public final IntObjDictionary<CdrBmp> getBmpMasks()

Gets the BMP masks.

Returns: com.aspose.java.optimization.maps.IntObjDictionary<com.aspose.imaging.fileformats.cdr.objects.CdrBmp> - the BMP masks.

getFonts()

public final IntObjDictionary<CdrFont> getFonts()

Gets the fonts.

Returns: com.aspose.java.optimization.maps.IntObjDictionary<com.aspose.imaging.fileformats.cdr.objects.CdrFont> - the fonts.

getStyles()

public final IntObjDictionary<CdrStyle> getStyles()

Gets the styles.

Returns: com.aspose.java.optimization.maps.IntObjDictionary<com.aspose.imaging.fileformats.cdr.objects.CdrStyle> - the styles.

getTexts()

public final CdrTextCollection getTexts()

Gets the texts.

Returns: CdrTextCollection - the texts.

getPatterns()

public final IntObjDictionary<CdrPattern> getPatterns()

Gets the patterns.

Returns: com.aspose.java.optimization.maps.IntObjDictionary<com.aspose.imaging.fileformats.cdr.objects.CdrPattern> - the patterns.

getVectorPatterns()

public final IntObjDictionary<CdrVectorPattern> getVectorPatterns()

Gets the vector patterns.

Returns: com.aspose.java.optimization.maps.IntObjDictionary<com.aspose.imaging.fileformats.cdr.objects.CdrVectorPattern> - the vector patterns.

getPowerClips()

public final SortedMap<Short,CdrListObjects> getPowerClips()

Gets the power clips.

Value: The power clips.

Returns: java.util.SortedMap<java.lang.Short,com.aspose.imaging.fileformats.cdr.objects.CdrListObjects> - the power clips.

setPowerClips(SortedMap<Short,CdrListObjects> value)

public final void setPowerClips(SortedMap<Short,CdrListObjects> value)

The power clips.

Value: The power clips.

Parameters:

ParameterTypeDescription
valuejava.util.SortedMap<java.lang.Short,com.aspose.imaging.fileformats.cdr.objects.CdrListObjects>the power clips.

getClipIds()

public final List<Short> getClipIds()

Gets the clip ids.

Value: The clip ids.

Returns: java.util.List<java.lang.Short> - the clip ids.

setClipIds(List value)

public final void setClipIds(List<Short> value)

Sets the clip ids.

Value: The clip ids.

Parameters:

ParameterTypeDescription
valuejava.util.List<java.lang.Short>the clip ids.

getLastTextIndex()

public final int getLastTextIndex()

Gets the text indexes.

Value: The text indexes.

Returns: int - the text indexes.

setLastTextIndex(int value)

public final void setLastTextIndex(int value)

The text indexes.

Value: The text indexes.

Parameters:

ParameterTypeDescription
valueintthe text indexes.

getVersion()

public final int getVersion()

Gets the version.

Returns: int - the version.

setVersion(int value)

public final void setVersion(int value)

Sets the version.

Parameters:

ParameterTypeDescription
valueintthe version.