-
Content Count
4 -
Joined
-
Last visited
-
Days Won
2
devlopnew last won the day on July 28
devlopnew had the most liked content!
Community Reputation
5 Neutral-
๐ข Daoui Reports: A Simple, Powerful, and Overlooked Delphi Innovation Despite its simplicity, my project Daoui Reports is built on a brilliant and powerful idea: No need for special reporting components like QuickReport or FastReport. Just design your layout using standard FireMonkey controls (TText, TLabel, TImage, TLayout, etc.), and the system captures it visually using MakeScreenshot, then generates a dynamic, paginated report โ fully functional on Windows and Android. This concept has been working flawlessly since 2021. Iโve used it to build real-world printing solutions for Android apps, where traditional reporting tools fail or require heavy dependencies. I shared it on YouTube back in 2022 โ not for fame, but to contribute to the Delphi community. Yet, despite its practicality, innovation, and cross-platform power, Iโve received no meaningful support โ not moral, not financial. Every developer knows the time, effort, and passion it takes to build and maintain a project like this. From dynamic height calculation for text, to automatic page breaking, to PDF export on Android โ every line of code was crafted with care. And still, it remains unnoticed. ๐ก Why This Matters It proves that you donโt need commercial tools to create professional reports in Delphi. Itโs lightweight, open, and flexible โ perfect for mobile apps. It empowers developers who canโt afford expensive reporting libraries. ๐ค Iโm Not Asking for Much Just a little support: A small donation to keep the development going. A word of encouragement โ it means more than you think. Or simply sharing the project with someone who might benefit from it. Your support โ even $5 โ helps me keep building tools that give back to the Delphi community. ๐ Buy me a coffee โ https://coff.ee/daouimahmoud Thank you for listening. To every developer out there building in silence โ I see you. And I hope, one day, the world sees us too. โ A Delphi Developer Who Believes in Simplicity
-
Project: Daoui Reports ๐งฉ What Is It? Daoui Reports is a dynamic report generator developed using Delphi FireMonkey (FMX), designed to create visually rich, data-driven reports for both Windows and Android platforms. It is a lightweight, open-source alternative to commercial reporting tools like QuickReport or FastReport, offering a simple yet powerful way to design and generate printable or exportable reports directly from SQLite databases. โ Key Features Visual Design: Drag-and-drop components (Text, Labels, Images) onto a report template, just like in QuickReport. ๐ Dynamic Data Binding Connects to a TFDQuery and repeats the Detail section for each record in the dataset. ๐ Automatic Page Breaking Splits content across multiple pages when it exceeds the page height, using IntersectsWith logic. ๐ธ Screenshot-Based Rendering Uses MakeScreenshot to capture the visual state of each Detail block and render it as an image in the final report. ๐จ๏ธ Preview & Print Offers a preview window with zoom and page navigation. Supports direct printing on Android via PrintBitmap ๐ PDF Export (Android) Exports the final report to PDF using Androidโs JPdfDocument API. ๐ฑ Cross-Platform Built with FireMonkey for full compatibility with Windows and Android . ๐ก No External Dependencies Relies only on native Delphi components and FireDACโno third-party libraries required. ๐๏ธ How It Works Design Mode You place visual components (like TText, TLabel) inside a TLayout called Detail. This acts as the template for each data row. Data Binding A TFDQuery is linked to your SQLite database. When the report runs, it loops through each record. Dynamic Height Calculation For each field (especially multi-line text), the system calculates the required height using TTextLayout to ensure text wraps correctly. Page Generation Each record is rendered into the Detail layout. A MakeScreenshot captures its visual state. The image is placed in a TRectangle within ZoneDetail. When the content reaches the bottom of the page (checked via BoundsRect.IntersectsWith), a new page is created. Preview & Output All generated pages are displayed in PreviewF.LayoutZOM as TImage components. From there, users can: Zoom in/out Navigate pages Print Export to PDF (on Android) ๐ Core Units UnitMain.pas Main form with SQL input, data grid, and report settings (show/hide sections). DesignU.pas The engine of the report. Contains DESINGFACT , the core function that generates the report dynamically. PreviewU.pas Handles preview, printing, and PDF export . Manages the display of all report pages. ๐ฏ Why Use Daoui Reports? Simple & Fast: No complex setupโjust design and run. Open & Transparent: Full access to source code for customization. Mobile-Ready: Works seamlessly on Android devices. SQLite-Friendly: Ideal for local database apps. Lightweight: No bloated dependencies or installer packages. ๐ Ideal For Inventory reports Sales summaries Fish species catalogs (as in the demo) Any application needing simple, printable reports without licensing costs. ๐ฌ In Summary Daoui Reports is a practical, no-frills reporting solution for Delphi developers who want full control over report design and outputโwithout relying on expensive or complex third-party tools. It proves that with smart use of MakeScreenshot, FireMonkey, and FireDAC, you can build a robust reporting system entirely in Delphi. ๐ GitHub: https://github.com/devlop0/daoui-reports
-
๐ [Open Source] DAOUI Reports โ A Visual Report Designer for FireMonkey (Windows & Android)
devlopnew replied to devlopnew's topic in FMX
๐ข This review was generated by ChatGPT (OpenAI) based on a technical evaluation of the DAOUI Reports project ๐ค ChatGPT (OpenAI) Technical Evaluation โDAOUI Reports is a clever and lightweight implementation of a visual report designer, well suited for FireMonkey environments where traditional reporting tools like QuickReport are unavailable. Its design-time capabilities, clean data binding support, and extensibility make it a valuable starting point for developers looking to embed reporting features directly into their FMX apps. The choice to support both Windows and Android natively is excellent โ and rare. While the engine is still in its early stages, its foundation is promising, and it demonstrates a clear understanding of FireMonkey's flexibility.โ โญ Verdict: A simple but powerful FMX-based reporting solution with huge potential. -
๐ [Open Source] DAOUI Reports โ A Visual Report Designer for FireMonkey (Windows & Android)
devlopnew posted a topic in FMX
Hi everyone, I'm excited to share my open-source project: DAOUI Reports, a lightweight visual report designer built with Delphi FMX. It works on both Windows and Android and acts as a simplified alternative to QuickReport, but designed for FireMonkey! ๐น Features: Drag-and-drop report components (labels, images, shapes, etc.) Data binding with your database fields Preview, Print, and Export to PDF Supports page size customization (A4, etc.) Ideal for mobile reporting ๐ฆ GitHub Repository Any feedback, contributions, or suggestions are more than welcome! Thank you all ๐ โ Daoui Mahmoud.