com.aspose.words
Class RevisionOptions

java.lang.Object
    extended by com.aspose.words.RevisionOptions
All Implemented Interfaces:
java.lang.Cloneable

public class RevisionOptions 
extends java.lang.Object

Allows to control how document revisions are handled during layout process.

Property Getters/Setters Summary
intgetDeletedTextColor()
voidsetDeletedTextColor(int value)
           Allows to specify the color to be used for deleted content RevisionType.DELETION. Default value for this property is RevisionColor.BY_AUTHOR. The value of the property is RevisionColor integer constant.
intgetDeletedTextEffect()
voidsetDeletedTextEffect(int value)
           Allows to specify the effect to be applied to the deleted content RevisionType.DELETION. Default value is RevisionTextEffect.STRIKE_THROUGHThe value of the property is RevisionTextEffect integer constant.
intgetInsertedTextColor()
voidsetInsertedTextColor(int value)
           Allows to specify the color to be used for inserted content RevisionType.INSERTION. Default value for this property is RevisionColor.BY_AUTHOR. The value of the property is RevisionColor integer constant.
intgetInsertedTextEffect()
voidsetInsertedTextEffect(int value)
           Allows to specify the effect to be applied to the inserted content RevisionType.INSERTION. Default value is RevisionTextEffect.UNDERLINE. The value of the property is RevisionTextEffect integer constant.
intgetMovedFromTextColor()
voidsetMovedFromTextColor(int value)
           Allows to specify the color to be used for areas where content was moved from RevisionType.MOVING. Default value for this property is RevisionColor.BY_AUTHOR. The value of the property is RevisionColor integer constant.
intgetMovedFromTextEffect()
voidsetMovedFromTextEffect(int value)
           Allows to specify the effect to be applied to the areas where content was moved from RevisionType.MOVING. Default value is RevisionTextEffect.DOUBLE_STRIKE_THROUGHThe value of the property is RevisionTextEffect integer constant.
intgetMovedToTextColor()
voidsetMovedToTextColor(int value)
           Allows to specify the color to be used for areas where content was moved to RevisionType.MOVING. Default value for this property is RevisionColor.BY_AUTHOR. The value of the property is RevisionColor integer constant.
intgetMovedToTextEffect()
voidsetMovedToTextEffect(int value)
           Allows to specify the effect to be applied to the areas where content was moved to RevisionType.MOVING. Default value is RevisionTextEffect.DOUBLE_UNDERLINEThe value of the property is RevisionTextEffect integer constant.
intgetRevisedPropertiesColor()
voidsetRevisedPropertiesColor(int value)
           Allows to specify the color to be used for content with changes of formatting properties RevisionType.FORMAT_CHANGE Default value for this property is RevisionColor.NO_HIGHLIGHT. The value of the property is RevisionColor integer constant.
intgetRevisedPropertiesEffect()
voidsetRevisedPropertiesEffect(int value)
           Allows to specify the effect for content areas with changes of formatting properties RevisionType.FORMAT_CHANGE Default value is RevisionTextEffect.NONEThe value of the property is RevisionTextEffect integer constant.
intgetRevisionBarsColor()
voidsetRevisionBarsColor(int value)
           Allows to specify the color to be used for side bars that identify document lines containing revised information. Default value for this property is RevisionColor.RED. The value of the property is RevisionColor integer constant.
floatgetRevisionBarsWidth()
voidsetRevisionBarsWidth(float value)
           Gets or sets width of revision bars, points.
booleangetShowOriginalRevision()
voidsetShowOriginalRevision(boolean value)
           Allows to specify whether the original text should be shown instead of revised one. Default value for this property is false.
booleangetShowRevisionBars()
voidsetShowRevisionBars(boolean value)
           Allows to specify whether revision bars should be rendered near lines containing revised content. Default value for this property is true.
booleangetShowRevisionMarks()
voidsetShowRevisionMarks(boolean value)
           Allow to specify whether revision text should be marked with special formatting markup. Default value for this property is true.
 

Property Getters/Setters Detail

getDeletedTextColor/setDeletedTextColor

public int getDeletedTextColor() / public void setDeletedTextColor(int value)
Allows to specify the color to be used for deleted content RevisionType.DELETION. Default value for this property is RevisionColor.BY_AUTHOR. The value of the property is RevisionColor integer constant.

getDeletedTextEffect/setDeletedTextEffect

public int getDeletedTextEffect() / public void setDeletedTextEffect(int value)
Allows to specify the effect to be applied to the deleted content RevisionType.DELETION. Default value is RevisionTextEffect.STRIKE_THROUGHThe value of the property is RevisionTextEffect integer constant.

