Esempio n. 1
0
        public TisStringAndPosition(int nPos, string sStr)
        {
            m_nPosition = nPos;
            m_sStr      = sStr;

            m_oAutoHashCode = new AutoHashCode();
        }
Esempio n. 2
0
        public TisMinMaxShort(short nMin, short nMax)
        {
            Min = nMin;
            Max = nMax;

            m_oAutoHashCode = new AutoHashCode();
        }
Esempio n. 3
0
        public TisRect(int nLeft, int nTop, int nRight, int nBottom)
        {
            m_nTop    = nTop;
            m_nLeft   = nLeft;
            m_nBottom = nBottom;
            m_nRight  = nRight;

            m_oAutoHashCode = new AutoHashCode();
        }
Esempio n. 4
0
        public TisFormoutFlags(int nFlags)
        {
            uint nFlagsValue = (uint)nFlags;

            m_oAutoHashCode = new AutoHashCode();

            m_nBadBeginning = ToShortFlag(BitUtil.IsBitSet(nFlagsValue, RMOPTION_BAD_BEGINNING));
            m_nBadMargins   = ToShortFlag(BitUtil.IsBitSet(nFlagsValue, RMOPTION_CHANGED_MARGINS));
            m_nNotOriginal  = ToShortFlag(BitUtil.IsBitSet(nFlagsValue, RMOPTION_NOT_ORIGINAL));
            m_nRegistration = ToShortFlag(BitUtil.IsBitSet(nFlagsValue, RMOPTION_FRM_REGISTRATION));
        }
Esempio n. 5
0
        public TisPaddingInfo(
            short nCharacter,
            TIS_LEFT_RIGHT enDirection,
            int nLength)
        {
            m_enDirection = enDirection;
            m_nCharacter  = nCharacter;
            m_nLength     = nLength;

            m_oAutoHashCode = new AutoHashCode();
        }
Esempio n. 6
0
        public TisFormoutFlags(
            short nBadBeginning,
            short nBadMargins,
            short nNotOriginal,
            short nRegistration)
        {
            m_nBadBeginning = nBadBeginning;
            m_nBadMargins   = nBadMargins;
            m_nNotOriginal  = nNotOriginal;
            m_nRegistration = nRegistration;

            m_oAutoHashCode = new AutoHashCode();
        }