Exemplo n.º 1
0
        public void PasteAfter(ParagraphBase paragraphItem)
        {
            BodyRegion owner     = paragraphItem.Owner as BodyRegion;
            int        itemIndex = owner.method_5();
            int        num2      = paragraphItem.method_5();

            this.PasteAt(owner.OwnerTextBody, itemIndex, num2 + 1);
        }
Exemplo n.º 2
0
        public void ReplaceBookmarkContent(TextBodyPart bodyPart, bool isKeepSourceFirstParaFormat, bool saveFormatting)
        {
            bodyPart.bool_3 = isKeepSourceFirstParaFormat;
            this.method_0(saveFormatting, false);
            BodyRegion      owner  = this.bookmark_0.BookmarkStart.Owner as BodyRegion;
            int             num    = owner.method_5();
            int             num2   = this.bookmark_0.BookmarkStart.method_5();
            CharacterFormat format = this.method_1(this.bookmark_0.BookmarkStart);

            bodyPart.method_1(owner.OwnerTextBody, num, num2 + 1, format, saveFormatting);
            bodyPart.bool_3 = false;
        }
Exemplo n.º 3
0
        public void PasteAfter(BodyRegion bodyItem)
        {
            int num = bodyItem.method_5();

            this.PasteAt(bodyItem.OwnerTextBody, num + 1);
        }