LibreOffice Module l10ntools (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | Friends | List of all members
MergeEntrys Class Reference

Purpose: holds information of data to merge. More...

#include <export.hxx>

Public Member Functions

 MergeEntrys ()
 
void InsertEntry (const OString &rId, const OString &rText, const OString &rQuickHelpText, const OString &rTitle)
 
bool GetText (OString &rReturn, const OString &nLangIndex, bool bDel=false)
 

Static Public Member Functions

static OString GetQTZText (const ResData &rResData, std::string_view rOrigText)
 Generate QTZ string with ResData For executable which works one language and without PO files. More...
 

Private Attributes

OStringHashMap sText
 
OStringBoolHashMap bTextFirst
 
OStringHashMap sQuickHelpText
 
OStringBoolHashMap bQuickHelpTextFirst
 
OStringHashMap sTitle
 
OStringBoolHashMap bTitleFirst
 

Friends

class MergeDataFile
 

Detailed Description

Purpose: holds information of data to merge.

Definition at line 76 of file export.hxx.

Constructor & Destructor Documentation

◆ MergeEntrys()

MergeEntrys::MergeEntrys ( )
inline

Definition at line 88 of file export.hxx.

Member Function Documentation

◆ GetQTZText()

OString MergeEntrys::GetQTZText ( const ResData rResData,
std::string_view  rOrigText 
)
static

Generate QTZ string with ResData For executable which works one language and without PO files.

Definition at line 109 of file merge.cxx.

References PoEntry::genKeyId(), ResData::sFilename, ResData::sGId, ResData::sId, and ResData::sResTyp.

Referenced by PropParser::Merge(), and HelpParser::ProcessHelp().

◆ GetText()

bool MergeEntrys::GetText ( OString &  rReturn,
const OString &  nLangIndex,
bool  bDel = false 
)

◆ InsertEntry()

void MergeEntrys::InsertEntry ( const OString &  rId,
const OString &  rText,
const OString &  rQuickHelpText,
const OString &  rTitle 
)
inline

Definition at line 89 of file export.hxx.

References bQuickHelpTextFirst, bTextFirst, bTitleFirst, sQuickHelpText, sText, and sTitle.

Referenced by MergeDataFile::InsertEntry().

Friends And Related Function Documentation

◆ MergeDataFile

friend class MergeDataFile
friend

Definition at line 78 of file export.hxx.

Member Data Documentation

◆ bQuickHelpTextFirst

OStringBoolHashMap MergeEntrys::bQuickHelpTextFirst
private

Definition at line 83 of file export.hxx.

Referenced by InsertEntry().

◆ bTextFirst

OStringBoolHashMap MergeEntrys::bTextFirst
private

Definition at line 81 of file export.hxx.

Referenced by GetText(), and InsertEntry().

◆ bTitleFirst

OStringBoolHashMap MergeEntrys::bTitleFirst
private

Definition at line 85 of file export.hxx.

Referenced by InsertEntry().

◆ sQuickHelpText

OStringHashMap MergeEntrys::sQuickHelpText
private

Definition at line 82 of file export.hxx.

Referenced by InsertEntry().

◆ sText

OStringHashMap MergeEntrys::sText
private

Definition at line 80 of file export.hxx.

Referenced by GetText(), and InsertEntry().

◆ sTitle

OStringHashMap MergeEntrys::sTitle
private

Definition at line 84 of file export.hxx.

Referenced by InsertEntry().


The documentation for this class was generated from the following files: