Skip to main content

accept_elements

Function accept_elements 

Source
pub fn accept_elements(
    docx: &[u8],
    filter: &ChangeFilter,
) -> Result<Vec<u8>, ChangeError>
Expand description

Accept the elements filter selects, each w:ins, w:del or other mark by its own id (list_changes), even when it is only part of a logical change: for tools that work mark by mark, such as a comparison with Word’s own handling of each element. accept_changes refuses such a selection.

§Errors

As accept_changes, but never ChangeError::PartOfChange.