Package com.deltaxml.dita.config
Class ImageConfiguration
java.lang.Object
com.deltaxml.dita.config.ImageConfiguration
Parameters managing image how images are compared and represented in the output.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the image comparison granularity.Gets the Input A Image comparison markup style used for image comparison results.Gets the Input B Image comparison markup style used for image comparison results.Gets the value of the outputImageRefForm parameter.booleanGets the value of the imageCompareEnabled parameter.voidsetImageCompareEnabled(boolean value) Specifies whether to enable or disable image comparison.voidSets the image comparison granularity.voidsetInputAMarkupStyle(String inputAMarkupStyle) Sets the Input A image markup style used for image comparison results.voidsetInputBMarkupStyle(String inputBMarkupStyle) Sets the Input B image markup style used for image comparison results.voidsetOutputImageRefFavourSourceDoc(OutputImageRefFavourSourceDoc outputImageRefFavourSourceDoc) voidSpecifies output image reference form after image comparison for topic only comparison.
-
Constructor Details
-
ImageConfiguration
public ImageConfiguration()Creates a newImageConfigurationinstance. Parameters managing image how images are compared and represented in the output.
-
-
Method Details
-
isImageCompareEnabled
public boolean isImageCompareEnabled()Gets the value of the imageCompareEnabled parameter.- Returns:
- the value of the imageCompareEnabled parameter
-
setImageCompareEnabled
public void setImageCompareEnabled(boolean value) Specifies whether to enable or disable image comparison.
Default:
true- Parameters:
value- the value to set for the image compare parameter
-
getOutputImageRefForm
Gets the value of the outputImageRefForm parameter.- Returns:
- the value of the outputImageRefForm parameter
-
setOutputImageRefForm
Specifies output image reference form after image comparison for topic only comparison.
Default:
OutputImageRefForm.SOURCE- Parameters:
value- a value for output image reference form- Throws:
IllegalArgumentException- if the value is null- See Also:
-
getOutputImageRefFavourSourceDoc
-
setOutputImageRefFavourSourceDoc
public void setOutputImageRefFavourSourceDoc(OutputImageRefFavourSourceDoc outputImageRefFavourSourceDoc) -
getImageComparisonGranularity
Gets the image comparison granularity.
- Returns:
- the current image comparison granularity
- See Also:
-
setImageComparisonGranularity
Sets the image comparison granularity.
- Parameters:
value- the new image comparison granularity to use- Throws:
IllegalArgumentException- if the value is null- See Also:
-
setInputAMarkupStyle
Sets the Input A image markup style used for image comparison results. The default is "red".- Parameters:
inputAMarkupStyle- the Input A image markup style.
-
getInputAMarkupStyle
Gets the Input A Image comparison markup style used for image comparison results.- Returns:
- the Input A Image markup style.
-
setInputBMarkupStyle
Sets the Input B image markup style used for image comparison results. The default is "green".- Parameters:
inputBMarkupStyle- the Input B image markup style.
-
getInputBMarkupStyle
Gets the Input B Image comparison markup style used for image comparison results.- Returns:
- the Input B Image markup style.
-