getInsertedTextColor/setInsertedTextColor

public int getInsertedTextColor() / public void setInsertedTextColor(int value)
Allows to specify the color to be used for inserted content RevisionType.INSERTION. Default value for this property is RevisionColor.BY_AUTHOR. The value of the property is RevisionColor integer constant.

getInsertedTextEffect/setInsertedTextEffect

public int getInsertedTextEffect() / public void setInsertedTextEffect(int value)
Allows to specify the effect to be applied to the inserted content RevisionType.INSERTION. Default value is RevisionTextEffect.UNDERLINE. The value of the property is RevisionTextEffect integer constant.Values of RevisionTextEffect.HIDDEN and RevisionTextEffect.DOUBLE_STRIKE_THROUGH are not allowed and will cause System.ArgumentOutOfRangeException.

getMovedFromTextColor/setMovedFromTextColor

public int getMovedFromTextColor() / public void setMovedFromTextColor(int value)
Allows to specify the color to be used for areas where content was moved from RevisionType.MOVING. Default value for this property is RevisionColor.BY_AUTHOR. The value of the property is RevisionColor integer constant.

getMovedFromTextEffect/setMovedFromTextEffect

public int getMovedFromTextEffect() / public void setMovedFromTextEffect(int value)
Allows to specify the effect to be applied to the areas where content was moved from RevisionType.MOVING. Default value is RevisionTextEffect.DOUBLE_STRIKE_THROUGHThe value of the property is RevisionTextEffect integer constant.

getMovedToTextColor/setMovedToTextColor

public int getMovedToTextColor() / public void setMovedToTextColor(int value)
Allows to specify the color to be used for areas where content was moved to RevisionType.MOVING. Default value for this property is RevisionColor.BY_AUTHOR. The value of the property is RevisionColor integer constant.

getMovedToTextEffect/setMovedToTextEffect

public int getMovedToTextEffect() / public void setMovedToTextEffect(int value)
Allows to specify the effect to be applied to the areas where content was moved to RevisionType.MOVING. Default value is RevisionTextEffect.DOUBLE_UNDERLINEThe value of the property is RevisionTextEffect integer constant.Values of RevisionTextEffect.HIDDEN and RevisionTextEffect.DOUBLE_STRIKE_THROUGH are not allowed and will cause System.ArgumentOutOfRangeException.

getRevisedPropertiesColor/setRevisedPropertiesColor

public int getRevisedPropertiesColor() / public void setRevisedPropertiesColor(int value)
Allows to specify the color to be used for content with changes of formatting properties RevisionType.FORMAT_CHANGE Default value for this property is RevisionColor.NO_HIGHLIGHT. The value of the property is RevisionColor integer constant.

getRevisedPropertiesEffect/setRevisedPropertiesEffect

public int getRevisedPropertiesEffect() / public void setRevisedPropertiesEffect(int value)
Allows to specify the effect for content areas with changes of formatting properties RevisionType.FORMAT_CHANGE Default value is RevisionTextEffect.NONEThe value of the property is RevisionTextEffect integer constant.RevisionTextEffect.HIDDEN is not allowed and will cause System.ArgumentOutOfRangeException.

getRevisionBarsColor/setRevisionBarsColor

public int getRevisionBarsColor() / public void setRevisionBarsColor(int value)
Allows to specify the color to be used for side bars that identify document lines containing revised information. Default value for this property is RevisionColor.RED. The value of the property is RevisionColor integer constant. Setting this property to RevisionColor.BY_AUTHOR or RevisionColor.NO_HIGHLIGHT values will result in hiding revision bars from the layout.

getRevisionBarsWidth/setRevisionBarsWidth

public float getRevisionBarsWidth() / public void setRevisionBarsWidth(float value)
Gets or sets width of revision bars, points.

getShowOriginalRevision/setShowOriginalRevision

public boolean getShowOriginalRevision() / public void setShowOriginalRevision(boolean value)
Allows to specify whether the original text should be shown instead of revised one. Default value for this property is false.

getShowRevisionBars/setShowRevisionBars

public boolean getShowRevisionBars() / public void setShowRevisionBars(boolean value)
Allows to specify whether revision bars should be rendered near lines containing revised content. Default value for this property is true.

getShowRevisionMarks/setShowRevisionMarks

public boolean getShowRevisionMarks() / public void setShowRevisionMarks(boolean value)
Allow to specify whether revision text should be marked with special formatting markup. Default value for this property is true.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.