

Alexander Sviridenkov
Members-
Content Count
93 -
Joined
-
Last visited
-
Days Won
8
Everything posted by Alexander Sviridenkov
-
Dangerous bug in 10.4.2 / Android32 compiler (not sure about 64). a, b : single a is unitialized (= -nan in debugger), b = some value, f.e. 100.5; if a <> b then <code>, <code> is not executed. ASM code: if fValue <> aValue then C5CCAD8C ED9D1A02 vldr s2, [sp, #8] C5CCAD90 EEF70AC1 vcvt.f64.f32 d16, s2 C5CCAD94 ED901A00 vldr s2, [r0] C5CCAD98 EEF71AC1 vcvt.f64.f32 d17, s2 C5CCAD9C EEF41BE0 vcmpe.f64 d17, d16 C5CCADA0 EEF1FA10 vmrs APSR_nzcv, fpscr C5CCADA4 9001 str r0, [sp, #4] C5CCADA6 ED8D0A00 vstr s0, [sp] C5CCADAA D027 beq.n 0xc5ccadfc <Htmlcss.TMeasure.SetValue(float)+124> C5CCADAC D626 bvs.n 0xc5ccadfc <Htmlcss.TMeasure.SetValue(float)+124> C5CCADAE E7FF b.n 0xc5ccadb0 <Htmlcss.TMeasure.SetValue(float)+48>
-
Video made for Delphi Showcase. Both, desktop application and server software (for cloud access) are made in Delphi, nothing external except OCR dll. Windows, Mac and Linux versions. All UI is created in HtPanels (HTML Library), document conversion is performed by Office library. Support for custom fonts and letter spacing was added to FMX canvas (currently only for windows), without this PDF documents cannot be rendered properly. https://www.youtube.com/watch?v=PdudQwjhCJg
-
@Attila Kovacs thak you. There is also Calendar sample application in /Sample Projects/ folder.
-
Looks like there is bug in 10.3 Linux compiler: maximum enum size is limited to 8 bytes. F.e. type TMyEnum = (a1, a2, ..a100); TMyEnums = set of TMyEnum; var X: TMyEnums; sizeof(X) returns 8 on Linux platform.
-
Linux: wrong enum size
Alexander Sviridenkov replied to Alexander Sviridenkov's topic in RTL and Delphi Object Pascal
How mininum enume size may affect this case? This test enum is larger than maximum setting for "Minimum enum size" parameter. -
Linux: wrong enum size
Alexander Sviridenkov replied to Alexander Sviridenkov's topic in RTL and Delphi Object Pascal
Another test: if e191 in LargeEnumSet then Writeln('YES'); No YES in output. -
Linux: wrong enum size
Alexander Sviridenkov replied to Alexander Sviridenkov's topic in RTL and Delphi Object Pascal
Output is the same, but in debugger Evaluate/Modify window Sizeof(LargeEnumSet) shows 8. Sizeof(LargeEnumSet) is calculated at compile time, in asm code there is explicit $19 -
New review from Jon Aasenden: https://jonlennartaasenden.wordpress.com/2020/11/25/htmlcomponents-for-delphi-a-closer-look/ HTML Library and Office Library sale: 25% discount on all delphihtmlcomponents.com products until end of the month. Please use coupon code BF2020
-
HTML Library review and sale: 25% off.
Alexander Sviridenkov replied to Alexander Sviridenkov's topic in Delphi Third-Party
@dummzeuch full source code is included for all licenses / products. Also it includes one year of support and all updates (major/minor). -
Only once in a year: any delphihtmlcomponents.com product with 44% discount (5 licenses available). Please use coupon code HB2020.
-
TBytes and TIdBytes are binary compatible, both are just "array of byte".
-
One more bridge between desktop and web: HTML Office Library. The first Delphi library for reading all office formats (+ PDF) and convert them to plain HTML on the fly. Converted document contains only plain HTML/CSS/SVG and can be displayed using HTML Component Library or browser. Library provides a uniform access to an entire document and its parts, document resources (fonts, images, etc) and properties (title, Table of Contents, etc). The library doesn't depend on any external components (DLLs, OLE, ActiveX, etc) and is cross-platform. Fully written in Delphi and comes with full source code. Following document formats are supported: Rich Text Format (RTF) MS Word 6-2007 binary format (DOC) MS Word XML document (DOCX) MS Power Point binary format (PPT) MS Power Point XML format (PPTX) MS Excel binary format (XLS) MS Excel XML format (XLSX) Adobe PDF format (PDF) Supercalc format (SXC) EPUB (electronic books). Besides the document conversion classes it also contains the following: EMF/WMF to SVG conversion TTF to WOFF conversion TTF normalization TTF to SVG conversion CFF to TTF conversion Adobe PostScript to TTF conversion. Supported Delphi versions are Delphi XE2 - Delphi 10.4.1. Supported platforms: Windows 32/64 VCL and FMX, MacOS, Linux. There are two compiled demos available https://delphihtmlcomponents.com/FileBrowser.zip 1. Simple document viewer: allows to view any document on hard drive using file tree on left side and HtPanel on right. To view final HTML press View in browser button. No installation required. 2. Document Indexer: create full text search index for documents located in selected folders and find any document from application or Web. No installation required. How to use: Run application (OfficeIndex.exe). Click Add folder and select folder containing office documents. Click Start indexing, wait until it completed. Search for documents using one of the following: a) Go to Search tab and enter search query (any words). b) Click Web interface and enter search query. c) Point mobile phone camera (mobile should be connected to the same router) to QR code and open mobile interface. Full cource code of both applications are included in library. Documentation in PDF format: https://delphihtmlcomponents.com/HTML Office Library.pdf Documentation in CHM format: https://delphihtmlcomponents.com/HTML Office Library.chm Purchase link (currently only Site License): https://store.payproglobal.com/checkout?products[1][id]=61655 There is 50% discount valid until end of October: please use coupon code HOLX
-
ANN: HTML Office Library
Alexander Sviridenkov replied to Alexander Sviridenkov's topic in Delphi Third-Party
Thank you. I'll think about this. -
ANN: HTML Office Library
Alexander Sviridenkov replied to Alexander Sviridenkov's topic in Delphi Third-Party
Yes. Competitors price (not Delphi because there is no similar library for Delphi) is $15K-$50K Developing somethign similar yourself will cost at least $100K. So $2k (with discount) for site license is quite low price. -
general question about embedding docs in an app
Alexander Sviridenkov replied to David Schwartz's topic in VCL
HTML + images inside ZIP. Similarly to DOCX.- 19 replies
-
- webbrowser
- sqllite
-
(and 1 more)
Tagged with:
-
general question about embedding docs in an app
Alexander Sviridenkov replied to David Schwartz's topic in VCL
This quote if for HtmlViewer project. HTML Component Library supports almost all HTML tags and CSS properties on all platforms (including mobiles) for all Delphi versions from Delphi 5. Works on all Windows versions starting from XP, has no external dependencies, is more safe (JS is not executed) and gives you full control on loading external files (images, stylesheets, etc). Also it can be used for rendering HTML in any other control (trees, grids, etc) and another libraries (FastReport, ReportBuilder, etc) using GDI, GDI+, DirectX. plaint text or custom renderer.- 19 replies
-
- webbrowser
- sqllite
-
(and 1 more)
Tagged with:
-
Major improvements: New context sensitive toolbar at editor bottom (eoContextToolbar option) https://www.youtube.com/watch?v=TdWafp0xyPA Image selection toolbar. 40% faster style and layout calculation Support for inlined truetype fonts (@font-face... data:font/truetype;base64) Support for CSS tab-stop decimal and tab-interval CSS word-spacing and letter-spacing properties Magnifier when selecting text on Android and iOS Local links navigation (Click in HtPanel, Ctrl+Click in Editor) Subscript and superscript actions for selection and context toolbars. Linux: support for copy/paste formatted HTML and paste RTF Advanced charts (gradients and more: see Charts 2 section in Reports demo). Full list: https://delphihtmlcomponents.com/new43.html What is HTML Library: the only true native HTML/CSS/SVG engine for Delphi, all Delphi versions, all platforms, VCL and FMX. Rendering using GDI, GDI+, Direct2d, FMX canvas, text canvas and native iOS, OSX and Android canvases. CSS animations and transitions, animated GIF support for all platforms. RTL languages. WYSIWYG HTML editor, import from RTF and DOCX, export to PDF. Interactive HTML/SVG Reports with charts. FastReport, ReportBuilder, VirtualTreeView, SynPDF, Addict and DevExpress spellchecker integration. Pascal scripting engine. SQL library for parsing, analyzing and transforming SQL queries and working with database schema. Universal Email library for sending and receiving emails.
-
How to generate Report from String grid Data to PDF
Alexander Sviridenkov replied to JDS2018's topic in FMX
HTML Report Library has PDF export on all platforms including Android and can get data from SQL table or any other source (XML, JSON, etc). -
New context sensitive HTML Editor UI (inspired by next MS Office preview). Just one Delphi form and one editor component, no code, no toolbars, no actions, no image lists (all SVG).
-
Embedded HTML Editor toolbar preview
Alexander Sviridenkov replied to Alexander Sviridenkov's topic in Delphi Third-Party
@Rollo62 I suppose end of this month. -
Embedded HTML Editor toolbar preview
Alexander Sviridenkov replied to Alexander Sviridenkov's topic in Delphi Third-Party
@Rollo62 Thank you, This will be available in next 4.3 version. Current version is 4.2 and it already supports 10.4. You can download latest build of 4.2 using the same URL, it is updated periodically. -
What ScriptEngine to choose ? DwScript, PascalScript, FastScript, TmsScripter, HtmlScripter
Alexander Sviridenkov replied to Rollo62's topic in FMX
Scripting engine included in HTML Component Library supports all FMX platforms including mobiles. It also have debugger, automatic class registration by RTTI and classes for code completion. -
Andoid TLabels Have Lines on the Letters
Alexander Sviridenkov replied to MikeMon's topic in Cross-platform
This is an FMX issue, not related to Java. On mobile platforms FMX use own text rendering - glyphs are rasterized to (cached) bitmaps and these bitmaps are drawn to openGL textures. This code is not perfect and sometimes (depending on screen resolution and scaling) produce lines on bitmap edges. -
Native Svg parsing and painting in Windows
Alexander Sviridenkov replied to pyscripter's topic in RTL and Delphi Object Pascal
Can you please share these problem SVGs? -
TMemoryStream.Write
Alexander Sviridenkov replied to dummzeuch's topic in RTL and Delphi Object Pascal
Little bit offtopic, but from my experience 90% of performance issues in Delphi came from implicit try except blocks. When procedure contains local variable of managed type, or implicit variable (f.e. string1+string2, copy(), etc) try except block with finalization calls is added to whole procedure even if variable is used only in small block. Moving this block (in case it is rarely executed) to subprocedure helps a lot.