while ( nCount >= 1 )
{
aObject.removeSegment();
OUString aParentURL(aObject.GetMainURL(INetURLObject::DecodeMechanism::NONE));
OUString aTitle;
if (nCount == 1) // adjust the title of the top level entry (the workspace)
aTitle = SvlResId(STR_SVT_MIMETYPE_CNT_FSYSBOX); elseif (!m_pDlg->ContentGetTitle(aParentURL, aTitle) || aTitle.isEmpty())
aTitle = aObject.getName();
OUString aImage = ( nCount > 1 ) // if nCount == 1 means workplace, which detects the wrong image
? SvFileInformationManager::GetImageId( aObject ) : aVolumeImage;
void SvtExpFileDlg_Impl::InsertFilterListEntry(const SvtFileDialogFilter_Impl* pFilterDesc)
{ // insert and set user data
OUString sId(weld::toId(pFilterDesc)); const OUString& sName = pFilterDesc->GetName(); if (pFilterDesc->isGroupSeparator())
m_xLbFilter->append_separator(sId); else
m_xLbFilter->append(sId, sName);
}
void SvtExpFileDlg_Impl::InitFilterList( )
{ // clear the current list
m_xLbFilter->clear();
// reinit it
sal_uInt16 nPos = m_aFilter.size();
// search for the first entry which is no group separator while ( nPos-- && m_aFilter[ nPos ]->isGroupSeparator() )
;
// add all following entries while ( static_cast<sal_Int16>(nPos) >= 0 )
InsertFilterListEntry( m_aFilter[ nPos-- ].get() );
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.