Alexander Sviridenkov
-
Content Count
259 -
Joined
-
Last visited
-
Days Won
26
Posts posted by Alexander Sviridenkov
-
-
@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.
-
14 hours ago, Jacek Laskowski said:I have one question, is it possible to optimize HTML and CSS code with your library, i.e. remove unnecessary attributes?
For example, I have a code:<img src="logo.jpg" alt="nothing" style="color: white; border: 50px; color: black" alt="nothing" ><div>
This tag has an unnecessary attribute alt="nothing" and one of the CSS attributes: "color: white" because both are overwritten.
To remove such redundant attributes you would need to parse HTML and CSS (what your library does) and build HTML and CSS from the metadata again.Is this possible in the HTML Library?
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.
-
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.
FootnotesReports/SQL:
FastReport FMX component
ReportBuilder component
SQL: ConvertWheretoJoins now can reorder tables.
Compatibility with VTV 6.7Fixed
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/ScripterScripter: 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 imageTrial version:
http://delphihtmlcomponents.com/editor41trial.zip
- 1
- 1
-
2 hours ago, Dany Marmur said:Can i compile a pure Dephi server-side service including this and convert office files to html on the fly? TIA
Yes
- 1
-
-
RTF, DOCX, DOC, XLS, XLSX, PPT, PPTX, SCX
- 3
-
5 minutes ago, microtronx said:Good job. Are you using a own viewer component which reads all those files or is it using installed applications for the file-extensions?
Nothing is used, only Delphi code.
-
-
-
http://guildalfa.ru/alsha/node/32
Article is in russian, but at the bottom there is link to implementation file,
-
28 minutes ago, Fr0sT.Brutal said:I saw multiple opinions that such big IN's are bad design. Where they come from?
Such queries may be slow, After some number join is faster,
-
@Alberto Fornés Currently you can have any number of THtmlView component inside report bands, each component can have own source and render div, table, etc.
- 2
-
-
-
Attila, Thank you!
-
14 minutes ago, microtronx said:We can recommend Alexander's components. Very good working components and also very good support!
Thank you!
- 1
-
3 minutes ago, Cristian Peța said:I think to get rid of RTF so I can go cross-platform but from your website I don't see how much is subscription.
Subscription is around 50% of license price + 15% discount increased by 5% every year of continued subscription.
-
44 minutes ago, Alberto Fornés said:I imagine that this feature improves the basic HTML rendering within fastreport, it can be used with dynamic HTML content?, I mean HTML generated from a server as svg graphics or content with variable dimensions?
You can use SVG images defined via href, standard FR DB fields (as shown in video) which may contains HTML too, or load complete HTML using http or other protocol, but last one requires overriding one component method.
- 2
-
1 hour ago, TigerLilly said:Interesting. Does this work out of the box, having both FR and HTMLComponets? Is this a preview or already shipped?
1. Yes
2. Preview only
-
SavetoFile use encoder depending on file extension, SavetoStream writes content unchanged.
- 1
-
10 minutes ago, Attila Kovacs said:@Alexander Sviridenkov So you have implemented the whole office package into Delphi? I hope it's not only for FMX. 😉
Yes, platform and framework doesn't matter, VCL, FMX, iOS, Linux, etc.
- 4
-
-
Parameters cannot be used for IN operator. In some cases you can use LIKE instead of IN.
-
SQL Framework (part of HTML Library bundle) is designed for creating, parsing and modifying SQL queries based on database schema. You can easily add new field from existing or new table, change order/group parts, convert where conditions to joins, add/remove where conditions and much more.
Please check https://delphihtmlcomponents.com/SQLLibrary.pdf
- 3
ANN HTML Library 4.1 released
in Delphi Third-Party
Posted
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.