---
name: "MsOffice::Word::Surgeon::Revision"
section: "3pm"
platform: "linux"
package: "libmsoffice-word-surgeon-perl"
version: "2.10-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/MsOffice::Word::Surgeon::Revision"
---

# MsOffice::Word::Surgeon::Revision(3pm)

generate XML markup for MsWord revisions

## NAME

MsOffice::Word::Surgeon::Revision - generate XML markup for MsWord revisions

## DESCRIPTION

This class implements the XML markup generation algorithm for the method "new\_revision" in MsOffice::Word::Surgeon. See that method for a description of the API.

## INTERNALS

The constructor requires an integer `"rev_id"` argument. The `"rev_id"` is fed by the surgeon object which generates a fresh value at each call. This is inserted as `"w:id"` attribute to the `"<w:del>"` and `"<w:ins>"` nodes -- but I don't really know why,  since it doesn't seem to be used for any purpose by MsWord.

## COPYRIGHT AND LICENSE

Copyright 2019-2024 by Laurent Dami.

This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.
