Lines Matching refs:pWidget
40 CXFA_FFWidget* XFA_ThemeGetOuterWidget(CFWL_Widget* pWidget) { in XFA_ThemeGetOuterWidget() argument
41 CFWL_Widget* pOuter = pWidget; in XFA_ThemeGetOuterWidget()
91 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams->m_pWidget); in DrawText() local
92 if (!pWidget) in DrawText()
124 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams->m_pWidget); in DrawText() local
125 if (!pWidget) in DrawText()
128 CXFA_Node* pNode = pWidget->GetNode(); in DrawText()
136 m_pTextOut->SetFont(pNode->GetWidgetAcc()->GetFDEFont(pWidget->GetDoc())); in DrawText()
151 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pThemePart->m_pWidget); in GetUIMargin() local
152 if (!pWidget) in GetUIMargin()
155 CXFA_LayoutItem* pItem = pWidget; in GetUIMargin()
156 CXFA_WidgetAcc* pWidgetAcc = pWidget->GetNode()->GetWidgetAcc(); in GetUIMargin()
185 if (CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pThemePart->m_pWidget)) in GetFontSize() local
186 return pWidget->GetNode()->GetFontSize(); in GetFontSize()
192 if (CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pThemePart->m_pWidget)) in GetFont() local
193 return pWidget->GetNode()->GetWidgetAcc()->GetFDEFont(pWidget->GetDoc()); in GetFont()
198 if (CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pThemePart->m_pWidget)) in GetLineHeight() local
199 return pWidget->GetNode()->GetLineHeight(); in GetLineHeight()
208 if (CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pThemePart->m_pWidget)) in GetTextColor() local
209 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()
227 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams->m_pWidget); in CalcTextRect() local
228 if (!pWidget || !pParams || !m_pTextOut) in CalcTextRect()
239 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams->m_pWidget); in CalcTextRect() local
240 if (!pWidget) in CalcTextRect()
243 CXFA_Node* pNode = pWidget->GetNode(); in CalcTextRect()
244 m_pTextOut->SetFont(pNode->GetWidgetAcc()->GetFDEFont(pWidget->GetDoc())); in CalcTextRect()
255 CFWL_WidgetTP* CXFA_FWLTheme::GetTheme(CFWL_Widget* pWidget) const { in GetTheme()
256 switch (pWidget->GetClassID()) { in GetTheme()