Esempio n. 1
0
        } // RtfHtmlConvertSettings

        public RtfHtmlConvertSettings(IRtfVisualImageAdapter imageAdapter, RtfHtmlConvertScope convertScope)
        {
            if (imageAdapter == null)
            {
                throw new ArgumentNullException(nameof(imageAdapter));
            }

            ImageAdapter           = imageAdapter;
            ConvertScope           = convertScope;
            VisualHyperlinkPattern = DefaultVisualHyperlinkPattern;
        } // RtfHtmlConvertSettings
        // ----------------------------------------------------------------------
        public RtfHtmlConvertSettings( IRtfVisualImageAdapter imageAdapter, RtfHtmlConvertScope convertScope )
        {
            if ( imageAdapter == null )
            {
                throw new ArgumentNullException( "imageAdapter" );
            }

            this.imageAdapter = imageAdapter;
            this.convertScope = convertScope;
            visualHyperlinkPattern = DefaultVisualHyperlinkPattern;
        }
        }         // RtfHtmlConvertSettings

        // ----------------------------------------------------------------------
        public RtfHtmlConvertSettings(IRtfVisualImageAdapter imageAdapter, RtfHtmlConvertScope convertScope)
        {
            if (imageAdapter == null)
            {
                throw new ArgumentNullException("imageAdapter");
            }

            this.imageAdapter           = imageAdapter;
            this.convertScope           = convertScope;
            this.visualHyperlinkPattern = DefaultVisualHyperlinkPattern;
        }         // RtfHtmlConvertSettings
Esempio n. 4
0
        } // RtfHtmlConvertSettings

        public RtfHtmlConvertSettings(RtfHtmlConvertScope convertScope) :
            this(new RtfVisualImageAdapter(), convertScope)
        {
        } // RtfHtmlConvertSettings
Esempio n. 5
0
        }         // RtfHtmlConvertSettings

        // ----------------------------------------------------------------------
        public RtfHtmlConvertSettings(IObjectVisitor objectVisitor, RtfHtmlConvertScope convertScope)
        {
            this.objectVisitor     = objectVisitor ?? new DataUriImageVisitor();
            ConvertScope           = convertScope;
            VisualHyperlinkPattern = DefaultVisualHyperlinkPattern;
        }         // RtfHtmlConvertSettings
Esempio n. 6
0
        }         // RtfHtmlConvertSettings

        // ----------------------------------------------------------------------
        public RtfHtmlConvertSettings(RtfHtmlConvertScope convertScope) :
            this(new DataUriImageVisitor(), convertScope)
        {
        }         // RtfHtmlConvertSettings
 // ----------------------------------------------------------------------
 public RtfHtmlConvertSettings( RtfHtmlConvertScope convertScope )
     : this(new RtfVisualImageAdapter(), convertScope)
 {
 }