Пример #1
0
        internal RPLTextBox(RPLItemProps rplElementProps)
            : base(rplElementProps)
        {
            RPLTextBoxProps rPLTextBoxProps = rplElementProps as RPLTextBoxProps;

            if (rPLTextBoxProps != null)
            {
                rPLTextBoxProps.Value = null;
                m_paragraphs          = null;
                m_paragraphCount      = 0;
            }
        }
Пример #2
0
        public RPLItemProps GetItemProps(object rplSource, out byte elementType)
        {
            elementType = 0;
            RPLItemProps rPLItemProps = rplSource as RPLItemProps;

            if (rPLItemProps != null)
            {
                if (rPLItemProps is RPLTextBoxProps)
                {
                    elementType = 7;
                }
                else if (rPLItemProps is RPLChartProps)
                {
                    elementType = 11;
                }
                else if (rPLItemProps is RPLGaugePanelProps)
                {
                    elementType = 14;
                }
                else if (rPLItemProps is RPLMapProps)
                {
                    elementType = 21;
                }
                else if (rPLItemProps is RPLImageProps)
                {
                    elementType = 9;
                }
                else if (rPLItemProps is RPLLineProps)
                {
                    elementType = 8;
                }
                return(rPLItemProps);
            }
            long num = (long)rplSource;

            if (num < 0 || m_rplContext.BinaryReader == null)
            {
                return(null);
            }
            return(RPLReader.ReadElementProps(num, m_rplContext, out elementType));
        }
Пример #3
0
 internal RPLTablix(RPLItemProps rplElementProps)
     : base(rplElementProps)
 {
 }
Пример #4
0
 internal RPLTablix()
 {
     m_rplElementProps            = new RPLItemProps();
     m_rplElementProps.Definition = new RPLItemPropsDef();
 }