Lines Matching refs:pLine
1673 …:CustomPropertiesDurationField( Window* pParent, const ResId& rResId, CustomPropertyLine* pLine ) : in CustomPropertiesDurationField() argument
1674 Edit( pParent, rResId ), m_pLine( pLine ) in CustomPropertiesDurationField()
1720 …on::CustomPropertiesEditButton( Window* pParent, const ResId& rResId, CustomPropertyLine* pLine ) : in CustomPropertiesEditButton() argument
1721 PushButton( pParent, rResId ), m_pLine( pLine ) in CustomPropertiesEditButton()
1836 CustomPropertyLine* pLine = pBox->GetLine(); in IMPL_LINK() local
1837 pLine->m_aValueEdit.Show( (CUSTOM_TYPE_TEXT == nType) || (CUSTOM_TYPE_NUMBER == nType) ); in IMPL_LINK()
1838 pLine->m_aDateField.Show( (CUSTOM_TYPE_DATE == nType) || (CUSTOM_TYPE_DATETIME == nType) ); in IMPL_LINK()
1839 pLine->m_aTimeField.Show( CUSTOM_TYPE_DATETIME == nType ); in IMPL_LINK()
1840 pLine->m_aDurationField.Show( CUSTOM_TYPE_DURATION == nType ); in IMPL_LINK()
1841 pLine->m_aEditButton.Show( CUSTOM_TYPE_DURATION == nType ); in IMPL_LINK()
1842 pLine->m_aYesNoButton.Show( CUSTOM_TYPE_BOOLEAN == nType ); in IMPL_LINK()
1846 …pLine->m_aDateField.SetPosSizePixel(pLine->m_aValueEdit.GetPosPixel(), pLine->m_aValueEdit.GetSize… in IMPL_LINK()
1850 const long nPosY( pLine->m_aDateField.GetPosPixel().Y() ); in IMPL_LINK()
1851 pLine->m_aDateField.SetPosPixel( ::Point( m_nDatePosX, nPosY ) ); in IMPL_LINK()
1852 pLine->m_aTimeField.SetPosPixel( ::Point( m_nTimePosX, nPosY ) ); in IMPL_LINK()
1860 CustomPropertyLine* pLine = pButton->GetLine(); in IMPL_LINK() local
1862 std::find( m_aCustomPropertiesLines.begin(), m_aCustomPropertiesLines.end(), pLine ); in IMPL_LINK()
1865 pLine = *pFound; in IMPL_LINK()
1866 pLine->SetRemoved(); in IMPL_LINK()
1871 pLine = *pIter; in IMPL_LINK()
1872 if ( pLine->m_bIsRemoved ) in IMPL_LINK()
1875 Window* pWindows[] = { &pLine->m_aNameBox, in IMPL_LINK()
1876 &pLine->m_aTypeBox, in IMPL_LINK()
1877 &pLine->m_aValueEdit, in IMPL_LINK()
1878 &pLine->m_aDateField, in IMPL_LINK()
1879 &pLine->m_aTimeField, in IMPL_LINK()
1880 &pLine->m_aDurationField, in IMPL_LINK()
1881 &pLine->m_aEditButton, in IMPL_LINK()
1882 &pLine->m_aYesNoButton, in IMPL_LINK()
1883 &pLine->m_aRemoveButton, NULL }; in IMPL_LINK()
1903 CustomPropertyLine* pLine = pEdit->GetLine(); in IMPL_LINK() local
1904 if ( !pLine->m_bTypeLostFocus ) in IMPL_LINK()
1906 m_pCurrentLine = pLine; in IMPL_LINK()
1910 pLine->m_bTypeLostFocus = false; in IMPL_LINK()
1938 bool CustomPropertiesWindow::IsLineValid( CustomPropertyLine* pLine ) const in IsLineValid()
1941 pLine->m_bTypeLostFocus = false; in IsLineValid()
1943 (long)pLine->m_aTypeBox.GetEntryData( pLine->m_aTypeBox.GetSelectEntryPos() ) ); in IsLineValid()
1944 String sValue = pLine->m_aValueEdit.GetText(); in IsLineValid()
1970 void CustomPropertiesWindow::ValidateLine( CustomPropertyLine* pLine, bool bIsFromTypeBox ) in ValidateLine() argument
1972 if ( !IsLineValid( pLine ) ) in ValidateLine()
1975 pLine->m_bTypeLostFocus = true; in ValidateLine()
1978 pLine->m_aTypeBox.SelectEntryPos( m_aTypeBox.GetEntryPos( (void*)CUSTOM_TYPE_TEXT ) ); in ValidateLine()
1980 pLine->m_aValueEdit.GrabFocus(); in ValidateLine()
2063 CustomPropertyLine* pLine = *pIter; in GetVisibleLineCount() local
2064 if ( !pLine->m_bIsRemoved ) in GetVisibleLineCount()
2180 CustomPropertyLine* pLine = *pIter; in AreAllLinesValid() local
2181 if ( !IsLineValid( pLine ) ) in AreAllLinesValid()
2197 CustomPropertyLine* pLine = *pIter; in ClearAllLines() local
2198 pLine->SetRemoved(); in ClearAllLines()
2199 delete pLine; in ClearAllLines()
2212 CustomPropertyLine* pLine = *pIter; in DoScroll() local
2213 if ( pLine->m_bIsRemoved ) in DoScroll()
2216 Window* pWindows[] = { &pLine->m_aNameBox, in DoScroll()
2217 &pLine->m_aTypeBox, in DoScroll()
2218 &pLine->m_aValueEdit, in DoScroll()
2219 &pLine->m_aDurationField, in DoScroll()
2220 &pLine->m_aEditButton, in DoScroll()
2221 &pLine->m_aDateField, in DoScroll()
2222 &pLine->m_aTimeField, in DoScroll()
2223 &pLine->m_aYesNoButton, in DoScroll()
2224 &pLine->m_aRemoveButton, NULL }; in DoScroll()
2243 CustomPropertyLine* pLine = *pIter; in DoesCustomPropertyExist() local
2244 if ( !pLine->m_bIsRemoved && pLine->m_aNameBox.GetText() == rName ) in DoesCustomPropertyExist()
2262 CustomPropertyLine* pLine = *pIter; in GetCustomProperties() local
2263 if ( pLine->m_bIsRemoved ) in GetCustomProperties()
2266 String sPropertyName = pLine->m_aNameBox.GetText(); in GetCustomProperties()
2271 (long)pLine->m_aTypeBox.GetEntryData( pLine->m_aTypeBox.GetSelectEntryPos() ) ); in GetCustomProperties()
2278 IsNumberFormat( pLine->m_aValueEdit.GetText(), nIndex, nValue ); in GetCustomProperties()
2284 bool bValue = pLine->m_aYesNoButton.IsYesChecked(); in GetCustomProperties()
2289 Date aTmpDate = pLine->m_aDateField.GetDate(); in GetCustomProperties()
2290 Time aTmpTime = pLine->m_aTimeField.GetTime(); in GetCustomProperties()
2297 aPropertiesSeq[i].Value <<= pLine->m_aDurationField.GetDuration(); in GetCustomProperties()
2301 Date aTmpDate = pLine->m_aDateField.GetDate(); in GetCustomProperties()
2308 ::rtl::OUString sValue( pLine->m_aValueEdit.GetText() ); in GetCustomProperties()