⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 styleunit1.dfm

📁 wptools5 pro 完整源代码 Msword界面的文本编辑器源代码
💻 DFM
📖 第 1 页 / 共 3 页
字号:
object StyleDemo: TStyleDemo
  Left = 143
  Top = 192
  Width = 853
  Height = 561
  Caption = 'Styles in WPTools 5'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -13
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  Scaled = False
  OnCreate = FormCreate
  OnShow = FormShow
  PixelsPerInch = 120
  TextHeight = 16
  object PageControl1: TPageControl
    Left = 0
    Top = 0
    Width = 845
    Height = 527
    ActivePage = TabSheet1
    Align = alClient
    TabOrder = 0
    object TabSheet1: TTabSheet
      Caption = 'Native'
      object Panel1: TPanel
        Left = 558
        Top = 0
        Width = 279
        Height = 496
        Align = alRight
        BevelInner = bvSpace
        BevelOuter = bvLowered
        TabOrder = 0
        DesignSize = (
          279
          496)
        object Bevel1: TBevel
          Left = 7
          Top = 325
          Width = 268
          Height = 105
          Shape = bsFrame
        end
        object Label1: TLabel
          Left = 11
          Top = 125
          Width = 70
          Height = 16
          Caption = 'First Style'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -13
          Font.Name = 'MS Sans Serif'
          Font.Style = [fsBold]
          ParentFont = False
        end
        object Label2: TLabel
          Left = 15
          Top = 148
          Width = 55
          Height = 16
          Caption = 'Font Size'
        end
        object Label3: TLabel
          Left = 11
          Top = 51
          Width = 50
          Height = 16
          Caption = 'Default'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -13
          Font.Name = 'MS Sans Serif'
          Font.Style = [fsBold]
          ParentFont = False
        end
        object Label4: TLabel
          Left = 15
          Top = 71
          Width = 55
          Height = 16
          Caption = 'Font Size'
        end
        object Label5: TLabel
          Left = 15
          Top = 102
          Width = 66
          Height = 16
          Caption = 'Font Name'
        end
        object Label6: TLabel
          Left = 15
          Top = 178
          Width = 66
          Height = 16
          Caption = 'Font Name'
        end
        object Label7: TLabel
          Left = 11
          Top = 330
          Width = 165
          Height = 16
          Caption = 'All styles in WP-CSS format:'
        end
        object Label8: TLabel
          Left = 12
          Top = 205
          Width = 170
          Height = 16
          Caption = 'Style "FIRST" in CSS format:'
        end
        object Label9: TLabel
          Left = 9
          Top = 437
          Width = 89
          Height = 16
          Anchors = [akLeft]
          Caption = 'The document:'
        end
        object InitTextA: TButton
          Left = 12
          Top = 14
          Width = 261
          Height = 25
          Caption = 'Init Text'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clRed
          Font.Height = -13
          Font.Name = 'MS Sans Serif'
          Font.Style = [fsBold]
          ParentFont = False
          TabOrder = 0
          OnClick = InitTextAClick
        end
        object WPValueEdit1: TWPValueEdit
          Left = 96
          Top = 143
          Width = 91
          Height = 26
          AvailableUnits = [euInch, euCm, euPt]
          UnitType = euCm
          TabOrder = 1
          OnChange = WPValueEdit1Change
          AllowNegative = False
          Value = 0
          IntValue = 0
          Undefined = False
        end
        object CSS1: TMemo
          Left = 39
          Top = 225
          Width = 235
          Height = 89
          Lines.Strings = (
            'CSS1')
          ScrollBars = ssVertical
          TabOrder = 2
        end
        object GetCSS1: TButton
          Left = 15
          Top = 225
          Width = 22
          Height = 22
          Caption = '>>'
          TabOrder = 3
          OnClick = GetCSS1Click
        end
        object SetCSS1: TButton
          Left = 15
          Top = 254
          Width = 22
          Height = 22
          Caption = '<<'
          TabOrder = 4
          OnClick = SetCSS1Click
        end
        object WPValueEdit2: TWPValueEdit
          Left = 96
          Top = 67
          Width = 91
          Height = 26
          AvailableUnits = [euInch, euCm, euPt]
          UnitType = euCm
          TabOrder = 5
          OnChange = WPValueEdit2Change
          AllowNegative = False
          Value = 0
          IntValue = 0
          Undefined = False
        end
        object ComboBox1: TComboBox
          Left = 96
          Top = 98
          Width = 145
          Height = 24
          Style = csDropDownList
          ItemHeight = 16
          TabOrder = 6
          OnChange = ComboBox1Change
        end
        object SaveFile: TButton
          Left = 14
          Top = 459
          Width = 91
          Height = 25
          Anchors = [akLeft]
          Caption = 'Save As ...'
          TabOrder = 7
          OnClick = SaveFileClick
        end
        object TestRTF: TButton
          Left = 107
          Top = 459
          Width = 75
          Height = 25
          Anchors = [akLeft]
          Caption = 'Test RTF'
          TabOrder = 8
          OnClick = TestRTFClick
        end
        object TestWPT: TButton
          Left = 184
          Top = 459
          Width = 75
          Height = 25
          Anchors = [akLeft]
          Caption = 'Test WPT'
          TabOrder = 9
          OnClick = TestWPTClick
        end
        object ComboBox2: TComboBox
          Left = 96
          Top = 174
          Width = 145
          Height = 24
          Style = csDropDownList
          ItemHeight = 16
          TabOrder = 10
          OnChange = ComboBox2Change
        end
        object Button2: TButton
          Left = 9
          Top = 352
          Width = 22
          Height = 22
          Caption = '>>'
          TabOrder = 11
          OnClick = Button2Click
        end
        object Memo1: TMemo
          Left = 33
          Top = 354
          Width = 236
          Height = 72
          Lines.Strings = (
            'all styles as WPCSS')
          ScrollBars = ssVertical
          TabOrder = 12
        end
        object Button3: TButton
          Left = 9
          Top = 379
          Width = 22
          Height = 22
          Caption = '<<'
          TabOrder = 13
          OnClick = Button3Click
        end
      end
      object WPRichText1: TWPRichText
        Left = 0
        Top = 0
        Width = 558
        Height = 496
        RTFText.Data = {
          3C215750546F6F6C735F466F726D617420563D3530302F3E0D0A3C6469763E3C
          2F6469763E0D0A3C6469763E3C6373206E723D312077707374793D5B5B5D5D2F
          3E3C63206E723D312F3E546869732064656D6F2073686F777320686F77207465
          7874206973206372656174656420696E20636F64652C20686F77207374796C65
          7320617265206372656174656420616E642070726F7065727469657320617265
          2061737369676E656420616E6420686F772074686973207374796C6573206361
          6E206265207573656420776974682074686520746578742E3C2F6469763E0D0A
          3C6469763E3C2F6469763E0D0A3C6469763E3C63206E723D312F3E5468652073
          74796C65732063616E206265206368616E67656420616E642074686520746578
          742077696C6C2062652075706461746564206163636F7264696E676C792E3C2F
          6469763E0D0A3C6469763E3C2F6469763E0D0A3C6469763E3C63206E723D312F
          3E5465787420616E64207374796C657320776869636820646F206E6F74207573
          65206365727461696E2063686172616374657220617474726962757465732028
          666F6E74206E616D652C2073697A65202E2E292077696C6C2073656C65637420
          7468652064656661756C74206174747269627574657320746F2066696C6C2069
          6E20746865206761702E3C2F6469763E0D0A3C6469763E3C2F6469763E0D0A3C
          6469763E3C63206E723D312F3E546869732069732074686520736F7572636520
          666F72203C6373206E723D322077707374793D5B5B436861724247436F6C6F72
          3A636C53696C7665723B5D5D2F3E3C63206E723D322F3E20496E697420546578
          74203C63206E723D312F3E3A3C2F6469763E0D0A3C6469763E3C2F6469763E0D
          0A3C6469762077707374793D5B5B496E64656E744C6566743A3238383B5D5D3E
          3C6373206E723D332077707374793D5B5B43686172466F6E743A27436F757269
          6572204E6577273B43686172466F6E7453697A653A3830303B43686172537479
          6C654D61736B3A313B436861725374796C654F4E3A313B43686172436F6C6F72
          3A636C426C61636B3B5D5D2F3E3C63206E723D332F3E70726F6365647572653C
          6373206E723D342077707374793D5B5B43686172466F6E743A27436F75726965
          72204E6577273B43686172466F6E7453697A653A3830303B43686172436F6C6F
          723A636C426C61636B3B5D5D2F3E3C63206E723D342F3E20545374796C654465
          6D6F2E496E69745465787441436C69636B2853656E6465723A20544F626A6563
          74293B3C2F6469763E0D0A3C6469762077707374793D5B5B496E64656E744C65
          66743A3238383B5D5D3E3C63206E723D332F3E7661723C63206E723D342F3E20
          706172203A20545061726167726170683B3C2F6469763E0D0A3C646976207770
          7374793D5B5B496E64656E744C6566743A3238383B5D5D3E3C63206E723D342F
          3E20202020737479203A20545750546578745374796C653B3C2F6469763E0D0A
          3C6469762077707374793D5B5B496E64656E744C6566743A3238383B5D5D3E3C
          63206E723D342F3E20202020706F73203A20496E74656765723B3C2F6469763E
          0D0A3C6469762077707374793D5B5B496E64656E744C6566743A3238383B5D5D
          3E3C63206E723D342F3E202020207370616E6F626A5F6F70656E2C207370616E
          6F626A5F636C6F7365203A20545750546578744F626A3B3C2F6469763E0D0A3C
          6469762077707374793D5B5B496E64656E744C6566743A3238383B5D5D3E3C63
          206E723D342F3E202020206361203A2054575043686172417474723B3C2F6469
          763E0D0A3C6469762077707374793D5B5B496E64656E744C6566743A3238383B
          5D5D3E3C63206E723D332F3E626567696E3C2F6469763E0D0A3C646976207770
          7374793D5B5B496E64656E744C6566743A3238383B5D5D3E3C63206E723D342F

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -