LibreOffice Module sw (master) 1
|
#include <ascfldlg.hxx>
Public Member Functions | |
SwAsciiFilterDlg (weld::Window *pParent, SwDocShell &rDocSh, SvStream *pStream) | |
virtual | ~SwAsciiFilterDlg () override |
void | FillOptions (SwAsciiOptions &rOptions) |
Public Member Functions inherited from SfxDialogController | |
SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId) | |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | ChildWinDispose () |
virtual void | Close () |
virtual void | EndDialog (int nResponse) |
virtual bool | CloseOnHide () const |
Private Member Functions | |
DECL_LINK (CharSetSelHdl, weld::ComboBox &, void) | |
DECL_LINK (LineEndHdl, weld::Toggleable &, void) | |
void | SetCRLF (LineEnd eEnd) |
LineEnd | GetCRLF () const |
void | SetIncludeBOM (bool bIncludeBOM) |
bool | GetIncludeBOM () const |
void | UpdateIncludeBOMSensitiveState () |
Private Attributes | |
bool | m_bSaveLineStatus |
OUString | m_sExtraData |
std::unique_ptr< SvxTextEncodingBox > | m_xCharSetLB |
std::unique_ptr< weld::Label > | m_xFontFT |
std::unique_ptr< weld::ComboBox > | m_xFontLB |
std::unique_ptr< weld::Label > | m_xLanguageFT |
std::unique_ptr< SvxLanguageBox > | m_xLanguageLB |
std::unique_ptr< weld::RadioButton > | m_xCRLF_RB |
std::unique_ptr< weld::RadioButton > | m_xCR_RB |
std::unique_ptr< weld::RadioButton > | m_xLF_RB |
std::unique_ptr< weld::CheckButton > | m_xIncludeBOM_CB |
Definition at line 31 of file ascfldlg.hxx.
SwAsciiFilterDlg::SwAsciiFilterDlg | ( | weld::Window * | pParent, |
SwDocShell & | rDocSh, | ||
SvStream * | pStream | ||
) |
Definition at line 57 of file ascfldlg.cxx.
References aBuffer, VclPtr< class reference_type >::Create(), VclPtr< class reference_type >::disposeAndClear(), SvtViewOptions::Exists(), GetAppLanguage(), SwAsciiOptions::GetCharSet(), OutputDevice::GetDefaultFont(), SwDocShell::GetDoc(), vcl::Font::GetFamilyName(), SwAsciiOptions::GetFontName(), SvtLanguageOptions::GetI18NScriptTypeOfLanguage(), SwDoc::getIDocumentDeviceAccess(), SwAsciiOptions::GetIncludeBOM(), SfxItemSet::GetItemIfSet(), SfxMedium::GetItemSet(), SwAsciiOptions::GetLanguage(), SwLangHelper::GetLanguage(), SfxObjectShell::GetMedium(), SvtLinguConfig::GetOptions(), SwAsciiOptions::GetParaFlags(), SfxShell::GetPool(), IDocumentDeviceAccess::getPrinter(), SvtViewOptions::GetUserItem(), CntUnencodedStringItem::GetValue(), GetWhichOfScript(), i, LINEEND_CR, LINEEND_CRLF, LINEEND_LF, LINK, m_sExtraData, m_xCharSetLB, m_xCR_RB, m_xCRLF_RB, m_xDialog, m_xFontFT, m_xFontLB, m_xIncludeBOM_CB, m_xLanguageFT, m_xLanguageLB, m_xLF_RB, SvtLinguOptions::nDefaultLanguage, SvtLinguOptions::nDefaultLanguage_CJK, SvtLinguOptions::nDefaultLanguage_CTL, SvStream::ReadBytes(), SwAsciiOptions::ReadUserData(), RES_CHRATR_LANGUAGE(), MsLangId::resolveSystemLanguageByScriptType(), SvStream::Seek(), SetCRLF(), SwAsciiOptions::SetFontName(), SetIncludeBOM(), SwAsciiOptions::SetLanguage(), SwAsciiOptions::SetParaFlags(), SvStream::Tell(), u, and UpdateIncludeBOMSensitiveState().
|
overridevirtual |
Definition at line 266 of file ascfldlg.cxx.
References m_sExtraData, m_xDialog, and SvtViewOptions::SetUserItem().
|
private |
|
private |
void SwAsciiFilterDlg::FillOptions | ( | SwAsciiOptions & | rOptions | ) |
Definition at line 272 of file ascfldlg.cxx.
References GetCRLF(), GetIncludeBOM(), LANGUAGE_SYSTEM, m_sExtraData, m_xCharSetLB, m_xFontLB, m_xLanguageLB, SwAsciiOptions::SetCharSet(), SwAsciiOptions::SetFontName(), SwAsciiOptions::SetIncludeBOM(), SwAsciiOptions::SetLanguage(), SwAsciiOptions::SetParaFlags(), u, and SwAsciiOptions::WriteUserData().
|
private |
Definition at line 326 of file ascfldlg.cxx.
References LINEEND_CR, LINEEND_CRLF, LINEEND_LF, m_xCR_RB, and m_xLF_RB.
Referenced by FillOptions().
|
private |
Definition at line 343 of file ascfldlg.cxx.
References m_xIncludeBOM_CB, and TRISTATE_FALSE.
Referenced by FillOptions().
|
private |
Definition at line 310 of file ascfldlg.cxx.
References LINEEND_CR, LINEEND_CRLF, LINEEND_LF, m_xCR_RB, m_xCRLF_RB, and m_xLF_RB.
Referenced by SwAsciiFilterDlg().
|
private |
Definition at line 338 of file ascfldlg.cxx.
References m_xIncludeBOM_CB, TRISTATE_FALSE, and TRISTATE_TRUE.
Referenced by SwAsciiFilterDlg().
|
private |
Definition at line 348 of file ascfldlg.cxx.
References m_xCharSetLB, and m_xIncludeBOM_CB.
Referenced by SwAsciiFilterDlg().
|
private |
Definition at line 33 of file ascfldlg.hxx.
|
private |
Definition at line 34 of file ascfldlg.hxx.
Referenced by FillOptions(), SwAsciiFilterDlg(), and ~SwAsciiFilterDlg().
|
private |
Definition at line 36 of file ascfldlg.hxx.
Referenced by FillOptions(), SwAsciiFilterDlg(), and UpdateIncludeBOMSensitiveState().
|
private |
Definition at line 42 of file ascfldlg.hxx.
Referenced by GetCRLF(), SetCRLF(), and SwAsciiFilterDlg().
|
private |
Definition at line 41 of file ascfldlg.hxx.
Referenced by SetCRLF(), and SwAsciiFilterDlg().
|
private |
Definition at line 37 of file ascfldlg.hxx.
Referenced by SwAsciiFilterDlg().
|
private |
Definition at line 38 of file ascfldlg.hxx.
Referenced by FillOptions(), and SwAsciiFilterDlg().
|
private |
Definition at line 44 of file ascfldlg.hxx.
Referenced by GetIncludeBOM(), SetIncludeBOM(), SwAsciiFilterDlg(), and UpdateIncludeBOMSensitiveState().
|
private |
Definition at line 39 of file ascfldlg.hxx.
Referenced by SwAsciiFilterDlg().
|
private |
Definition at line 40 of file ascfldlg.hxx.
Referenced by FillOptions(), and SwAsciiFilterDlg().
|
private |
Definition at line 43 of file ascfldlg.hxx.
Referenced by GetCRLF(), SetCRLF(), and SwAsciiFilterDlg().