'Initialize from an edit page form submission by the author.
Keyword Parameters:
request - the Request for the author
cleaned_data - the validated form data
document - the document the user is editing'

def __init__(self, request, cleaned_data, document):

    super(AkismetEditDocumentData, self).__init__()
    self.set_by_edit_request(request)
    self.set_blog_lang(document.locale)
    self.set_permalink(document, request)
    new_content = self.content_from_form(cleaned_data)
    existing_content = self.content_from_document(document)
    self.set_content(new_content, existing_content)
