Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi how can i save as a word doc file to webpage via delphi (https://www.delphipraxis.net/16932-how-can-i-save-word-doc-file-webpage-via-delphi.html)

apolon 25. Feb 2004 19:44


how can i save as a word doc file to webpage via delphi
 
hi friends
how can i save as a word doc file to webpage via delphi?

i ms word's file menu we can use save as web page button to save a doc file to web page.
how can i do that with delphi code?

please write my answer to english.
sorry for my poor german language :oops:

Sanchez 25. Feb 2004 20:14

Re: how can i save as a word doc file to webpage via delphi
 
Hi,

Some components have got the ability to save its content to HTML. If I understand your problem correctly, you want to export text stuff into html, want you?
I guess the Synedit-component got a function SaveToHtml but I'm not sure.

fkerber 25. Feb 2004 21:57

Re: how can i save as a word doc file to webpage via delphi
 
Hi!

I hope i can help you:

There is a procedure:

Delphi-Quellcode:
worddocument1.SaveAs2000(parameters);
There a really a lot of paramters for these function.
perhaps

Delphi-Quellcode:
Fileformat: OLEVARIANT
is what you need.


Ciao fkerber

P.S. @Sanchez:
I think he wants to save a word-document as html with OLE-Automation

apolon 25. Feb 2004 21:58

Re: how can i save as a word doc file to webpage via delphi
 
hi sir

thanks a lot for your answer.
I want to open my doc file in word and save them in web page format but i want to do this with delphi. can i do that with server components that ships with delphi 7? :wall:

fkerber 25. Feb 2004 22:00

Re: how can i save as a word doc file to webpage via delphi
 
Hi!

Yes, with these components at the Tab Server.

Such as Wordapplication etc.


Ciao fkerber

P.s. search words for google: OLE Automation

DP-Maintenance 25. Feb 2004 22:07

DP-Maintenance
 
Dieses Thema wurde von "Daniel" von "Programmieren allgemein" nach "Sonstige Fragen zu Delphi" verschoben.
i thinks it\'s kind of a delphi-question. --> moved to "delphi misc". ;-)


Alle Zeitangaben in WEZ +1. Es ist jetzt 11:17 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz