예제 #1
0
        /**
         * Used to create a deep copy of this object.
         *
         * @return A deep copy.
         * @throws CloneNotSupportedException never
         */
        public override Object Clone()
        {
            CharacterRun cp = (CharacterRun)base.Clone();

            cp._props.SetDttmRMark((DateAndTime)_props.GetDttmRMark().Clone());
            cp._props.SetDttmRMarkDel((DateAndTime)_props.GetDttmRMarkDel().Clone());
            cp._props.SetDttmPropRMark((DateAndTime)_props.GetDttmPropRMark().Clone());
            cp._props.SetDttmDispFldRMark((DateAndTime)_props.GetDttmDispFldRMark().
                                          Clone());
            cp._props.SetXstDispFldRMark((byte[])_props.GetXstDispFldRMark().Clone());
            cp._props.SetShd((ShadingDescriptor)_props.GetShd().Clone());

            return(cp);
        }