Unit 'markdown.pdfrender' Package
[Overview][Constants][Types][Classes][Index] [#fcl-md]

TMarkDownPDFRenderer

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: markdown.pdfrender.pas line 169

type TMarkDownPDFRenderer = class(TMarkdownRenderer)

protected

  procedure Clear;

  procedure BeginLayout;

  procedure EndLayout;

  function GetBulletChar();

  procedure NewLine;

  procedure ParagraphBreak;

  procedure MaybeStartParagraph;

  procedure SuppressNextParagraphBreak;

  function SwapLayout();

  function SwapLayoutLists();

  procedure SetCurrentY();

  procedure CheckPageBreak();

  procedure CreateNewPage;

  function GetCurrentPageY;

  function GetEffectivePageHeight;

  function DIP();

  function ResolveFontForText();

  procedure ApplyFont();

  procedure MeasureText();

  function MeasureTextWidth();

  function MeasureTextHeight();

  function GetTexTARGBColor(); virtual;

  function GetTextBGColor(); virtual;

  procedure CollectHTMLEntities;

  function ResolveEntities(); virtual;

  procedure FlushTextRun(); virtual;

  procedure LayoutTextWrapped(); virtual;

  function LayoutImage(); virtual;

  procedure RenderTextNode();

  procedure DrawLayoutItem();

  procedure DrawLayout;

  function GetNodeFontStyle();

  procedure Indent();

  procedure SetBulletChar();

  procedure Undent();

  procedure IncBulletLevel;

  procedure DecBulletLevel;

  function GetBullet;

  function GetBulletAt();

  function CreateLayoutItem();

  property BulletLevel: Integer; [r]

  property CalculatedBlockQuoteIndent: Integer; [r]

  property Layout: TLayoutData; [r]

public

  constructor Create(); override;

  destructor Destroy; override;

  procedure RenderDocument();

  function HitTestLink();

  property Document: TMarkdownDocument; [r]

  property TargetDPI: LongInt; [rw]

  property FontName: utf8string; [rw]

  property MonoFontName: utf8string; [rw]

  property FontHyperLinkColor: TARGBColor; [rw]

  property BGCodeColor: TARGBColor; [rw]

  property FontCodeColor: TARGBColor; [rw]

  property BGMarkColor: TARGBColor; [rw]

  property FontMarkColor: TARGBColor; [rw]

  property BGColor: TARGBColor; [rw]

  property FonTARGBColor: TARGBColor; [rw]

  property FontQuoteColor: TARGBColor; [rw]

  property BaseFontSize: LongInt; [rw]

  property BulletChar1: string; [rw]

  property BulletChar2: string; [rw]

  property BulletChar3: string; [rw]

  property BlockQuoteIndent: Integer; [rw]

  property ParagraphSpacing: Integer; [rw]

  property ExtraIndent: Integer; [rw]

  property ImageMargin: Integer; [rw]

  property ImageBaseDir: string; [rw]

  property OnGetImage: TMarkdownImageEvent; [rw]

  property PDFDocument: TPDFDocument; [rw]

  property PageList: TList; [r]

  property TopMargin: TPDFFloat; [rw]

  property BottomMargin: TPDFFloat; [rw]

  property LeftMargin: TPDFFloat; [rw]

  property RightMargin: TPDFFloat; [rw]

end;

Inheritance

TMarkDownPDFRenderer

|

TMarkdownRenderer

|

TObject


Documentation generated on: 2026-07-03