Alexander Sviridenkov
Members-
Content Count
280 -
Joined
-
Last visited
-
Days Won
28
Everything posted by Alexander Sviridenkov
-
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. -
Fixing memory leaks with FastMM4
Alexander Sviridenkov replied to Alberto Paganini's topic in RTL and Delphi Object Pascal
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. -
Fixing memory leaks with FastMM4
Alexander Sviridenkov replied to Alberto Paganini's topic in RTL and Delphi Object Pascal
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.
-
What's new Core: Completely new CSS subsystem - faster and less memory. MathML support. Compatibility with Lazarus 2+. FMX: Hints support. Animated GIFs for FMX (all platforms) and VCL Delphi 5+. CSS columns support. CSS tabstops support. Improved recovering of incorrect tag order. Added :only-of-type selector DX canvas: added support for rotated arcs in paths. THtImageListSource now works with ImageList on data module. Editor: Format painter button. Clear formatting button. Columns button Math equation editor. Adding ability to combine two adjacent lists by pressing Del DOCX import: added support for math equations. Footnotes Reports/SQL: FastReport FMX component ReportBuilder component SQL: ConvertWheretoJoins now can reorder tables. Compatibility with VTV 6.7 Fixed Core: Value none was processed incorrectly for max-width/max-height Incorrect document position when using native iOS canvas and non-zero offset. Incorrect processing of multiple fonts in font-family. Incorrect layout when absolute element has inline containing block. SVG: correct processing path 'a' command with sibling flags with no divider. GDI canvas issue when SVG use clip path. FMX: fixed SVG elements position when using viewbox Vertical placement of inline blocks Artifacts when using native Android canvas on some resolutions. Editor: DOCX import: fixed superscript style 'Pop from empty editor stack' error. AV when deleting selection Eempty list item cannot be deleted. Style is not applied to selected cells when selection is reverced (from bottom to top) Delimiter is added to first word causing incorrect spell checking AV when pressing space at endf of line after changing text style Selection is incorrect after applying text transform Reports/Scripter Scripter: AV when registering class having same name as record helper. Scripter: incorrect call to parent method when using inherited property. Wrong target in script drag events. FastReport: HTML is exported to PDF as image Trial version: http://delphihtmlcomponents.com/editor41trial.zip
-
ANN HTML Library 4.1 released
Alexander Sviridenkov replied to Alexander Sviridenkov's topic in Delphi Third-Party
Thanks to all. Flex is planned to this year. CSS grids - after flex. -
gogetssl.com - $248 for EV
-
ANN HTML Library 4.1 released
Alexander Sviridenkov replied to Alexander Sviridenkov's topic in Delphi Third-Party
@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. -
ANN HTML Library 4.1 released
Alexander Sviridenkov replied to Alexander Sviridenkov's topic in Delphi Third-Party
@John R. please check that Editor.Options.eoSelectionToolbar is checked -
ANN HTML Library 4.1 released
Alexander Sviridenkov replied to Alexander Sviridenkov's topic in Delphi Third-Party
@Vincent Parrett you should have receive new link on email. If not, please contact me. -
ANN HTML Library 4.1 released
Alexander Sviridenkov replied to Alexander Sviridenkov's topic in Delphi Third-Party
@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. -
ANN HTML Library 4.1 released
Alexander Sviridenkov replied to Alexander Sviridenkov's topic in Delphi Third-Party
@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. -
Minifing HTML
Alexander Sviridenkov replied to Jacek Laskowski's topic in RTL and Delphi Object Pascal
This is only one of hundreds problems. Parsing HTML is much harder than XML. -
Minifing HTML
Alexander Sviridenkov replied to Jacek Laskowski's topic in RTL and Delphi Object Pascal
@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. -
ANN HTML Library 4.1 released
Alexander Sviridenkov replied to Alexander Sviridenkov's topic in Delphi Third-Party
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 Library 4.1 released
Alexander Sviridenkov replied to Alexander Sviridenkov's topic in Delphi Third-Party
@Jacek Laskowski, no, only duplicated attributes are removed automatically. Library doesn't know do you need alt="nothing" attribute or not, you should decode this yourself. Duplicated CSS properties can be removed by one line code, but this is not done automatically too, because by default (if there was no style changes) style attribute remains unchanged. -
ANN HTML Library 4.1 released
Alexander Sviridenkov replied to Alexander Sviridenkov's topic in Delphi Third-Party
Yes, this is possible. Simply iterate DOM after parsing (use Count and Elements or NextElement), remove all unecessary attributes and tags and use Document,OuterHTML to get HTML string. -
New compiled demo - Office file viewer http://delphihtmlcomponents.com/filebrowser.zip