// Set the name and value of the FieldMaster
xMasterPropSet.setPropertyValue ( "Name", "UserEmperor" );
xMasterPropSet.setPropertyValue ( "Value", new Integer ( 42 ) );
// Attach the field master to the user field
xUserField.attachTextFieldMaster ( xMasterPropSet );
// Move the cursor to the end of the document
mxDocCursor.gotoEnd( false );
// insert a paragraph break using the XSimpleText interface
mxDocText.insertControlCharacter (