<bookmarkStart>
(Bookmark Start)
This element specifies the start of a bookmark within a WordprocessingML document. This start marker is matched with the appropriately paired end marker by matching the value of the @id
attribute from the associated <bookmarkEnd>
element.
If no <bookmarkEnd>
element exists subsequent to this element in document order with a matching @id
attribute value, then this element is ignored and no bookmark is present in the document with this name.
If a bookmark begins and ends within a single table, it is possible for that bookmark to cover discontiguous parts of that table which are logically related (e.g. a single column in a table). This type of placement for a bookmark is accomplished (and described in detail) on the @colFirst
and @colLast
attributes on this element.
<w:p> <w:r> <w:t xml:space="preserve">This is sentence one.</w:t> </w:r> <w:bookmarkStart w:id="0" w:name="testing123"/> <w:r> <w:t>This is sentence two.</w:t> </w:r> </w:p> <w:p> <w:r> <w:t xml:space="preserve">This </w:t> </w:r> <w:bookmarkEnd w:id="0"/> <w:r> <w:t>is sentence three.</w:t> </w:r> </w:p>
The <bookmarkStart>
element specifies the start of the region for the testing123
bookmark. This element is then linked to the <bookmarkEnd>
element which also has an @id
attribute value of 0
. ]
Parent Elements |
---|
|
Attributes |
Description |
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Specifies the zero-based index of the first column in this row which shall be part of this bookmark. When a bookmark is contained within a table, it is possible for that bookmark to only cover cells within a certain column and row range within that table, by specifying:
If this attribute appears, then the This bookmark would be specified using the following WordprocessingML for the table's conents: <w:tbl> … <w:tr> <w:tc> <w:bookMarkStart w:colFirst="0" w:colLast="1" w:id="0" w:name="table"/> <w:p/> </w:tc> <w:tc> <w:p/> </w:tc> <w:tc> <w:p/> </w:tc> </w:tr> <w:tr> <w:tc> <w:p/> </w:tc> <w:tc> <w:p/> </w:tc> <w:tc> <w:p/> </w:tc> <w:bookmarkEnd w:id="0" /> </w:tr> <w:tr> <w:tc> <w:p/> </w:tc> <w:tc> <w:p/> </w:tc> <w:tc> <w:p/> </w:tc> </w:tr> </w:tbl> The The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16). |
|||||||||
|
Specifies the zero-based index of the last column in this row which shall be part of this bookmark. When a bookmark is contained within a table, it is possible for that bookmark to only cover cells within a certain column and row range within that table, by specifying:
If this attribute appears, then the This bookmark would be specified using the following WordprocessingML for the table's conents: <w:tbl> … <w:tr> <w:tc> <w:bookMarkStart w:colFirst="0" w:colLast="1" w:id="0" w:name="table"/> <w:p/> </w:tc> <w:tc> <w:p/> </w:tc> <w:tc> <w:p/> </w:tc> </w:tr> <w:tr> <w:tc> <w:p/> </w:tc> <w:tc> <w:p/> </w:tc> <w:tc> <w:p/> </w:tc> <w:bookmarkEnd w:id="0" /> </w:tr> <w:tr> <w:tc> <w:p/> </w:tc> <w:tc> <w:p/> </w:tc> <w:tc> <w:p/> </w:tc> </w:tr> </w:tbl> The The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16). |
|||||||||
|
Specifies that the parent annotation's placement shall be directly linked with the location of the physical presentation of a custom XML element in the document. This element only has an effect when the custom XML element is block-level (i.e. surrounds an entire paragraph), as in this scenario the logical and physical placement of the annotation and custom XML element may differ. Specifically, in this case, the custom XML is presented *around* the block-level object it encloses (the paragraph, table, table row, or table cell), but is physically represented within that same object (i.e. within the paragraph, table, table row or table cell). This requirement stems from the fact that there is no location for the location of the annotation within the document at its logical location (around a table, for example). If this element is omitted, then the annotation shall be anchored inside of all block-level custom XML elements in the paragraph. If this element is present, but no block-level custom XML tag is located at the position it specifies (before or after), then it shall be ignored. Since all three of these items are around the entire paragraph, they are stored outside of the paragraph. However, in order to ensure that their relative positions are stored correctly, any annotation which shall be displaced by the physical custom XML element specifies this information, resulting in the following WordprocessingML: <w:commentRangeStart w:id="0" /> <w:commentRangeStart w:id="1" w:displaced byCustomXml="next" /> <w:customXml w:element="spec" … /> <w:p> … </w:p> The The possible values for this attribute are defined by the ST_DisplacedByCustomXml simple type (§2.18.17). |
|||||||||
|
Specifies a unique identifier for an annotation within a WordprocessingML document. The restrictions on the If this attribute is omitted, then the document is non-conformant. <w:… w:id="1" … > … </w:…> The The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16). |
|||||||||
|
Specifies the bookmark name. If multiple bookmarks in a document share the same name, then the first bookmark (defined by the location of the <w:p> <w:bookmarkStart w:id="0" w:name="place" /> <w:r> <w:t>Seattle</w:t> </w:r> <w:bookmarkEnd w:id="0" /> </w:p> The The possible values for this attribute are defined by the ST_String simple type (§2.18.89). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_Bookmark">
<complexContent>
<extension base="CT_BookmarkRange">
<attribute name="name" type="ST_String" use="required"/>
</extension>
</complexContent>
</complexType>