Lines Matching refs:pWidget
40 CXFA_FFWidget* XFA_ThemeGetOuterWidget(CFWL_Widget* pWidget) { in XFA_ThemeGetOuterWidget() argument
41 CFWL_Widget* pOuter = pWidget ? pWidget->GetOutmost() : nullptr; in XFA_ThemeGetOuterWidget()
96 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams.m_pWidget); in DrawText() local
97 if (!pWidget) in DrawText()
126 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams.m_pWidget); in DrawText() local
127 if (!pWidget) in DrawText()
130 CXFA_Node* pNode = pWidget->GetNode(); in DrawText()
135 m_pTextOut->SetFont(pNode->GetFDEFont(pWidget->GetDoc())); in DrawText()
149 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pThemePart.m_pWidget); in GetUIMargin() local
150 if (!pWidget) in GetUIMargin()
153 CXFA_ContentLayoutItem* pItem = pWidget->GetLayoutItem(); in GetUIMargin()
154 CXFA_Node* pNode = pWidget->GetNode(); in GetUIMargin()
183 if (CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pThemePart.m_pWidget)) in GetFontSize() local
184 return pWidget->GetNode()->GetFontSize(); in GetFontSize()
190 if (CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pThemePart.m_pWidget)) in GetFont() local
191 return pWidget->GetNode()->GetFDEFont(pWidget->GetDoc()); in GetFont()
196 if (CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pThemePart.m_pWidget)) in GetLineHeight() local
197 return pWidget->GetNode()->GetLineHeight(); in GetLineHeight()
207 if (CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pThemePart.m_pWidget)) in GetTextColor() local
208 return pWidget->GetNode()->GetTextColor(); in GetTextColor()
215 if (CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pThemePart.m_pWidget)) { in GetSpaceAboveBelow() local
216 CXFA_Para* para = pWidget->GetNode()->GetParaIfExists(); in GetSpaceAboveBelow()
230 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams.m_pWidget); in CalcTextRect() local
231 if (!pWidget) in CalcTextRect()
244 CXFA_Node* pNode = pWidget->GetNode(); in CalcTextRect()
245 m_pTextOut->SetFont(pNode->GetFDEFont(pWidget->GetDoc())); in CalcTextRect()
253 CFWL_WidgetTP* CXFA_FWLTheme::GetTheme(CFWL_Widget* pWidget) const { in GetTheme()
254 switch (pWidget->GetClassID()) { in GetTheme()