상속: Pattern
예제 #1
0
        protected override string ProcessBlockPatternMatch(Definition definition, BlockPattern pattern, Match match)
        {
            if (!UseCss) {
                var patternStyle = HtmlEngineHelper.CreatePatternStyle(pattern.Style);

                return String.Format(StyleSpanFormat, patternStyle, match.Value);
            }

            var cssClassName = HtmlEngineHelper.CreateCssClassName(definition.Name, pattern.Name);

            return String.Format(ClassSpanFormat, cssClassName, match.Value);
        }
예제 #2
0
 protected abstract string ProcessBlockPatternMatch(Definition definition, BlockPattern pattern, Match match);
예제 #3
0
        protected override string ProcessBlockPatternMatch(Definition definition, BlockPattern pattern, Match match)
        {
            var style = CreateRtfPatternStyle(pattern.Style.Colors.ForeColor, pattern.Style.Colors.BackColor, pattern.Style.Font);

            return ("{" + String.Format(RtfFormat, style, match.Value) + "}");
        }
예제 #4
0
 protected override string ProcessBlockPatternMatch(Definition definition, BlockPattern pattern, Match match)
 {
     return ProcessPatternMatch(pattern, match);
 }