A nice look for the Docs (was: Re: [Mono-list] Need help: writing a COM control.)

Guenther Roith groith@tcrz.net
Sun, 11 Aug 2002 21:20:30 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_000E_01C2417C.EB89EC30
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi! ;-)))

I found the original style sheet from ms (attached).
Use this instead. OK, this was really my last message on this topic for
today.


Johannes


----- Original Message -----
From: "Guenther Roith" <groith@tcrz.net>
To: "Guenther Roith" <groith@tcrz.net>
Cc: "mono-list" <mono-list@ximian.com>
Sent: Sunday, August 11, 2002 9:10 PM
Subject: Re: A nice look for the Docs (was: Re: [Mono-list] Need help:
writing a COM control.)


> Hi!
>
> me again :-)
>
> I just modified and attached the style.css a bit, it looks now 90% like
the
> original doc in Mozilla.
>
> A screenshot is here:
> http://www.superin.formativ.net/mono/mozdoc2.png
>
> Johannes
>
>
> ----- Original Message -----
> From: "Guenther Roith" <groith@tcrz.net>
> To: "Guenther Roith" <groith@tcrz.net>
> Cc: "mono-list" <mono-list@ximian.com>
> Sent: Sunday, August 11, 2002 8:34 PM
> Subject: A nice look for the Docs (was: Re: [Mono-list] Need help: writing
a
> COM control.)
>
>
> > Hi, everybody!
> >
> > Here is a quick & dirty solution to stop the window-opening in Mozilla
and
> > add a stylesheet to the MS docs.
> >
> > After extracting the class libs and copying them to Linux, like
described
> > before, copy the attached convert.php and style.php one directory level
> > higher than the html directory and run convert.php. That will take about
> 20
> > minutes.
> >
> > Then run cpref_start.htm in Mozilla.
> >
> > The docs are designed for use with stylesheets and style.css can be
> modified
> > to produce the original ms look & feel.
> >
> > Johannes
> >
> >
> > ----- Original Message -----
> > From: "Guenther Roith" <groith@tcrz.net>
> > To: "Guenther Roith" <groith@tcrz.net>
> > Cc: "mono-list" <mono-list@ximian.com>
> > Sent: Sunday, August 11, 2002 8:04 PM
> > Subject: Re: [Mono-list] Need help: writing a COM control.
> >
> >
> > > So finally I'm finished with the class library.
> > > I have now 39.279 Files, taking 242 MB.
> > >
> > > I'll take some time until mono has so much documentation itself...
> > >
> > > The start-file is cpref_start.htm and it looks ugly and a window pops
> up.
> > >
> > > There needs to be a css files created, that makes the thing look
better
> > and
> > > the non-html-tags (and the popup-window) must be removed perhaps
trough
> > > xslt.
> > >
> > > Here's a screenshot of the class lib doc in Mozilla.
> > >
> > > http://www.superin.formativ.net/mono/mozdoc.png
> > >
> > >
> > > Johannes
> > >
> > > ----- Original Message -----
> > > From: "Guenther Roith" <groith@tcrz.net>
> > > To: "Miguel de Icaza" <miguel@ximian.com>
> > > Cc: "mono-list" <mono-list@ximian.com>
> > > Sent: Sunday, August 11, 2002 7:23 PM
> > > Subject: Re: [Mono-list] Need help: writing a COM control.
> > >
> > >
> > > > Hi!
> > > >
> > > > I've also found some additional information on the IE COM API:
> > > >
> > >
> >
>
http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/WebBrows
> > > > er/WebBrowser.asp
> > > >
> > > > As well as a vb script (stupid, I know, but the only example I
found).
> > > > must be saved a something.vbs:
> > > >
> > > > Dim MyIE
> > > > Set MyIE = CreateObject("InternetExplorer.Application")
> > > >
> > > > do while MyIE.Busy
> > > > loop
> > > > MyIE.Visible = 0
> > > > MyIE.Navigate "http://www.go-mono.org"
> > > > MyIE.Silent = True
> > > > Do While MyIE.ReadyState<>4
> > > > Loop
> > > >
> > > >
> > > > MsgBox(MyIE.Document.Body.innerText)
> > > >
> > > > MeinIE.Quit
> > > >
> > > >
> > > >
> > > > Johannes
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Miguel de Icaza" <miguel@ximian.com>
> > > > To: <mono-list@ximian.com>
> > > > Sent: Sunday, August 11, 2002 1:11 PM
> > > > Subject: [Mono-list] Need help: writing a COM control.
> > > >
> > > >
> > > > > Hello guys,
> > > > >
> > > > >     I usually find myself traveling and without the desire to boot
> > > > > VMware.  The only reason to start up VMWare is to read the online
> > > > > documentation for the .NET Framework.
> > > > >
> > > > >     Ideally, we would have our own documentation, but we do not
have
> > it
> > > > > yet.  So what I want to do is pull all the data from the existing
> > > > > Microsoft implementation, and dump it into HTML that I can later
> view
> > > > > from Linux when am traveling.
> > > > >
> > > > >     I found that they have a control that handles the `ms-help:'
> > prefix
> > > > > (indeed, the URL would work just fine under IE).  But the API is
an
> > > > > internal API, so it is not easy to figure out what arguments to
pass
> > to
> > > > > it.  Even with this, I was able to write a simple C# program that
> > could
> > > > > load the index, and return a list of topics, but I was stopped
> there.
> > > > >
> > > > >     Since the `ms-help:' happens to be some kind of handler that
IE
> > > > > uses, I wonder if it is possible to write a COM control that would
> > allow
> > > > > me to pull the stream of data that would be rendered by the
ms-help:
> > > > > control.
> > > > >
> > > > >      Once this is done, I could safely write a little program to
> pull
> > > > > all the data and copy it over to Linux to browse.  I know its
> > possible,
> > > > > I just do not know enough COM to pull this out.
> > > > >
> > > > > Miguel.
> > > > >
> > > > > _______________________________________________
> > > > > Mono-list maillist  -  Mono-list@ximian.com
> > > > > http://lists.ximian.com/mailman/listinfo/mono-list
> > > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Mono-list maillist  -  Mono-list@ximian.com
> > > > http://lists.ximian.com/mailman/listinfo/mono-list
> > > >
> > >
> > >
> > > _______________________________________________
> > > Mono-list maillist  -  Mono-list@ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-list
> > >
> >
>

