Alexander Sviridenkov
-
Content Count
258 -
Joined
-
Last visited
-
Days Won
26
Posts posted by Alexander Sviridenkov
-
-
HTML + images inside ZIP. Similarly to DOCX. -
1 hour ago, Der schöne Günther said:This might come across as ignorant and disdainful, but I never understood why one should pick self-created html renderers above a "true" webbrowser that certainly supports a wider range of HTML/CSS (and JavaScript)?
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.
- 3
-
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.htmlWhat 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.- 8
-
-
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).
-
-
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.
-
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).- 3
-
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.
- 1
-
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.
-
15 minutes ago, MarkShark said:I've tried the two commercial ones (SVG Magic and Delphi SVG.) They both had issues with my homemade Inkscape svgs, however that was last year (2019) and they may have improved. I have tried SVGIconImagelist recently and it does have the issues I mentioned (reported in their issue tracker on Github.) I'm not sure if that's improved recently. That one does look the most promosing! The other two open source ones I tried were both older and not actively developed that I could see.
Can you please share these problem SVGs?
-
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.
- 1
-
Report is quite simple. First part is call stack, Usually top items are from RTL and gives you little info, so skip items from top until you'll find your own unit, this will be class/method where leaked block was created,
Second section is (possible) class that uses this block.
- 1
-
Looks like TStringList is created in TBetFairAPIHorseHelperBL.ResetEventID and never destroyed.
-
HTML Library 4.2 released. Mostly an maintanence release with RAD studio 10.4 support and bugfixes.
Customers will receive download link in a two days.
- 4
- 1
-
Thanks to all. Flex is planned to this year. CSS grids - after flex.
- 1
- 1
-
gogetssl.com - $248 for EV
-
@John R. thank you, I'll change what's new. But #2 Math ML support is in Core section and means support of displaying MathML equations in existing documents, not MathML editor. It doesn't require additional actions, simply put document with math tag into HtPanel and it will be displayed.
-
-
-
@John R. please compile Editor Demo in trial, select any text and choose Equation from selection toolbar (last button). Or download compiled http://delphihtmlcomponents.com/htedit.zip and do the same.
-
@John R. it supports standard presentation MathML syntax https://en.wikipedia.org/wiki/MathML#Presentation_MathML
Yes, editor is included in HTML Editor and Bundle.
-
19 minutes ago, aehimself said:I quickly realized. It threw a nullpointer exception anyway because of embedded JavaScript. And XML does not have that 🙂
This is only one of hundreds problems. Parsing HTML is much harder than XML.
-
@aehimself 95% of real world HTMLs cannot be parsed by XML parser. Also you cannot correctly modify HTML without calculating CSS styles. F.e. in this case <p class="p1">This is text</p> <p class="p1">This is text2</p> spaces between p can be removed, but in other case <p class="p2">This is text</p> <p class="p2">This is text2</p> they should be preserved.
-
1 minute ago, Jacek Laskowski said:I know that the attribute will not be removed because the library does not know that it is unnecessary.
But notice that in the example I gave you, the alt="nothing" attribute appears twice in one tag!This is an example of ugly, junk HTML code that I have to clean up. I would like to do it as automatically as possible, because manual work is very tedious.
I imagined that your parser could make it easier for me.Yes, duplicates will be removed.
You can send me sample HTML to support at delphihtmlcomponents.com, I'll send you back processed HTML and code.
ANN: HTML Office Library
in Delphi Third-Party
Posted