MsOffice::Word::Surgeon::BookmarkBoundary3pm
Internal representation for a msword bookmark
Overview
This is used internally by MsOffice::Word::Surgeon for storing bookmark fragments.
Methods
new
my $field = MsOffice::Word::Surgeon::Bookmark(%args);
Constructor for a new bookmark object. Arguments are :
- kind
-
Either
"Start"or"End"
- id
-
Numerical identifier for the bookmark
- name
-
The bookmark name. Only present in
"Start"boundaries.
- xml_before
-
A string containing arbitrary XML preceding that bookmark in the complete document.
- node_xml
-
The complete XML for this node.
Methods
prepend_xml
Adds an XML fragment in front of the current node_xml.
append_xml
Adds an XML fragment after the current node_xml.
Copyright and license
Copyright 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.