Blog
All Blog Posts | Next Post | Previous PostUnveiling TTMSFNCWXDocxViewer: Seamless DOCX Viewing for FMX, VCL, and Web
Thursday, October 24, 2024
Key Features of TTMSFNCWXDocxViewer
The TTMSFNCWXDocxViewer uses the docxjs library in the background to render the document. You can read more about it here.
1. Flexible Document Loading
TMSFNCWXDocxViewer1.LoadFromFile(FileName); TMSFNCWXDocxViewer1.LoadFromBase64(ABase64String); TMSFNCWXDocxViewer1.Base64Document.Text := ABase64String
2. Intuitive Navigation Controls
- PreviousPage: Go back to the previous page, if available.
- NextPage: Move forward to the next page.
- ActivePage: Get or set the currently active page number.
- PageCount: Get the count of pages for the loaded document.
These navigation functions allow for smooth, user-friendly control over document browsing.
3. Event-Driven Interactions for Page Navigation
procedure TForm2.TMSFNCWXDocxViewer1PageChange(Sender: TObject; ActivePage: Integer); begin pageIndexLabel.Text :='ActivePage: ' + (ActivePage + 1).ToString; end;
4. Handle Document Links with Ease
5. Advanced DOCX Rendering Options
- InWrapper: Wraps document content for additional layout control.
- IgnoreWidth / IgnoreHeight: Disables specific dimension rendering for more flexibility.
- IgnoreFonts: Skips font rendering if unnecessary.
- BreakPages: Enables page breaking, respecting document structure.
- RenderHeaders, Footers, Footnotes, Endnotes, Comments: Options to display or hide different parts of the document, ensuring content is displayed as intended.
- Experimental Features: Enable advanced features such as tab stop calculations and document change rendering (insertions/deletions).
Bringing it all together
Available Today!
The TTMSFNCWXDocxViewer component is available in the latest update, available today. So go ahead and download the latest version of the TMS FNC WX Pack. The TMS FNC WX Pack is part of the FNC family, so as a reminder, below is an overview of what FNC has to offer.
TMS FNC Components can be used simultaneously on these frameworks
TMS FNC Components can be used simultaneously on these operating systems/browsers
TMS FNC Controls can be used simultaneously on these IDEs
Bradley Velghe
This blog post has received 4 comments.
Eduard Appelhans
It still has a few problems, e.g. with the bullet points or with the numbering of directories, but on the whole it works quite well.
Another big highlight would be a viewer for PowerPoint files :-)
Cueni Roland
Bruno Fierens
All Blog Posts | Next Post | Previous Post
I''ll be happy to explore this new component when I find some free time.
Miro Baláž
Bal? Miroslav