Jump to content

Alexander Sviridenkov

Members
  • Content Count

    268
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by Alexander Sviridenkov

  1. Alexander Sviridenkov

    HTML Parser alternative to MSHTML?

    Sample uses htmldraw, htmlpars; .. var D: THtDocument; N: THtNode; begin D := THtDocument.Create; try D.Parse('<body><div id="1"><ul><a href="a1">First</a><a href="a2">Second</a></ul></div><div><ul><a href="a3:>Third</a></ul></div></body>'); for N in D.JQuery('div#1 ul a') do ShowMessage(N['href']); for N in D.XPath('//div[@id="1"]/ul/a') do ShowMessage(N['href']); finally D.Free end;
  2. Alexander Sviridenkov

    HTML Parser alternative to MSHTML?

    Why ypu don't you parser from HTML Component Library? AFAIR you own a license. Parser supports XPath and JQuery so searching for particular nodes is quite simple.
  3. Alexander Sviridenkov

    For gui information

    HTML Component Library can be used to create exacly the same UI.
  4. Alexander Sviridenkov

    HTML Library Sale

    20% discount on delphihtmlcomponents.com products. Please use coupon code NY2022 (valid until end of the year). This is the last chance to order HTML Library at the current price. Prices will be increased in January, but renewal price (including a 15% discount increased by 5% every year) will remain the same for customers with continued subscription. https://delphihtmlcomponents.com/order.html
  5. Alexander Sviridenkov

    Pos

    In recent Delphi there is s.SpltString() which returns array of string.
  6. Alexander Sviridenkov

    Frequency Spectrum of Selected Audio

    https://en.wikipedia.org/wiki/Fast_Fourier_transform
  7. Alexander Sviridenkov

    HTML Library: Black Friday discount

    25% discount on HTML Library (until Saturday), please use coupon code BF2021 https://delphihtmlcomponents.com
  8. Alexander Sviridenkov

    awk-like processor using Delphi code?

    HTML Component Library. Yes, it can display almost the same as browser (HTML4 and CSS3, except JS) but I was thinking about using its CSS part for calculating and applying rules.
  9. Alexander Sviridenkov

    awk-like processor using Delphi code?

    HCL has very fast and universal CSS processor (separated from UI/rendering), maybe it can be used there.
  10. Alexander Sviridenkov

    awk-like processor using Delphi code?

    Isn't that similar to CSS?
  11. Small video showing how to embed any part of (or whole) PDF, PowerPoint, Excel, Word, Outlook, document into report. Document is embedded in vector format and is editable (can be changed in built in HTML Editor). https://s9.gifyu.com/images/rb5bba15035de9053c.gif
  12. Alexander Sviridenkov

    Report Builder + HTML Library + Office Library.

    Yes.
  13. Alexander Sviridenkov

    Report Builder + HTML Library + Office Library.

    Theoretically yes, but currently no.
  14. Alexander Sviridenkov

    Report Builder + HTML Library + Office Library.

    There is CSS contenteditable property which can be set to true or false using snandard CSS rules. Deleting of certain tags cannot be prohibited, but editor supports XML schema which can define rules for adding new tags (what tags are allowed and what tag can be added to another tag).
  15. Alexander Sviridenkov

    Report Builder + HTML Library + Office Library.

    Yes
  16. Alexander Sviridenkov

    Reading SVG code from text file

    When reading text file you should know (or determine) its encoding.
  17. Alexander Sviridenkov

    AI experiences, GPT3 Leta series

    In my country all mobile providers and banks use such AI, and all these AIs are so stupid that first thing that everyone do when calling is trying to force him to switch to human. Just another annoying thing like long voice menus.
  18. Alexander Sviridenkov

    DevExpress PDF Viewer

    JFYI HTML Office Library (including HTML Component Library) adds 4.5Mb for all supported formats - PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, SC, MD, HTML, MSG. Final exe size (when compiled in 11 release) is 6.7 Mb.
  19. Alexander Sviridenkov

    HTML Library 4.5 Released

    HTML Component Library, HTML Editor Library and HTML Report Library version 4.5 released. What's new: 1. RAD Studio 11 Alexandria support. 2. New THtMarkdownPanel component for displaying Markdown documents. 3. Improved Markdown support (tables, links, etc.) 4. Improved rending or large SVG images 5. Improved Flex support. 6. Improved handling of incorrect markup (tag order). 7. Added THtPanel.OnShowResizeHint event. 8. Added THtDocument.EmbedAllImages method for embedding images into document. 9. Added THtPanel.Script property for storing common scripts. 10. Added PrintScale parameter to Print method for scaling pages. 11. Added SplitBlocktoRoot method for splitting nested blocks (f.e. citation in emails). 12. Support for disablet attribute in inputs. 13. Added HighlightCheckedNodes property in THtVirtualXMLTree. 14. Improved scrolling of page with many input controls. 15. Added PNG encoding of pasted images for FMX. 16. New Editor event OnSurrogatePair. This event is called on second (low surrogate) char and when it returns true, default char processing is skipped. 17. SVG: added support for preserveAspectRatio with values none, meet and slice. 18. Faster rendering of large break-all blocks. 19. Support for type="number" in inputs. 20. Added Remove method to JQuery. 21. Addes support for attr!=value selector 22. Added support for summary and details elements. 23. DOCX to HTML conversion is now supported in Delphi 5 - 7. Fixed issues: https://delphihtmlcomponents.com/fixed45.html https://delphihtmlcomponents.com/
  20. Alexander Sviridenkov

    HTML Library 4.5 Released

    Please download now, trial is updated.
  21. Alexander Sviridenkov

    HTML Library 4.5 Released

    Thank you, it was compiled with last 11 pre-release build, looks like it is incompatible with release build.
  22. Alexander Sviridenkov

    HTML Library 4.5 Released

    Thank you for reporting, groupproj added. Do you get this error when using installer or when installing manually?
  23. Whats's new 1. Improved performance for all document types. 2. Special TextMode mode for fast extracting of text content. 3. Outlook message format support (.MSG) 4. Markdown format support (.MD). 5. New RTF document parser. 6. HTML to DOCX conversion (basic implementation). 7. Improved EMF and WMF to SVG conversion. 8. Creation amd modification of DOCX files. 9. Text bit index classes for fast document search/indexing. 10. OpenType font class now supports creating text layouts, applying OpentType features and text measurement. 11. Improved font glyph to SVG conversion. 12. Support for XLSB format. 13. Support for old Delphi versions (from Delphi 7). 14. Support for mobile platforms. 15. Delphi 11 Alexandria support. What is Office Library: native cross-platform Delphi library for converting all MS Office formats to HTML and displaying it in your application or browser. No external dependencies, support for all Delphi versions from Delphi 7, native classes for work with OpenType fonts, special classes for creating full text search document indexes. Supported formats: 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) MS Excel XML binary format (XLSB) Adobe PDF format (PDF) Supercalc format (SXC) EPUB (electronic books). Markdown. Outlook Message (MSG) More details: https://delphihtmlcomponents.com/office.html Compiled demo applications (documentation is included): https://delphihtmlcomponents.com/FileBrowser.zip https://delphihtmlcomponents.com/FontBrowser.zip 30% discount on Office Library Site License is available until end of September. Please use coupon code OFFICE2021
  24. Alexander Sviridenkov

    Custom text rendering

    Just made this for fun. Canvas for HTML library which uses no system text/font API. Everything is processed inside library. Fonts are loaded directly from TTF file/stream. Strings are converted into sequence of glyphs and transformed by various opentype features (kerming, glyph substitution/reposition, RTL, ligatures, etc.). After that glyphs are converted to graphics paths and rendered using D2D FillGeometry method. https://s9.gifyu.com/images/ownfont.gif
  25. Alexander Sviridenkov

    Custom text rendering

    Yes, font class can read and write TTF and WOFF, and also extract font of any format from PDF (CFF, PostScript, etc) and convert it to TTF (not simply wrap as CFF but convert outlines). Visual glyph editing can also be easily implemented using SVG. Please check http://delphihtmlcomponents.com/FontBrowser.zip compiled demo, it shows all capabilities - read, write, extract, and contains visual glyph editor (simple HtPanel). Only around 100 lines of code. BTW, font class can import glyphs from SVG path. This is part of Office library.
×