// transfer ownership of Medium
m_xLbTree->Fill( m_pDoc, m_pMedium, m_rName );
} else
{
m_xLbTree->InsertEntry(m_rName, BMP_DOC_TEXT);
}
m_xCbxMasters->set_active(true);
}
std::vector<OUString> SdInsertPagesObjsDlg::GetList( const sal_uInt16 nType )
{ // With Draw documents, we have to return NULL on selection of the document if( m_pMedium )
{ // to ensure that bookmarks are opened // (when the whole document is selected)
m_xLbTree->GetBookmarkDoc();
// If the document is selected (too) or nothing is selected, // the whole document is inserted (but not more!)
std::unique_ptr<weld::TreeIter> xIter(m_xLbTree->make_iterator()); if (!m_xLbTree->get_iter_first(*xIter) || m_xLbTree->is_selected(*xIter)) return std::vector<OUString>();
}
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.