NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <objects/biblio/Auth_list.hpp>
#include <objects/biblio/Author.hpp>
#include <objects/biblio/Affil.hpp>
#include <objects/biblio/Cit_sub.hpp>
#include <objects/general/Person_id.hpp>
#include <objects/general/Name_std.hpp>
#include <objects/general/Date.hpp>
#include <objects/general/Date_std.hpp>
#include <objects/submit/Contact_info.hpp>
#include <objects/seq/Pubdesc.hpp>
#include <objects/pub/Pub.hpp>
#include <objects/pub/Pub_equiv.hpp>
#include <wx/listctrl.h>
#include <wx/msgdlg.h>
#include <wx/filedlg.h>
#include <wx/stattext.h>
#include "wx/imaglist.h"
#include <gui/utils/object_loader.hpp>
#include <gui/utils/execute_unit.hpp>
#include <gui/widgets/loaders/open_objects_dlg.hpp>
#include <gui/widgets/loaders/file_load_wizard.hpp>
#include <gui/widgets/wx/file_extensions.hpp>
#include <gui/widgets/wx/async_call.hpp>
#include <gui/packages/pkg_sequence_edit/submitblockdlg.hpp>
#include <gui/packages/pkg_sequence_edit/subprep_util.hpp>
Go to the source code of this file.
Go to the SVN repository for this file.
Macros | |
#define | NCBI_AuthorCompareFields(Field, Obj1, Obj2) |
Enumerations | |
enum | { ePageDate = 0 , ePageContact = 1 , ePageSequenceAuth = 2 , ePageAffil = 3 , ePageTitle = 4 , ePageManAuth = 5 } |
Functions | |
bool | s_Name_stdsSame (const objects::CName_std &p1, const objects::CName_std &p2) |
bool | s_AffilSame (const objects::CAffil &a1, const objects::CAffil &a2) |
bool | s_AuthorsSame (const objects::CAuthor &a1, const objects::CAuthor &a2) |
bool | s_AuthorListsSame (const objects::CAuth_list &list1, const objects::CAuth_list &list2) |
static bool | s_NamesNotSet (const objects::CAuth_list::TNames &names) |
bool | s_AuthorNameBlank (const objects::CAuthor &auth) |
bool | s_AuthListEmpty (const objects::CAuth_list::TNames &names) |
Variables | |
const string | kAllSubmitMissing = "Sequence authors, affiliation, and contact information is missing!" |
const string | kSequenceAuthorsMissing = "You must provide sequence authors." |
const string | kAffilMissing = "You must provide an affiliation." |
const string | kContactMissing = "You must provide a contact name." |
const string | kEmailMissing = "You must provide an email address." |
const string | kCityMissing = "You must provide a city in affiliation." |
const string | kCountryMissing = "You must provide a country in affiliation." |
const string | kAllCitGenMissing = "Manuscript title, authors, and affiliation is missing!" |
const string | kTitleMissing = "You must provide a manuscript title." |
const string | kManuscriptAuthorsMissing = "You must provide authors." |
const string | kInvalidEmail = "Email address is invalid." |
#define NCBI_AuthorCompareFields | ( | Field, | |
Obj1, | |||
Obj2 | |||
) |
Definition at line 178 of file submitblockdlg.cpp.
anonymous enum |
Enumerator | |
---|---|
ePageDate | |
ePageContact | |
ePageSequenceAuth | |
ePageAffil | |
ePageTitle | |
ePageManAuth |
Definition at line 788 of file submitblockdlg.cpp.
Definition at line 252 of file submitblockdlg.cpp.
References NStr::Equal().
Definition at line 669 of file submitblockdlg.cpp.
References NStr::IsBlank(), ITERATE, names, s_AuthorNameBlank(), and s_NamesNotSet().
Referenced by CSubmitBlockDlg::GetBlockProblems(), and CSubmitBlockDlg::GetCitGenProblems().
Definition at line 408 of file submitblockdlg.cpp.
References NStr::Equal(), and s_AuthorsSame().
Referenced by CSubmitBlockDlg::x_BuildPages().
Definition at line 611 of file submitblockdlg.cpp.
References NStr::IsBlank().
Referenced by s_AuthListEmpty(), CSubmitBlockDlg::x_CopyAuthors(), and CSubmitBlockDlg::x_CreateBlock().
Definition at line 382 of file submitblockdlg.cpp.
References NStr::Equal(), and s_Name_stdsSame().
Referenced by s_AuthorListsSame().
Definition at line 193 of file submitblockdlg.cpp.
References NStr::Equal(), and NStr::IsBlank().
Referenced by s_AuthorsSame().
Definition at line 595 of file submitblockdlg.cpp.
References e_not_set, and names.
Referenced by s_AuthListEmpty(), CSubmitBlockDlg::x_CopyAuthors(), and CSubmitBlockDlg::x_CreateBlock().
Definition at line 695 of file submitblockdlg.cpp.
Referenced by CSubmitBlockDlg::GetBlockProblems(), CSubmitBlockDlg::GetCitGenProblems(), and CSubmitBlockDlg::SetPageForError().
Definition at line 701 of file submitblockdlg.cpp.
Referenced by CSubmitBlockDlg::GetCitGenProblems(), and CSubmitBlockDlg::SetPageForError().
const string kAllSubmitMissing = "Sequence authors, affiliation, and contact information is missing!" |
Definition at line 693 of file submitblockdlg.cpp.
Referenced by CSubmitBlockDlg::GetBlockProblems(), and CSubmitBlockDlg::SetPageForError().
Definition at line 698 of file submitblockdlg.cpp.
Referenced by CSubmitBlockDlg::GetBlockProblems(), and CSubmitBlockDlg::SetPageForError().
Definition at line 696 of file submitblockdlg.cpp.
Referenced by CSubmitBlockDlg::GetBlockProblems(), and CSubmitBlockDlg::SetPageForError().
Definition at line 699 of file submitblockdlg.cpp.
Referenced by CSubmitBlockDlg::GetBlockProblems(), and CSubmitBlockDlg::SetPageForError().
Definition at line 697 of file submitblockdlg.cpp.
Referenced by CSubmitBlockDlg::GetBlockProblems(), and CSubmitBlockDlg::SetPageForError().
Definition at line 704 of file submitblockdlg.cpp.
Referenced by CSubmitBlockDlg::GetBlockProblems(), and CSubmitBlockDlg::SetPageForError().
Definition at line 703 of file submitblockdlg.cpp.
Referenced by CSubmitBlockDlg::GetCitGenProblems(), and CSubmitBlockDlg::SetPageForError().
Definition at line 694 of file submitblockdlg.cpp.
Referenced by CSubmitBlockDlg::GetBlockProblems(), and CSubmitBlockDlg::SetPageForError().
Definition at line 702 of file submitblockdlg.cpp.
Referenced by CSubmitBlockDlg::GetCitGenProblems(), and CSubmitBlockDlg::SetPageForError().