tree: 57208c283c6e60ecf0a2b8e23f7773406fe9249f [path history] [tgz]
  1. BUILD.gn
  2. README.md
  3. cpwl_button.cpp
  4. cpwl_button.h
  5. cpwl_caret.cpp
  6. cpwl_caret.h
  7. cpwl_cbbutton.cpp
  8. cpwl_cbbutton.h
  9. cpwl_cblistbox.cpp
  10. cpwl_cblistbox.h
  11. cpwl_combo_box.cpp
  12. cpwl_combo_box.h
  13. cpwl_combo_box_embeddertest.cpp
  14. cpwl_edit.cpp
  15. cpwl_edit.h
  16. cpwl_edit_embeddertest.cpp
  17. cpwl_edit_impl.cpp
  18. cpwl_edit_impl.h
  19. cpwl_list_box.cpp
  20. cpwl_list_box.h
  21. cpwl_list_ctrl.cpp
  22. cpwl_list_ctrl.h
  23. cpwl_sbbutton.cpp
  24. cpwl_sbbutton.h
  25. cpwl_scroll_bar.cpp
  26. cpwl_scroll_bar.h
  27. cpwl_special_button.cpp
  28. cpwl_special_button.h
  29. cpwl_special_button_embeddertest.cpp
  30. cpwl_wnd.cpp
  31. cpwl_wnd.h
  32. ipwl_fillernotify.h
  33. ipwl_systemhandler.h
fpdfsdk/pwl/README.md

fpdfsdk/pwl is a Widget Library for AcroForms.

CPWL_Wnd is the base class that widget classes extend. The derived widget classes are controllers for each widget. The hierarchy is:

  • CPWL_Wnd
    • CPWL_Button
      • CPWL_CheckBox
      • CPWL_PushButton
      • CPWL_RadioButton
    • CPWL_Caret
    • CPWL_EditCtrl
      • CPWL_Edit
    • CPWL_ListBox
      • CPWL_CBListBox (combo box)
    • CPWL_ScrollBar

Widgets are rendered to Appearance Streams, with the case all centralized in CPDFSDK_AppStream.