Hi,
We are not able to uncheck “Contents cannot be edited” option of Word Content Control Properties window AsposeSDT.PNG
through Aspose Java API.Please find below code snippet we have used in java to un-check that option.
final StructuredDocumentTag tag = new StructuredDocumentTag( document,
( ( targetContent.getContentType()
.equalsIgnoreCase( CCUConstants.IMAGE_CONTENTS ) ) ? SdtType.PICTURE
: SdtType.RICH_TEXT ),
MarkupLevel.INLINE );
tag.setTitle( targetContent.getElement().getContentType() + “:” + targetContent.getName() );
tag.setTag( “content:{“name”:”" + targetContent.getName() + “”,“uuid”:"" + targetContent.getUuid() + “”}" );
tag.setLockContents( false );
final FindReplaceOptions findReplaceOptions = new FindReplaceOptions();
findReplaceOptions.setFindWholeWordsOnly( true );
findReplaceOptions.setMatchCase( true );
tag.getRange().replace( “Click here to enter text”, targetContent.getName(), findReplaceOptions )