------=_NextPart_000_000E_01C2417C.EB89EC30
Content-Type: text/css;
	name="style.css"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="style.css"

/* VERSION 9345
Designed for IE5.x. Optimal in IE 6.x
CSS for use with Developer Tools Documentation

Localizable definitions:
font families
font sizes
*/


/* --------------------------------------------------
                  MAIN TOPIC STYLES
-------------------------------------------------- */

div.saveHistory
	{
	behavior:url(#default#savehistory);
	text-decoration: underline
	}
body /* This body tag requires the use of one of the sets of banner =
and/or text div ids */
	{
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	background: #ffffff;=20
	color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 70%;
	width: 100%;
	}
div#scrollyes /* Allows topic to scroll with correct margins. Cannot be =
used with running head banner */
	{     /* Must immediately follow <body>. */
	padding: 2px 15px 2px 22px;
	width: 100%;
	}
div#nsbanner /* Creates Nonscrolling banner region */
	{
	position: relative;
	left: 0px;
	padding: 0px 0px 0px 0px;
	border-bottom: 1px solid #999999;
	}
div#nstext /* Creates the scrolling text area for Nonscrolling region =
topic */
	{
	padding: 5px 10px 0px 22px;=20
	}
div#scrbanner /* Creates the running head bar in a full-scroll topic */
	{     /* Allows topic to scroll. */
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	border-bottom: 1px solid #999999;
	}
div#scrtext /* Creates the text area in a full-scroll topic */
	{   /* Allows topic to scroll. */
/*	width: 100%; /* Forces tables to have correct right margin */*/
	padding: 0px 10px 0px 22px;=20
	}
div#bannerrow1 /* provides full-width color to top row in running head =
(requires script) */
	{
	background-color: #99ccff;
	}
div#titlerow /* provides non-scroll topic title area (requires script) =
*/
	{
	width: 100%; /* Forces tables to have correct right margin */
	padding: 0px 10px 0px 22px;=20
	background-color: #99ccff;       =20
	}

/* --------------------------------------------------
                    HEADING STYLES
-------------------------------------------------- */

h1, h2, h3, h4
	{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin-bottom: .4em;=20
	margin-top: 1em;
	font-weight: bold;
	}
h1
	{
	font-size: 120%;
	margin-top: 0em;
	}
div#scrollyes h1 /* Changes font size for full-scrolling topic */
	{
	font-size: 150%;
	}
h2
	{
	font-size: 130%;
	}
h3
	{
	font-size: 115%;
	}
h4
	{
	font-size: 100%;
	}
.dtH1, .dtH2, .dtH3, .dtH4
	{
	margin-left: -18px;
	}
div#titlerow h1
	{
	margin-bottom: .2em
	}

/* --------------------------------------------------
                     TEXT STYLES
-------------------------------------------------- */

p
	{
	margin: .5em 0em .5em 0em;
	}
blockquote.dtBlock
	{
	margin: .5em 1.5em .5em 1.5em;
	}
div#dtHoverText
	{
	color: #000066;
	}
.normal
	{
	margin: .5em 0em .5em 0em;
	}
.fineprint
	{
	font-size: 90%; /* 90% of 70% */
	}
.indent
	{
	margin: .5em 1.5em .5em 1.5em;
	}
.topicstatus /* Topic Status Boilerplate class */
	{
	display: block;
	color: red;
	}

/* --------------------------------------------------
                     LABEL STYLES
-------------------------------------------------- */

p.label
	{
	margin-top: 1em;
	}
p.labelproc
	{
	margin-top: 1em;
	color: #000066;
	}

/* --------------------------------------------------
                    GRAPHIC STYLES
-------------------------------------------------- */

img
	{
	border: none;=20
	}

/* --------------------------------------------------
                     LIST STYLES
-------------------------------------------------- */

ol, ul
	{
	margin: .5em 0em 0em 2em;=20
	}
li
	{
	margin-bottom: .5em;
	}
ul p, ol p, dl p
	{
	margin-left: 0em;
	}
ul p.label, ol p.label
	{
	margin-top: .5em;
	}

/* --------------------------------------------------
               DEFINITION LIST STYLES
-------------------------------------------------- */

dl
	{
	margin-top: 0em;=20
	padding-left: 1px; /* Prevents italic-letter descenders from being cut =
off */
	}
dd
	{
	margin-bottom: 0em; =20
	margin-left: 1.5em;=20
	}
dt
	{
	margin-top: .5em;=20
	}

/* --------------------------------------------------
           CODE, SYNTAX, and REFTIP STYLES
-------------------------------------------------- */

pre
	{
	margin-top: .5em;
	margin-bottom: .5em;=20
	}
pre, code, .code
	{
	font: 100% Monospace, Courier New, Courier; /* This is 100% of 70% */
	color: #000066;
	}
pre b, code b
	{
	letter-spacing: .1em; /* opens kerning on bold in Syntax/Code */
	}
pre.syntax
	{
	background: #cccccc;
	padding: 4px 8px;
	cursor: text;
	margin-top: 1em;
	margin-bottom: 1em;=20
	color: #000000;
	border-width: 1px;
	border-style: solid;
	border-color: #999999;
	}

/* --------------------------------------------------
                      LINK STYLES
-------------------------------------------------- */

a:link
	{
	color: #0000ff;
	}
a:visited
	{
	color: #0000ff;
	}
a:hover
	{
	color: #3366ff;
	}

/* ---------------------------
MSHelp\:link - Help HxLinks
--------------------------- */
MSHelp\:link
	{
	text-decoration: underline;=20
	color: #0000ff;=20
	hoverColor: #3366ff;
	filterString: ;
	}=09
A.HxLinkTable /* MSHelp\:link - Table disambiguation elements */
	{
	}
/* ---------------------------
MSHelp\:ktable - Help links
--------------------------- */
MSHelp\:ktable
	{
	disambiguator: span;
	separator: &nbsp|&#32;
	prefix: |&#32;
	postfix: &nbsp;
	filterString: ;
	}
div.HxLinkTable
	{
	width: auto; /* Forces tables to have correct right margins and top =
spacing */
	margin-top: -.4em;
	visibility: visible;
	}
ol div.HxLinkTable, ul div.HxLinkTable
	{
	margin-top: 0em; /* Forces tables to have correct right margins and top =
spacing */
	}
table.HxLinkTable /* Keep in sync with general table settings below */
	{
	width: auto;
	margin-top: 1.5em;
	margin-bottom: .3em;
	margin-left: -1em;
	border-width: 1px 1px 0px 0px;
	border-style: solid;
	border-color: #999999;
	background-color: #999999;=20
	font-size: 100%; /* Text in Table is same size as text outside table */
	behavior:url(hxlinktable.htc); /* Attach the behavior to link elements. =
*/
	}
table.HxLinkTable th, table.HxLinkTable td /* Keep in sync with general =
table settings below */
	{=20
	border-style: solid; /* Creates the cell border and color */
	border-width: 0px 0px 1px 1px;
	border-style: solid;
	border-color: #999999;
	padding: 4px 6px;
	text-align: left;
	}
table.HxLinkTable th /* Keep in sync with general table settings below =
*/
	{=20
	background: #cccccc; /* Creates the shaded table header row */
	vertical-align: bottom;
	}
table.HxLinkTable td /* Keep in sync with general table settings below =
*/
	{
	background: #ffffff;
	vertical-align: top;
	}

/* --------------------------------------------------
                    TABLE STYLES
-------------------------------------------------- */

div.tablediv
	{
	width: 100%; /* Forces tables to have correct right margins and top =
spacing */
	margin-top: -.4em;
	}
ol div.tablediv, ul div.tablediv, ol div.HxLinkTable, ul div.HxLinkTable
	{
	margin-top: 0em; /* Forces tables to have correct right margins and top =
spacing */
	}
table.dtTABLE
	{
	width: 100%; /* Forces tables to have correct right margin */
	margin-top: .6em;
	margin-bottom: .3em;
	border-width: 1px 1px 0px 0px;
	border-style: solid;
	border-color: #999999;
	background-color: #999999;=20
	font-size: 100%; /* Text in Table is same size as text outside table */
	}
table.dtTABLE th, table.dtTABLE td
	{=20
	border-style: solid; /* Creates the cell border and color */
	border-width: 0px 0px 1px 1px;
	border-style: solid;
	border-color: #999999;
	padding: 4px 6px;
	text-align: left;
	}
table.dtTABLE th=09
	{=20
	background: #cccccc; /* Creates the shaded table header row */
	vertical-align: bottom;
	}
table.dtTABLE td=09
	{
	background: #ffffff;
	vertical-align: top;
	}

/* --------------------------------------------------
ISSUE REPORTING AND MISC LINKS TOPIC FOOTER
-------------------------------------------------- */

div.footer
	{
	font-style: italic;
	}
div.footer hr
	{
	color: #999999;
	height: 1px;
	}

/* --------------------------------------------------
             STYLES FOR RUNNING HEADS
-------------------------------------------------- */

table.bannerparthead, table.bannertitle /* General values for the =
Running Head tables */
	{
	position: relative;
	left: 0px;
	top: 0px;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	width: 100%;
	height: 21px;=20
	border-collapse: collapse;
	border-style: solid;
	border-width: 0px;
	background-color: #99ccff;=20
	font-size: 100%;
	}
table.bannerparthead td /* General Values for cells in the top row of =
running head */
	{
	margin: 0px 0px 0px 0px;
	padding: 2px 0px 0px 4px;
	vertical-align: middle;
	/*border-width: 0px 0px 1px 0px; */
	border-width: 0px
	border-style: solid;
	border-color: #999999;
	background: transparent;=20
	font-style: italic;
	font-weight: normal;
	}
table.bannerparthead td.product /* Values for top right cell in running =
head */
	{                       /* Allows for a second text block in the =
running head */
	text-align: right;
	padding: 2px 5px 0px 5px;
	}
table.bannertitle td /* General Values for cells in the bottom row of =
running head */
	{
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 3px;
	vertical-align: middle;
	border-width: 0px 0px 1px 0px;
	border-style: solid;
	border-color: #999999;
	background: transparent;
	font-weight: bold;
	}
td.button1 /* Values for button cells */
	{
	width: 14px;
	cursor: hand;
	}


/* =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
            STYLES REQUIRED BY THE SCRIPT */

/* --------------------------------------------------
                  SAMPLE VIEWER
-------------------------------------------------- */

div#smpMgrCell
	{
	display:none;
	}
table.SampMgr
	{
	margin: 0px 0px 0px -22px;
	}
table.SampMgr td
	{
	padding-left: 22px;
	}

/* --------------------------------------------------
RUNNING HEAD BAR POPUP STYLES: See Also, Requirements, MultiLang =
Filtering
-------------------------------------------------- */

div.sapop, div.langMenu /* See Also & Requirements popups */
	{
	position: absolute;
	left: 0px;
	z-index: 1;
	width: 50%;
	padding: 0px 8px 5px 26px;
	visibility: hidden;
	border: 1px solid #999999; /* Same as all other border colors */
	background: #ffffcc;
	}
div.langMenu /* MultiLang Filter popup */
	{
	padding: 10px 10px 10px 10px;
	}
div.langMenu ul
	{
	list-style-type: none;
	padding-left: 5px;
	margin-left: 0px;
	}
.lang, .ilang /* controls the multilang tag styles */
	{
	color: #333333;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 80%;
	font-weight: normal;
	font-style: normal;
	}
h1 .lang, h1 .ilang=20
	{
	font-size: 65%;
	}
div.filtered
	{
	margin-top: .6em;
	margin-bottom: .6em;
	margin-left: -7px;
	padding: 0px 0px 0px 6px;
	border-left: 1px solid #999999;
	background: #ffffff;
	}
div.filtered h1, div.filtered h2, div.filtered h3, div.filtered h4
	{
	margin-left: -22px;
	}
div.filtered span.lang
	{
	position: relative;
	left: 0px;
	}

/* --------------------------------------------------
              PARAMETER POPUP STYLES
-------------------------------------------------- */

div.reftip /* Defines the RefTip popup in Syntax */
	{
	position: absolute;
	z-index: 1;
	visibility: hidden;
	border: 1px solid #999999;
	background: #ffffcc;
/*	padding: 0px 0px 0px 0px; */=09
	}
div.reftip dl /* Sets margin around the text within the popup */
	{
	margin: 3px 8px 8px 8px;
	}
a.synParam /* parameter popup links */
	{
	color: #0000ff; /* Must match the a:link style color */
	text-decoration: underline;
	}
a.synParam:visited /* ensures parameter popup links are always the =
unvisited color */
	{
	color: #0000ff; /* Must match the a:link style color */
	text-decoration: underline;
	}
a.synParam:hover /* parameter popup links */
	{
	color: #3366ff; /* Must match the a:hover style color */
	text-decoration: underline;
	font-style: italic;
	}

/* --------------------------------------------------
              EXPAND-COLLAPSE STYLES
-------------------------------------------------- */

div.expandBody
	{
	margin: .5em 0em 0em 1.4em;
	display:none;
	}
a.expandLink1
	{
	font-size: 115%;=20
	}
a#ExPand
	{
	color: #3366ff;=20
	font-weight: bold;=20
	text-decoration: none;=20
	}
a#ExPandAll
	{
	color: #3366ff;=20
	font-weight: bold;=20
	text-decoration: none;=20
	}


/* --------------------------------------------------
              GLOSSARY POPUP STYLES=20
          Not used by Visual Studio .NET=20
-------------------------------------------------- */

/* COMMENT OUT GLOSSARY SECTION
/*div#popUpWindow
	{ Controlled by the script in the variable L_PopUpBoxStyle_Style
	}*/
a.glosslink:link
	{
	color: #000000;
	}
a.glosslink:visited
	{
	color: #000000;=20
	}
a.glosslink:hover
	{
	color: #000000;
	font-style: italic;
	}
div#popUpWindow h5 /* Controls the style of the Term in Glossary Popups =
*/
	{
	margin: 5px 5px 5px 5px;
	color: #000000;
	}
div#popUpWindow p /* Controls the style of the Text in Glossary Popups =
*/
	{
	margin: 5px 5px 5px 5px;
	color: #000000;
	}
p.GLOSSARY_TEXT
	{
	}
div#popUpWindow a /* Controls the style of the Links in Glossary Popups =
*/
	{
	}

*/ /* END COMMENT OUT OF GLOSSARY SECTION */

/* END STYLES REQUIRED BY THE SCRIPT=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 */

------=_NextPart_000_000E_01C2417C.EB89EC30--