this.copyFormattedText = copyFormattedText;
}
@Override
public boolean doCommand(CopyDataToClipboardCommand command) {
ISerializer serializer = copyFormattedText ? new CopyFormattedTextToClipboardSerializer(
assembleCopiedDataStructure(), command)
: new CopyDataToClipboardSerializer(
assembleCopiedDataStructure(), command);
serializer.serialize();
return true;