Hello freinds,
To search in different file types such as *.prg, *.html, and *.docx, you can combine multiple Get-ChildItem commands, each with a different filter, and merge the results with the pipeline operator (|).
Best regards,
Otto
(Get-ChildItem -Path c:\Entwicklung_2012 -Recurse -Filter ...
Search found 136 matches: docx
Searched query: docx
- Mon Mar 18, 2024 7:26 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Fulltext-Search
- Replies: 6
- Views: 2144
- Fri Dec 01, 2023 10:02 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Convert a print to Rtf or doc
- Replies: 32
- Views: 7684
Re: Convert a print to Rtf or doc
I don't want to cause controversy but as is always done in this forum... we start from a topic for example "..how do I save a print preview in Word docx..." and then there are people who don't want to impose everything 'other such as the html language for example
Please let's get back to the Title ...
Please let's get back to the Title ...
- Thu Nov 30, 2023 10:05 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Convert a print to Rtf or doc
- Replies: 32
- Views: 7684
Re: Convert a print to Rtf or doc
Same way as we can generate editable pdf documents using TPrinter():lUseHaruPDF, we wanted to provide generation of editable Word Docx also. But the work is incomplete. We will soon provide this feature.
Till then one can consider using TWord class that is available free to generate word document.
Till then one can consider using TWord class that is available free to generate word document.
- Thu Nov 30, 2023 7:35 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Convert a print to Rtf or doc
- Replies: 32
- Views: 7684
Re: Convert a print to Rtf or doc
... reports 1:1.
You'll see that the report is saved as index.html in the program directory. You can then open this report with Word and save it as a docx file.
I hope you like it.
Please take your time for testing. I've experimented so much with reports, but HTML is the best.
Should you have ...
You'll see that the report is saved as index.html in the program directory. You can then open this report with Word and save it as a docx file.
I hope you like it.
Please take your time for testing. I've experimented so much with reports, but HTML is the best.
Should you have ...
- Thu Nov 30, 2023 10:11 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Convert a print to Rtf or doc
- Replies: 32
- Views: 7684
Re: Convert a print to Rtf or doc
DOCX-Format
The DOCX format is an XML-based file format for Word documents, used by Microsoft Word, especially since Word 2007. It replaces the older binary DOC format. DOCX files are actually ZIP archives containing multiple files and folders that collectively represent the entire document.
One ...
The DOCX format is an XML-based file format for Word documents, used by Microsoft Word, especially since Word 2007. It replaces the older binary DOC format. DOCX files are actually ZIP archives containing multiple files and folders that collectively represent the entire document.
One ...
- Thu Nov 30, 2023 9:17 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Convert a print to Rtf or doc
- Replies: 32
- Views: 7684
Re: Convert a print to Rtf or doc
Hi Enrico,
Have you read the link? As far as I remember, I explained everything there. The XML file inside the DOCX is for that.
Best regards,
Otto
Have you read the link? As far as I remember, I explained everything there. The XML file inside the DOCX is for that.
Best regards,
Otto
- Thu Nov 30, 2023 9:11 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Convert a print to Rtf or doc
- Replies: 32
- Views: 7684
Re: Convert a print to Rtf or doc
... is how we do it:
https://forums.fivetechsupport.com/viewtopic.php?f=3&t=13495&p=69231&hilit=word+zip&sid=62c130be6eb450bc2a0aad7749c99f80#p69231
A DOCX file is essentially a ZIP file, and inside it, there's an XML file which is, in practice, a pure text file.
The problem is not just to produce a ...
https://forums.fivetechsupport.com/viewtopic.php?f=3&t=13495&p=69231&hilit=word+zip&sid=62c130be6eb450bc2a0aad7749c99f80#p69231
A DOCX file is essentially a ZIP file, and inside it, there's an XML file which is, in practice, a pure text file.
The problem is not just to produce a ...
- Thu Nov 30, 2023 8:17 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Convert a print to Rtf or doc
- Replies: 32
- Views: 7684
Re: Convert a print to Rtf or doc
... is how we do it:
https://forums.fivetechsupport.com/viewtopic.php?f=3&t=13495&p=69231&hilit=word+zip&sid=62c130be6eb450bc2a0aad7749c99f80#p69231
A DOCX file is essentially a ZIP file, and inside it, there's an XML file which is, in practice, a pure text file.
Best regards,
Otto
*************
But ...
https://forums.fivetechsupport.com/viewtopic.php?f=3&t=13495&p=69231&hilit=word+zip&sid=62c130be6eb450bc2a0aad7749c99f80#p69231
A DOCX file is essentially a ZIP file, and inside it, there's an XML file which is, in practice, a pure text file.
Best regards,
Otto
*************
But ...
- Thu Nov 30, 2023 1:31 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Convert a print to Rtf or doc
- Replies: 32
- Views: 7684
Re: Convert a print to Rtf or doc
... You can save to MSWord doc.
In the preview click "W" button or Click SaveAs and then choose "Doc format". You will see the document in MSWord,
Then you many save as docx,doc or rtf from the Word application.
If you want to save as docx without seeing PREVIEW
PRINT oPrn [PREVIEW] FILE "name.docx"
In the preview click "W" button or Click SaveAs and then choose "Doc format". You will see the document in MSWord,
Then you many save as docx,doc or rtf from the Word application.
If you want to save as docx without seeing PREVIEW
PRINT oPrn [PREVIEW] FILE "name.docx"
- Sat Nov 25, 2023 8:51 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Calculate total pages
- Replies: 32
- Views: 9620
Re: Calculate total pages
... to printer and generating PDF using HaruPDF, the printer class generates meta files for preview and then printing or for generation of pdf, jpg, docx, etc
In the case where meta files are generated we can modify the emf files with the total number of pages like Mr.Otto said.
I save an emf file ...
In the case where meta files are generated we can modify the emf files with the total number of pages like Mr.Otto said.
I save an emf file ...
- Thu Nov 09, 2023 8:01 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Directory() and tilde
- Replies: 2
- Views: 335
Directory() and tilde
The function Directory("C:\myfolder \*.*", "D") does not find files whose name begins with a tilde ~ (temporary files from the office. ~$.11.2022Test.docx). Why ?
- Sat Oct 28, 2023 9:54 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Reading number of pages in a Word-document (docx)
- Replies: 2
- Views: 967
Re: Reading number of pages in a Word-document (docx)
Mr. Notter,
Thank you very much for your help.
It's working just fine now.
Thank you very much for your help.
It's working just fine now.
- Sat Oct 28, 2023 9:37 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Reading number of pages in a Word-document (docx)
- Replies: 2
- Views: 967
Re: Reading number of pages in a Word-document (docx)
Write like this:
oDoc:=oWrd:Documets:Open(..
nPages := oDoc:ComputeStatistics(wdStatisticPages)
oDoc:=oWrd:Documets:Open(..
nPages := oDoc:ComputeStatistics(wdStatisticPages)
- Sat Oct 28, 2023 4:15 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Reading number of pages in a Word-document (docx)
- Replies: 2
- Views: 967
Re: Reading number of pages in a Word-document (docx)
Hello everyone,
I tried to use the suggested solution to my question.
I need to read the number of pages in a Word document.
Unfortunately, I get an error : "Unexported method: Active Document.
Anyone with a suggestion for a solution?
Thank you very much for any help.
I tried to use the suggested solution to my question.
I need to read the number of pages in a Word document.
Unfortunately, I get an error : "Unexported method: Active Document.
Anyone with a suggestion for a solution?
Thank you very much for any help.
- Sun Jul 02, 2023 2:14 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: *.docx files and TRichEdit5
- Replies: 3
- Views: 505
Re: *.docx files and TRichEdit5
How to get text colored in a specific color from RichEdit5 ?