Class LayoutTaggingHelper
The class is a helper which is used to correctly create structure tree for layout element (with keeping right order for tags).
public class LayoutTaggingHelper
- Inheritance
-
LayoutTaggingHelper
- Inherited Members
Constructors
LayoutTaggingHelper(PdfDocument, bool)
public LayoutTaggingHelper(PdfDocument document, bool immediateFlush)
Parameters
document
PdfDocumentimmediateFlush
bool
Methods
AddKidsHint(TaggingHintKey, ICollection<TaggingHintKey>)
public virtual void AddKidsHint(TaggingHintKey parentKey, ICollection<TaggingHintKey> newKidsKeys)
Parameters
parentKey
TaggingHintKeynewKidsKeys
ICollection<TaggingHintKey>
AddKidsHint(TaggingHintKey, ICollection<TaggingHintKey>, int)
public virtual void AddKidsHint(TaggingHintKey parentKey, ICollection<TaggingHintKey> newKidsKeys, int insertIndex)
Parameters
parentKey
TaggingHintKeynewKidsKeys
ICollection<TaggingHintKey>insertIndex
int
AddKidsHint<_T0>(TagTreePointer, IEnumerable<_T0>)
public virtual void AddKidsHint<_T0>(TagTreePointer parentPointer, IEnumerable<_T0> newKids) where _T0 : IPropertyContainer
Parameters
parentPointer
TagTreePointernewKids
IEnumerable<_T0>
Type Parameters
_T0
AddKidsHint<_T0>(IPropertyContainer, IEnumerable<_T0>)
public virtual void AddKidsHint<_T0>(IPropertyContainer parent, IEnumerable<_T0> newKids) where _T0 : IPropertyContainer
Parameters
parent
IPropertyContainernewKids
IEnumerable<_T0>
Type Parameters
_T0
AddKidsHint<_T0>(IPropertyContainer, IEnumerable<_T0>, int)
public virtual void AddKidsHint<_T0>(IPropertyContainer parent, IEnumerable<_T0> newKids, int insertIndex) where _T0 : IPropertyContainer
Parameters
parent
IPropertyContainernewKids
IEnumerable<_T0>insertIndex
int
Type Parameters
_T0
AddTreeHints(LayoutTaggingHelper, IRenderer)
public static void AddTreeHints(LayoutTaggingHelper taggingHelper, IRenderer rootRenderer)
Parameters
taggingHelper
LayoutTaggingHelperrootRenderer
IRenderer
CreateTag(IRenderer, TagTreePointer)
public virtual bool CreateTag(IRenderer renderer, TagTreePointer tagPointer)
Parameters
renderer
IRenderertagPointer
TagTreePointer
Returns
CreateTag(TaggingHintKey, TagTreePointer)
public virtual bool CreateTag(TaggingHintKey hintKey, TagTreePointer tagPointer)
Parameters
hintKey
TaggingHintKeytagPointer
TagTreePointer
Returns
FinishTaggingHint(IPropertyContainer)
public virtual void FinishTaggingHint(IPropertyContainer hintOwner)
Parameters
hintOwner
IPropertyContainer
GetAccessibleKidsHint(TaggingHintKey)
public virtual IList<TaggingHintKey> GetAccessibleKidsHint(TaggingHintKey parent)
Parameters
parent
TaggingHintKey
Returns
GetAccessibleParentHint(TaggingHintKey)
public virtual TaggingHintKey GetAccessibleParentHint(TaggingHintKey hintKey)
Parameters
hintKey
TaggingHintKey
Returns
GetHintKey(IPropertyContainer)
public static TaggingHintKey GetHintKey(IPropertyContainer container)
Parameters
container
IPropertyContainer
Returns
GetKidsHint(TaggingHintKey)
public virtual IList<TaggingHintKey> GetKidsHint(TaggingHintKey parent)
Parameters
parent
TaggingHintKey
Returns
GetOrCreateHintKey(IPropertyContainer)
public static TaggingHintKey GetOrCreateHintKey(IPropertyContainer container)
Parameters
container
IPropertyContainer
Returns
GetParentHint(IPropertyContainer)
public virtual TaggingHintKey GetParentHint(IPropertyContainer hintOwner)
Parameters
hintOwner
IPropertyContainer
Returns
GetParentHint(TaggingHintKey)
public virtual TaggingHintKey GetParentHint(TaggingHintKey hintKey)
Parameters
hintKey
TaggingHintKey
Returns
GetPdfDocument()
public virtual PdfDocument GetPdfDocument()
Returns
IsArtifact(IPropertyContainer)
public virtual bool IsArtifact(IPropertyContainer hintOwner)
Parameters
hintOwner
IPropertyContainer
Returns
MarkArtifactHint(IPropertyContainer)
public virtual void MarkArtifactHint(IPropertyContainer hintOwner)
Parameters
hintOwner
IPropertyContainer
MarkArtifactHint(TaggingHintKey)
public virtual void MarkArtifactHint(TaggingHintKey hintKey)
Parameters
hintKey
TaggingHintKey
MoveKidHint(TaggingHintKey, TaggingHintKey)
public virtual int MoveKidHint(TaggingHintKey hintKeyOfKidToMove, TaggingHintKey newParent)
Parameters
hintKeyOfKidToMove
TaggingHintKeynewParent
TaggingHintKey
Returns
MoveKidHint(TaggingHintKey, TaggingHintKey, int)
public virtual int MoveKidHint(TaggingHintKey hintKeyOfKidToMove, TaggingHintKey newParent, int insertIndex)
Parameters
hintKeyOfKidToMove
TaggingHintKeynewParent
TaggingHintKeyinsertIndex
int
Returns
ReleaseAllHints()
public virtual void ReleaseAllHints()
ReleaseFinishedHints()
public virtual void ReleaseFinishedHints()
ReplaceKidHint(TaggingHintKey, ICollection<TaggingHintKey>)
public virtual int ReplaceKidHint(TaggingHintKey kidHintKey, ICollection<TaggingHintKey> newKidsHintKeys)
Parameters
kidHintKey
TaggingHintKeynewKidsHintKeys
ICollection<TaggingHintKey>
Returns
RestoreAutoTaggingPointerPosition(IRenderer)
public virtual void RestoreAutoTaggingPointerPosition(IRenderer renderer)
Parameters
renderer
IRenderer
SetRoleHint(IPropertyContainer, string)
public virtual void SetRoleHint(IPropertyContainer hintOwner, string role)
Parameters
hintOwner
IPropertyContainerrole
string
UseAutoTaggingPointerAndRememberItsPosition(IRenderer)
public virtual TagTreePointer UseAutoTaggingPointerAndRememberItsPosition(IRenderer renderer)
Parameters
renderer
IRenderer