void AP_Dialog_SplitCells::ConstructWindowName(void) { const XAP_StringSet * pSS = m_pApp->getStringSet(); gchar * tmp = NULL; UT_XML_cloneNoAmpersands(tmp, pSS->getValue(AP_STRING_ID_DLG_SplitCellsTitle)); BuildWindowName(static_cast<char *>(m_WindowName),static_cast<char*>(tmp),sizeof(m_WindowName)); FREEP(tmp); }
void AP_Dialog_FormatTable::ConstructWindowName(void) { const XAP_StringSet * pSS = XAP_App::getApp()->getStringSet(); gchar * tmp = NULL; UT_XML_cloneNoAmpersands(tmp, pSS->getValue(AP_STRING_ID_DLG_FormatTableTitle)); BuildWindowName(static_cast<char *>(m_WindowName),static_cast<char*>(tmp),sizeof(m_WindowName)); FREEP(tmp); }
void AP_Dialog_FormatFrame::ConstructWindowName(void) { const XAP_StringSet * pSS = m_pApp->getStringSet(); gchar * tmp = NULL; UT_uint32 title_width = 26; UT_XML_cloneNoAmpersands(tmp, pSS->getValue(AP_STRING_ID_DLG_FormatFrameTitle)); BuildWindowName(static_cast<char *>(m_WindowName),static_cast<char*>(tmp),title_width); FREEP(tmp); }
void AP_Dialog_Modeless::ConstructWindowName(void) { const XAP_StringSet * pSS = XAP_App::getApp()->getStringSet(); std::string s; pSS->getValueUTF8(getWindowTitleStringId(), s); s = UT_XML_cloneNoAmpersands( s ); m_WindowName = BuildWindowName( s.c_str() ); }
void XAP_Dialog_Insert_Symbol::ConstructWindowName() { const XAP_StringSet * pSS = m_pApp->getStringSet(); gchar * tmp = NULL; UT_UTF8String sTitle; pSS->getValueUTF8(XAP_STRING_ID_DLG_Insert_SymbolTitle,sTitle); UT_XML_cloneNoAmpersands(tmp, sTitle.utf8_str()); BuildWindowName((char *) m_WindowName,(char*)tmp,sizeof(m_WindowName)); FREEP(tmp); }
void AP_Dialog_Lists::ConstructWindowName(void) { const XAP_StringSet * pSS = m_pApp->getStringSet(); gchar * tmp = NULL; UT_uint32 title_width = 33; UT_UTF8String s; pSS->getValueUTF8(AP_STRING_ID_DLG_Lists_Title,s); UT_XML_cloneNoAmpersands(tmp, s.utf8_str()); BuildWindowName((char *) m_WindowName,(char*)tmp,title_width); FREEP(tmp); }