summaryrefslogtreecommitdiff
path: root/xfa/fxfa/README.md
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2017-09-13 12:33:24 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-09-13 16:46:01 +0000
commitb4a6948a97575b194d373e5801fe83d297cdc46f (patch)
tree80d0bea384a54b0f9016f8378aa71e22c4e7c97e /xfa/fxfa/README.md
parent06c6855258bf25246c46a1f628b8a8a8185029a7 (diff)
downloadpdfium-b4a6948a97575b194d373e5801fe83d297cdc46f.tar.xz
Add readme files to some directories.chromium/3215
Change-Id: I2a750c8e46b68dc4870e2dadd2ed3429008e1562 Reviewed-on: https://pdfium-review.googlesource.com/13551 Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fxfa/README.md')
-rw-r--r--xfa/fxfa/README.md46
1 files changed, 46 insertions, 0 deletions
diff --git a/xfa/fxfa/README.md b/xfa/fxfa/README.md
new file mode 100644
index 0000000000..b554ce0f43
--- /dev/null
+++ b/xfa/fxfa/README.md
@@ -0,0 +1,46 @@
+xfa/fxfa contains a set of CXFA_LayoutItems that model forms containing widgets.
+
+The main hierarchy in this directory are the form elements:
+
+* CXFA_LayoutItem
+ * CXFA_ContentLayoutItem
+ * CXFA_FFPageView
+ * CXFA_FFWidget
+ * CXFA_FFDraw
+ * CXFA_FFArc
+ * CXFA_FFImage
+ * CXFA_FFLine
+ * CXFA_FFRectangle
+ * CXFA_FFText
+ * CXFA_FFExclGroup
+ * CXFA_FFField
+ * CXFA_FFCheckButton
+ * CXFA_FFComboBox
+ * CXFA_FFImageEdit
+ * CXFA_FFListBox
+ * CXFA_FFPushButton
+ * CXFA_FFSignature
+ * CXFA_FFTextEdit
+ * CXFA_FFBarcode
+ * CXFA_FFDateTimeEdit
+ * CXFA_FFNumericEdit
+ * CXFA_FFPasswordEdit
+ * CXFA_FFSubform
+
+CXFA_FFDraw is the base class for static elements like text and images.
+
+CXFA_FFField is the base class for widgets. It owns a lower level CFWL widget
+instance from xfa/fwl. The correspondence is:
+
+* CXFA_FFCheckButton -> CFWL_CheckBox
+* CXFA_FFComboBox -> CFWL_ComboBox
+* CXFA_FFImageEdit -> CFWL_PictureBox
+* CXFA_FFListBox -> CFWL_ListBox
+* CXFA_FFPushButton -> CFWL_PushButton
+* CXFA_FFSignature -> none
+* CXFA_FFTextEdit -> CFWL_Edit
+ * CXFA_FFBarcode -> CFWL_Barcode
+ * CXFA_FFDateTimeEdit -> CFWL_DateTimePicker
+ * CXFA_FFNumericEdit -> CFWL_Edit
+ * CXFA_FFPasswordEdit > CFWL_Edit
+