Exemple #1
0
        private void AppendWord(List <SMWordBase> list, string text, RunningFormat fmt)
        {
            // TODO

            SMWordText wt = new SMWordText(Font);

            wt.text       = text;
            wt.tag        = text.Trim();
            wt.Draggable  = fmt.dragResponse;
            wt.Evaluation = MNEvaluationType.None;
            wt.Font       = fmt.GetFont();
            wt.lineOffset = Convert.ToInt32(-55 * fmt.lineOffset);
            list.Add(wt);
        }
Exemple #2
0
        private static void AppendWord(List <SMWordBase> list, string text, SMControl control, RunningFormat fmt)
        {
            // TODO

            SMWordText wt = new SMWordText(control.Font);

            wt.text              = text;
            wt.tag               = text.Trim();
            wt.Draggable         = fmt.dragResponse;
            wt.Evaluation        = MNEvaluationType.None;
            wt.Font              = fmt.GetFont();
            wt.replacementTarget = fmt.selectForReplacementTarget;
            list.Add(wt);
        }