OpenXmlElementAddAddressBookmark Method

Add a bookmark for an address attribute

Definition

Namespace: Sandcastle.Core.PresentationStyle.Transformation.Elements.OpenXml
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.12.21.0
public static void AddAddressBookmark(
	XElement content,
	string uniqueId
)

Parameters

content  XElement
The content element to which the bookmark is added
uniqueId  String
The unique ID to use for the bookmark

Remarks

Open XML does not support ID attributes like HTML. Instead, it renders bookmarks with the unique IDs that will be used as the link targets. The Open XML file builder task will reformat the bookmark name and ID to ensure that they are all unique.

See Also