/// <summary>
        /// Creates a default instance of the <see cref="HTMLJournalWriterSettings"/> class.
        /// </summary>
        /// <returns>a default instance of the <see cref="HTMLJournalWriterSettings"/> class.</returns>
        public static HTMLJournalWriterSettings CreateDefault()
        {
            HTMLJournalWriterSettings hjws = new HTMLJournalWriterSettings();

            hjws.protectedIconPath              = "/img/icon_protected.gif";
            hjws.privateIconPath                = "/img/icon_private.gif";
            hjws.userInfoIconPath               = "/img/userinfo.gif";
            hjws.communityInfoIconPath          = "/img/community.gif";
            hjws.spacerPath                     = "/img/dot.gif";
            hjws.pageBackgroundColor            = Color.FromArgb(38, 72, 128);
            hjws.pageAlternateBackgroundColor   = Color.FromArgb(241, 232, 0);
            hjws.pageTextColor                  = Color.White;
            hjws.pageLinkColor                  = Color.Blue;
            hjws.pageVisitedLinkColor           = Color.FromArgb(206, 73, 0);
            hjws.pageActiveLinkColor            = Color.FromArgb(255, 158, 43);
            hjws.entryBackgroundColor           = Color.White;
            hjws.entryTextColor                 = Color.Black;
            hjws.entryHeaderBackgroundColor     = Color.FromArgb(0, 84, 92);
            hjws.entryHeaderTextColor           = Color.White;
            hjws.entryFooterBackgroundColor     = Color.FromArgb(255, 237, 221);
            hjws.entryFooterTextColor           = Color.Black;
            hjws.highlightBackgroundColor       = Color.Yellow;
            hjws.highlightTextColor             = Color.Black;
            hjws.commentBackgroundColor         = Color.FromArgb(167, 199, 232);
            hjws.commentTextColor               = Color.Black;
            hjws.screenedCommentBackgroundColor = Color.LightGray;
            hjws.screenedCommentTextColor       = Color.DarkGray;
            hjws.selectedCommentBackgroundColor = Color.Coral;
            hjws.selectedCommentTextColor       = Color.Blue;
            hjws.blockImages                    = false;
            return(hjws);
        }
示例#2
0
 /// <summary>
 /// Creates a new instance of the <see cref="HTMLJournalWriter"/> class.
 /// </summary>
 public HTMLJournalWriter()
 {
     hjws = HTMLJournalWriterSettings.CreateDefault();
 }