table of contents
MsOffice::Word::Surgeon::BookmarkBoundary(3pm) | User Contributed Perl Documentation | MsOffice::Word::Surgeon::BookmarkBoundary(3pm) |
NAME¶
MsOffice::Word::Surgeon::BookmarkBoundary - internal representation for a MsWord bookmark
DESCRIPTION¶
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.
AUTHOR¶
Laurent Dami, <dami AT cpan DOT org<gt>
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.
2024-10-06 | perl v5.38.2 |