Mailinglist Archive: opensuse (946 mails)

< Previous Next >
Re: [opensuse] RE: Viewing HTML source
  • From: Graham Lauder <yorick_@xxxxxxxxxxxxxx>
  • Date: Wed, 13 Oct 2010 15:35:14 +1300
  • Message-id: <201010131535.14601.yorick_@xxxxxxxxxxxxxx>
On Wednesday 13 Oct 2010 14:15:57 Duaine Hechler wrote:
Graham Lauder wrote:
On Wednesday 13 Oct 2010 04:19:34 Duaine Hechler wrote:
Graham Lauder wrote:
On Tuesday 12 Oct 2010 12:05:59 Duaine Hechler wrote:
Graham Lauder wrote:
On Tuesday 12 Oct 2010 03:50:12 Duaine Hechler wrote:
I'm running the latest stable version of OO - 3.2.1 and in editing
.html docs, how do I display the html source.

View>HTML Source.

However you have to be in writer/web mode and have saved the
document.

If you open an HTML file using the File Open dialogue OOo will
automatically open in web mode.

Cheers
GL

All my documents are previously saved .html files with an earlier
version of OOo and neither of the items above works.

Duaine

When you open them with OOo is there a "HTML Source" Item in the "View"
Menu.

Cheers
GL

No.

OOo is very automagic when it comes to interpreting what's in a document.
Saving with an HTML tag on the end does not automatically make an HTML
file, you have to be in Writer/Web for it to produce HTML, not just "Web
Layout".

If the "View>HTML Source" is not in the dropdown then OOo is seeing the
file as text only.

So try this, open the file in OOo, do Ctrl+A > Ctrl+C

Go to File > New > HTML document

Ctrl+V or Paste the whole text into the new document.

Then go to View > HTML Source

If you now have the source, then the original document was saved as a
text document.


Cheers
GL

WRONG, I've reinstalled 3.2.1 (uninstalled 3.2.1 -> installed 3.2.1)
could not open ANYTHING.

OK now that's odd, I presume you're using openSUSE and I presume you're using
the openSUSE version of OOo.


Installed 3.0.0.9, did the above procedure. At first I thought it worked
however after I did a Save As and reopened the file, back to square one :'(

My apologies I missed one thing up there, when you do the paste do "Paste
Special" > Unformatted Text then you get rid of all the legacy junk in behind


Something happened at least back to 3.0.0.9

How far back do I need to go to fix this

Duaine


What happens when you open the file with a browser and go "View source" from
there?


If there is nothing particularly top secret about the documents, could you
send me one of them so I can check it over for a bug.

Cheers
GL


--
Graham Lauder,
OpenOffice.org MarCon (Marketing Contact) NZ
http://marketing.openoffice.org/contacts.html

OpenOffice.org Migration and training Consultant.

INGOTs Assessor Trainer
(International Grades in Open Technologies)
www.theingots.org
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >