Exemple #1
0
        public void VisitLockedContent(ILockedContent lockedContent)
        {
            LockedContentTags.Add((ILockedContent)lockedContent);

            SegmentSections.Add(new SegmentSection(SegmentSection.ContentType.LockedContent, "", lockedContent.Content.ToString()));

            PlainText.Append(lockedContent.Content);
        }
        public void VisitLockedContent(ILockedContent lockedContent)
        {
            LockedContentTags.Add((ILockedContent)lockedContent.Clone());

            var objTag = new Tag
            {
                AlignmentAnchor = "",
                Anchor          = "",
                TagId           = lockedContent.UniqueId.ToString(),
                TextEquivalent  = lockedContent.Content.ToString(),
                SectionType     = Tag.Type.LockedContent
            };

            SegmentSections.Add(objTag);

            PlainText.Append(lockedContent.Content);
        }