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:10:14 +0200


This is a multi-part message in MIME format.

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

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_01C2417B.7CB2F140
Content-Type: text/css;
	name="style.css"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="style.css"

   body { margin-top:0px; margin-left:0px; margin-right:0px; =
font-family: "trebuchet ms", lucida, verdana, helvetica; font-size:10pt}
   #nsbanner { background-color:#9FCFFF; margin-top:0px; =
margin-left:0px; width=3D100% ;height=3D45;font-family: "trebuchet ms", =
lucida, verdana, helvetica; font-size:8pt}
   .dtH1  {  margin-left:10px; height=3D10; background-color:#9FCFFF; =
font-family: "trebuchet ms", lucida, verdana, helvetica; font-size:8pt}
   .runninghead  { background-color:#9FCFFF; font-family: "trebuchet =
ms", lucida, verdana, helvetica; font-size:8pt}
   .bannerparthead  { margin-top:0px; margin-left:10px; width=3D100% =
;height=3D10; background-color:#9FCFFF; font-family: "trebuchet ms", =
lucida, verdana, helvetica; font-size:8pt}
   #nstext { margin-left:10px; margin-right:10px;}
------=_NextPart_000_000E_01C2417B.7CB2F140--