MsOffi...evision(3pm)
π MsOffi...evision(3pm) β the Word Surgeon's revision-glam era π
okay bestie, pull up a chair because this is MsOffi...evision(3pm) and it's literally the little backstage fairy that makes tracked changes sparkle β¨
πΈ NAME πΈ
MsOffice::Word::Surgeon::Revision β the class that generates XML markup for MsWord revisions π
It's giving "I make the diff, you take the credit" fr fr.
π¦ DESCRIPTION π¦
So this class is the one implementing the XML markup generation algorithm for the method "new_revision" in MsOffice::Word::Surgeon. π
That's it, that's the whole job description. If you wanna know about the actual API, you gotta go read that method β this class is the intern in the back room doing the markup, not the one answering your questions at the front desk. π
Lowkey: the docs here point you at"new_revision"inMsOffice::Word::Surgeonfor the API description. No cap, that's where the info lives.
π§ INTERNALS π§
okay so this is the part where we get into the vibes of how it actually works internally. π
- The constructor requires an integer
"rev_id"argument. Yes, integer, not vibes. β - Where does that
"rev_id"come from? The surgeon object feeds it in, and that surgeon generates a fresh value at each call. So every revision gets its own little ID moment. slay. π - That value gets inserted as the
"w:id"attribute onto the<w:del>and<w:ins>nodes. π - And why, you ask? bestieβ¦ I don't really know why. π It doesn't seem to be used for any purpose by MsWord. It's justβ¦ there. Iconic behavior honestly. π
Not me documenting an attribute that apparently does nothing. The original author said the quiet part out loud and we respect that. π«Ά
π 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. Go off, legally. β
aaaaand that's the page!! π this is MsOffi...evision(3pm) from the User Contributed Perl Documentation, perl v5.40.1, dated 2025-10-05 β mwah, bye bestie ππ¦β¨
π¦ where this page comes from
- ubuntu resolute: libmsoffice-word-surgeon-perl 2.11-1 Β· Artistic-2.0
- ubuntu stonking: libmsoffice-word-surgeon-perl 2.11-1 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms