object FormMain: TFormMain
  Left = 0
  Top = 0
  BorderStyle = bsDialog
  Caption = 'PDF Splitter - PDFiumVCL Demo'
  ClientHeight = 503
  ClientWidth = 644
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -12
  Font.Name = 'Segoe UI'
  Font.Style = []
  OldCreateOrder = True
  Position = poScreenCenter
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  DesignSize = (
    644
    503)
  PixelsPerInch = 96
  TextHeight = 15
  object pnlMain: TPanel
    Left = 8
    Top = 8
    Width = 622
    Height = 443
    Anchors = [akLeft, akTop, akRight, akBottom]
    BevelOuter = bvNone
    TabOrder = 0
    object grpSource: TGroupBox
      Left = 0
      Top = 0
      Width = 622
      Height = 80
      Align = alTop
      Caption = ' Source PDF File '
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = 'Segoe UI'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 0
      DesignSize = (
        622
        80)
      object lblPdfFile: TLabel
        Left = 16
        Top = 26
        Width = 45
        Height = 15
        Caption = 'PDF File:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = []
        ParentFont = False
      end
      object lblPageInfo: TLabel
        Left = 16
        Top = 52
        Width = 53
        Height = 15
        Caption = 'Page Info:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = []
        ParentFont = False
      end
      object lblPageCount: TLabel
        Left = 80
        Top = 52
        Width = 79
        Height = 15
        Caption = 'No file selected'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clGray
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = [fsItalic]
        ParentFont = False
      end
      object edtPdfFile: TEdit
        Left = 80
        Top = 23
        Width = 444
        Height = 23
        Anchors = [akLeft, akTop, akRight]
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = []
        ParentFont = False
        TabOrder = 0
        OnChange = edtPdfFileChange
      end
      object btnBrowse: TButton
        Left = 530
        Top = 23
        Width = 75
        Height = 23
        Anchors = [akTop, akRight]
        Caption = 'Browse...'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = []
        ParentFont = False
        TabOrder = 1
        OnClick = btnBrowseClick
      end
    end
    object grpOptions: TGroupBox
      Left = 0
      Top = 80
      Width = 622
      Height = 160
      Align = alTop
      Caption = ' Split Options '
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = 'Segoe UI'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 1
      DesignSize = (
        622
        160)
      object lblSplitMode: TLabel
        Left = 16
        Top = 26
        Width = 60
        Height = 15
        Caption = 'Split Mode:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = []
        ParentFont = False
      end
      object lblPageRange: TLabel
        Left = 16
        Top = 58
        Width = 65
        Height = 15
        Caption = 'Page Range:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = []
        ParentFont = False
      end
      object lblOutputDir: TLabel
        Left = 16
        Top = 90
        Width = 92
        Height = 15
        Caption = 'Output Directory:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = []
        ParentFont = False
      end
      object lblNamingPattern: TLabel
        Left = 16
        Top = 122
        Width = 87
        Height = 15
        Caption = 'Naming Pattern:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = []
        ParentFont = False
      end
      object lblRangeHelp: TLabel
        Left = 323
        Top = 58
        Width = 206
        Height = 15
        Caption = 'e.g., 1-10, 15, 20-25 (comma separated)'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clGray
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = [fsItalic]
        ParentFont = False
      end
      object lblPatternHelp: TLabel
        Left = 323
        Top = 123
        Width = 260
        Height = 15
        Caption = '{filename} = source name, {page} = page number'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clGray
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = [fsItalic]
        ParentFont = False
      end
      object cmbSplitMode: TComboBox
        Left = 116
        Top = 23
        Width = 200
        Height = 23
        Style = csDropDownList
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = []
        ItemIndex = 0
        ParentFont = False
        TabOrder = 0
        Text = 'Split into individual pages'
        OnChange = cmbSplitModeChange
        Items.Strings = (
          'Split into individual pages'
          'Split by page range'
          'Split by bookmarks')
      end
      object edtPageRange: TEdit
        Left = 116
        Top = 55
        Width = 200
        Height = 23
        Enabled = False
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = []
        ParentFont = False
        TabOrder = 1
        Text = '1-10, 15, 20-25'
      end
      object edtOutputDir: TEdit
        Left = 116
        Top = 87
        Width = 408
        Height = 23
        Anchors = [akLeft, akTop, akRight]
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = []
        ParentFont = False
        TabOrder = 2
      end
      object btnSelectOutputDir: TButton
        Left = 530
        Top = 87
        Width = 75
        Height = 23
        Anchors = [akTop, akRight]
        Caption = 'Select...'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = []
        ParentFont = False
        TabOrder = 3
        OnClick = btnSelectOutputDirClick
      end
      object edtNamingPattern: TEdit
        Left = 116
        Top = 119
        Width = 200
        Height = 23
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = []
        ParentFont = False
        TabOrder = 4
        Text = '{filename}_Page{page}'
      end
    end
    object grpProgress: TGroupBox
      Left = 0
      Top = 240
      Width = 622
      Height = 100
      Align = alTop
      Caption = ' Processing Status '
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = 'Segoe UI'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 2
      DesignSize = (
        622
        100)
      object lblCurrentOperation: TLabel
        Left = 16
        Top = 26
        Width = 32
        Height = 15
        Caption = 'Ready'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = []
        ParentFont = False
      end
      object lblProgress: TLabel
        Left = 16
        Top = 73
        Width = 63
        Height = 15
        Caption = '0 of 0 pages'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = []
        ParentFont = False
      end
      object prgProgress: TProgressBar
        Left = 16
        Top = 47
        Width = 589
        Height = 20
        Anchors = [akLeft, akTop, akRight]
        TabOrder = 0
      end
    end
    object grpLog: TGroupBox
      Left = 0
      Top = 340
      Width = 622
      Height = 103
      Align = alClient
      Caption = ' Operation Log '
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = 'Segoe UI'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 3
      object mmoLog: TMemo
        Left = 2
        Top = 17
        Width = 618
        Height = 84
        Align = alClient
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -11
        Font.Name = 'Consolas'
        Font.Style = []
        ParentFont = False
        ReadOnly = True
        ScrollBars = ssVertical
        TabOrder = 0
        OnChange = mmoLogChange
      end
    end
  end
  object pnlButtons: TPanel
    Left = 8
    Top = 457
    Width = 622
    Height = 38
    Anchors = [akLeft, akRight, akBottom]
    BevelOuter = bvNone
    TabOrder = 1
    object btnSplit: TButton
      Left = 204
      Top = 8
      Width = 100
      Height = 30
      Caption = '&Split PDF'
      Default = True
      Enabled = False
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = 'Segoe UI'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 0
      OnClick = btnSplitClick
    end
    object btnCancel: TButton
      Left = 312
      Top = 8
      Width = 100
      Height = 30
      Caption = '&Cancel'
      Enabled = False
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = 'Segoe UI'
      Font.Style = []
      ParentFont = False
      TabOrder = 1
      OnClick = btnCancelClick
    end
    object btnClearLog: TButton
      Left = 424
      Top = 8
      Width = 100
      Height = 30
      Caption = 'Clear Lo&g'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = 'Segoe UI'
      Font.Style = []
      ParentFont = False
      TabOrder = 2
      OnClick = btnClearLogClick
    end
    object btnExit: TButton
      Left = 530
      Top = 8
      Width = 100
      Height = 30
      Caption = 'E&xit'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = 'Segoe UI'
      Font.Style = []
      ParentFont = False
      TabOrder = 3
      OnClick = btnExitClick
    end
    object lnkLabel: TLinkLabel
      Left = 2
      Top = 19
      Width = 101
      Height = 19
      Cursor = crHandPoint
      Caption = '<a href="https://www.loslab.com">@ losLab Software</a>'
      TabOrder = 4
      OnLinkClick = lnkLabelLinkClick
    end
  end
  object Pdf: TPdf
    OnPageChange = PdfPageChange
    Left = 496
    Top = 80
  end
  object PdfNew: TPdf
    Left = 528
    Top = 80
  end
  object dlgOpenPdf: TOpenDialog
    DefaultExt = 'pdf'
    Filter = 'PDF Files (*.pdf)|*.pdf|All Files (*.*)|*.*'
    Options = [ofHideReadOnly, ofPathMustExist, ofFileMustExist, ofEnableSizing]
    Title = 'Select PDF File to Split'
    Left = 464
    Top = 96
  end
  object dlgSelectFolder: TFileOpenDialog
    FavoriteLinks = <>
    FileTypes = <>
    Options = [fdoPickFolders]
    Title = 'Select Output Directory'
    Left = 560
    Top = 88
  end
  object tmrProgress: TTimer
    Enabled = False
    Interval = 100
    OnTimer = tmrProgressTimer
    Left = 592
    Top = 80
  end
end
