---
name: "MsOffice::Word::Surgeon::BookmarkBoundary"
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::BookmarkBoundary"
---

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

internal representation for a MsWord bookmark

## 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.
