tree: f6d322436ef9ba1ea893bef14ca554e800b66102 [path history] [tgz]
  1. BUILD.gn
  2. cpwl_button.cpp
  3. cpwl_button.h
  4. cpwl_caret.cpp
  5. cpwl_caret.h
  6. cpwl_cbbutton.cpp
  7. cpwl_cbbutton.h
  8. cpwl_cblistbox.cpp
  9. cpwl_cblistbox.h
  10. cpwl_combo_box.cpp
  11. cpwl_combo_box.h
  12. cpwl_combo_box_embeddertest.cpp
  13. cpwl_edit.cpp
  14. cpwl_edit.h
  15. cpwl_edit_ctrl.cpp
  16. cpwl_edit_ctrl.h
  17. cpwl_edit_embeddertest.cpp
  18. cpwl_edit_impl.cpp
  19. cpwl_edit_impl.h
  20. cpwl_icon.cpp
  21. cpwl_icon.h
  22. cpwl_list_box.cpp
  23. cpwl_list_box.h
  24. cpwl_list_ctrl.cpp
  25. cpwl_list_ctrl.h
  26. cpwl_scroll_bar.cpp
  27. cpwl_scroll_bar.h
  28. cpwl_special_button.cpp
  29. cpwl_special_button.h
  30. cpwl_special_button_embeddertest.cpp
  31. cpwl_wnd.cpp
  32. cpwl_wnd.h
  33. ipwl_fillernotify.h
  34. ipwl_systemhandler.h
  35. README.md
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_Icon
    • CPWL_ListBox
      • CPWL_CBListBox (combo box)
    • CPWL_ScrollBar

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