"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDBorderStyleDictionary.java" between
pdfbox-2.0.23-src.zip and pdfbox-2.0.24-src.zip

About: Apache PDFBox is a Java PDF library tool that allows creation of new PDF documents, manipulation of existing documents and the ability to extract content from documents.

PDBorderStyleDictionary.java  (pdfbox-2.0.23-src):PDBorderStyleDictionary.java  (pdfbox-2.0.24-src)
skipping to change at line 162 skipping to change at line 162
return getCOSObject().getNameAsString(COSName.S, STYLE_SOLID); return getCOSObject().getNameAsString(COSName.S, STYLE_SOLID);
} }
/** /**
* This will set the dash style used for drawing the border. * This will set the dash style used for drawing the border.
* *
* @param dashArray the dash style to use * @param dashArray the dash style to use
*/ */
public void setDashStyle(COSArray dashArray) public void setDashStyle(COSArray dashArray)
{ {
COSArray array = null; getCOSObject().setItem(COSName.D, dashArray);
if (dashArray != null)
{
array = dashArray;
}
getCOSObject().setItem(COSName.D, array);
} }
/** /**
* This will retrieve the dash style used for drawing the border. * This will retrieve the dash style used for drawing the border.
* *
* @return the dash style of the border * @return the dash style of the border
*/ */
public PDLineDashPattern getDashStyle() public PDLineDashPattern getDashStyle()
{ {
COSArray d = (COSArray) getCOSObject().getDictionaryObject(COSName.D); COSArray d = (COSArray) getCOSObject().getDictionaryObject(COSName.D);
 End of changes. 1 change blocks. 
6 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)