object SynosePDFCreator: TSynosePDFCreator
  Left = 0
  Top = 0
  BorderStyle = bsDialog
  Caption = 'SynPDF + TRichView Demo'
  ClientHeight = 257
  ClientWidth = 374
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  Position = poScreenCenter
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object btnOpenFile: TButton
    Left = 16
    Top = 8
    Width = 75
    Height = 25
    Caption = 'Open...'
    TabOrder = 0
    OnClick = btnOpenFileClick
  end
  object btnSavePDF: TButton
    Left = 97
    Top = 8
    Width = 75
    Height = 25
    Caption = 'Save PDF...'
    Enabled = False
    TabOrder = 1
    OnClick = btnSavePDFClick
  end
  object gbMargins: TGroupBox
    Left = 184
    Top = 39
    Width = 174
    Height = 129
    Caption = 'Margins, mm'
    TabOrder = 3
    object Label2: TLabel
      Left = 23
      Top = 24
      Width = 23
      Height = 13
      Caption = '&Left:'
      FocusControl = txtLeft
    end
    object Label3: TLabel
      Left = 23
      Top = 47
      Width = 22
      Height = 13
      Caption = '&Top:'
      FocusControl = txtTop
    end
    object Label4: TLabel
      Left = 23
      Top = 71
      Width = 29
      Height = 13
      Caption = '&Right:'
      FocusControl = txtRight
    end
    object Label5: TLabel
      Left = 23
      Top = 95
      Width = 38
      Height = 13
      Caption = '&Bottom:'
      FocusControl = txtBottom
    end
    object txtLeft: TEdit
      Left = 71
      Top = 20
      Width = 80
      Height = 21
      TabOrder = 0
      Text = '20'
    end
    object txtTop: TEdit
      Left = 71
      Top = 43
      Width = 80
      Height = 21
      TabOrder = 1
      Text = '20'
    end
    object txtRight: TEdit
      Left = 71
      Top = 67
      Width = 80
      Height = 21
      TabOrder = 2
      Text = '20'
    end
    object txtBottom: TEdit
      Left = 71
      Top = 91
      Width = 80
      Height = 21
      TabOrder = 3
      Text = '20'
    end
  end
  object rgPageOrientation: TRadioGroup
    Left = 16
    Top = 174
    Width = 342
    Height = 60
    Caption = 'Page orientation'
    Columns = 2
    ItemIndex = 0
    Items.Strings = (
      '&Portrait'
      'L&andscape')
    TabOrder = 4
  end
  object gbPageSize: TGroupBox
    Left = 16
    Top = 39
    Width = 162
    Height = 129
    Caption = 'Page size, mm'
    TabOrder = 2
    object Label1: TLabel
      Left = 13
      Top = 22
      Width = 49
      Height = 13
      Caption = 'Page &size:'
      FocusControl = cmbPageSize
    end
    object Label8: TLabel
      Left = 13
      Top = 75
      Width = 32
      Height = 13
      Caption = '&Width:'
      FocusControl = txtWidth
    end
    object Label9: TLabel
      Left = 13
      Top = 98
      Width = 35
      Height = 13
      Caption = '&Height:'
      FocusControl = txtHeight
    end
    object cmbPageSize: TComboBox
      Left = 13
      Top = 43
      Width = 134
      Height = 21
      Style = csDropDownList
      ItemIndex = 0
      TabOrder = 0
      Text = 'A4'
      OnClick = cmbPageSizeClick
      Items.Strings = (
        'A4'
        'A5'
        'A3'
        'Letter'
        'Legal'
        'User defined')
    end
    object txtWidth: TEdit
      Left = 61
      Top = 71
      Width = 80
      Height = 21
      TabOrder = 1
      Text = '20'
      OnChange = txtPageSizeChange
    end
    object txtHeight: TEdit
      Left = 61
      Top = 94
      Width = 80
      Height = 21
      TabOrder = 2
      Text = '20'
      OnChange = txtPageSizeChange
    end
  end
  object OpenDialog1: TOpenDialog
    DefaultExt = 'rtf'
    Filter = 
      'Rich Text Format Files (*.rtf)|*.rtf|RichView Format Files (*.rv' +
      'f)|*.rvf'
    Options = [ofHideReadOnly, ofPathMustExist, ofFileMustExist, ofEnableSizing]
    Left = 200
    Top = 8
  end
  object SaveDialog1: TSaveDialog
    DefaultExt = 'pdf'
    Filter = 'PDF Files (*.pdf)|*.pdf'
    Options = [ofOverwritePrompt, ofHideReadOnly, ofPathMustExist, ofEnableSizing]
    Left = 248
    Top = 8
  end
  object rvh: TRVReportHelper
    PreviewCorrection = False
    RichView.BackgroundStyle = bsNoBitmap
    RichView.BottomMargin = 0
    RichView.RTFReadProperties.TextStyleMode = rvrsAddIfNeeded
    RichView.RTFReadProperties.ParaStyleMode = rvrsAddIfNeeded
    RichView.RVFOptions = [rvfoSavePicturesBody, rvfoSaveControlsBody, rvfoSaveBinary, rvfoSaveTextStyles, rvfoSaveParaStyles, rvfoSaveDocProperties, rvfoLoadDocProperties]
    RichView.TopMargin = 0
    NoMetafiles = False
    OnDrawCheckpoint = rvhDrawCheckpoint
    Left = 280
    Top = 8
  end
end
