Lines Matching refs:pResData
561 ResData *pResData = NULL; in Execute() local
564 pResData = aResStack.GetObject( nLevel-1 ); in Execute()
602 MergeRest( pResData ); in Execute()
687 pResData = new ResData( sActPForm, FullId() , sFilename ); in Execute()
688 aResStack.Insert( pResData, LIST_APPEND ); in Execute()
696 pResData->sResTyp = sT.ToLowerAscii(); in Execute()
697 ByteString sId( sToken.Copy( pResData->sResTyp.Len() + 1 )); in Execute()
708 pResData->SetId( sId, ID_LEVEL_IDENTIFIER ); in Execute()
729 pResData = new ResData( sActPForm, FullId() , sFilename ); in Execute()
730 aResStack.Insert( pResData, LIST_APPEND ); in Execute()
737 pResData->sResTyp = sToken.ToLowerAscii(); in Execute()
749 if ( pResData ) in Execute()
770 WriteData( pResData ); in Execute()
781 MergeRest( pResData, MERGE_MODE_LIST ); in Execute()
799 pResData->SetId( sId.EraseAllChars( ' ' ), ID_LEVEL_IDENTIFIER ); in Execute()
802 pResData->sHelpId = sValue; in Execute()
809 pResData->bList = sal_True; in Execute()
820 pResData->bList = sal_True; in Execute()
830 pResData->bList = sal_True; in Execute()
865 pResData->bList = sal_True; in Execute()
873 pResData->bList = sal_True; in Execute()
882 pResData->bList = sal_True; in Execute()
891 pResData->bList = sal_True; in Execute()
899 pResData->bList = sal_True; in Execute()
955 PrepareTextToMerge( sOrig, nList, nListLang, pResData ); in Execute()
993 pResData->SetId( sText, ID_LEVEL_TEXT ); in Execute()
995 pResData->bText = sal_True; in Execute()
996 pResData->sTextTyp = sOrigKey; in Execute()
998 PrepareTextToMerge( sOrig, STRING_TYP_TEXT, nLangIndex, pResData ); in Execute()
1003 if ( pResData->sText[ nLangIndex ].Len()) { in Execute()
1008 pResData->sText[ nLangIndex ] = sText; in Execute()
1016 pResData->bHelpText = sal_True; in Execute()
1024 PrepareTextToMerge( sOrig, STRING_TYP_HELPTEXT, nLangIndex, pResData ); in Execute()
1028 if ( pResData->sHelpText[ nLangIndex ].Len()) { in Execute()
1033 pResData->sHelpText[ nLangIndex ] = sText; in Execute()
1041 pResData->bQuickHelpText = sal_True; in Execute()
1043 PrepareTextToMerge( sOrig, STRING_TYP_QUICKHELPTEXT, nLangIndex, pResData ); in Execute()
1047 if ( pResData->sQuickHelpText[ nLangIndex ].Len()) { in Execute()
1052 pResData->sQuickHelpText[ nLangIndex ] = sText; in Execute()
1060 pResData->bTitle = sal_True; in Execute()
1062 PrepareTextToMerge( sOrig, STRING_TYP_TITLE, nLangIndex, pResData ); in Execute()
1066 if ( pResData->sTitle[ nLangIndex ].Len()) { in Execute()
1071 pResData->sTitle[ nLangIndex ] = sText; in Execute()
1075 pResData->SetId( sText, ID_LEVEL_ACCESSPATH ); in Execute()
1078 pResData->SetId( sText, ID_LEVEL_FIELDNAME ); in Execute()
1106 pResData->nWidth = ( sal_uInt16 ) sMapping.GetToken( 0, ',' ).ToInt64(); in Execute()
1109 pResData->nWidth = ( sal_uInt16 ) sMapping.GetToken( 2, ',' ).ToInt64(); in Execute()
1146 WriteData( pResData, sal_True ); in Execute()
1147 pResData->sPForm = sActPForm; in Execute()
1264 sal_Bool Export::ListExists( ResData *pResData, sal_uInt16 nLst ) in ListExists() argument
1268 case LIST_STRING: return pResData->pStringList != NULL; in ListExists()
1269 case LIST_FILTER: return pResData->pFilterList != NULL; in ListExists()
1270 case LIST_ITEM: return pResData->pItemList != NULL; in ListExists()
1271 case LIST_PAIRED: return pResData->pPairedList != NULL; in ListExists()
1272 case LIST_UIENTRIES: return pResData->pUIEntries != NULL; in ListExists()
1278 sal_Bool Export::WriteData( ResData *pResData, sal_Bool bCreateNew ) in WriteData() argument
1282 MergeRest( pResData ); in WriteData()
1298 ( pResData->sText[ SOURCE_LANGUAGE ].Len())) in WriteData()
1301 …( pResData->sHelpText[ SOURCE_LANGUAGE ].Len())) … in WriteData()
1304 ( pResData->sQuickHelpText[ SOURCE_LANGUAGE ].Len())) in WriteData()
1307 ( pResData->sTitle[ SOURCE_LANGUAGE ].Len()))) in WriteData()
1310 FillInFallbacks( pResData ); in WriteData()
1312 ByteString sGID = pResData->sGId; in WriteData()
1315 sGID = pResData->sId; in WriteData()
1317 sLID = pResData->sId; in WriteData()
1330 if ( pResData->sText[ sCur ].Len()) in WriteData()
1331 sXText = pResData->sText[ sCur ]; in WriteData()
1333 sXText = pResData->sText[ SOURCE_LANGUAGE ]; in WriteData()
1340 if ( pResData->sHelpText[ sCur ].Len()) in WriteData()
1341 sXHText = pResData->sHelpText[ sCur ]; in WriteData()
1343 sXHText = pResData->sHelpText[ SOURCE_LANGUAGE ]; in WriteData()
1350 if ( pResData->sQuickHelpText[ sCur ].Len()) in WriteData()
1351 sXQHText = pResData->sQuickHelpText[ sCur ]; in WriteData()
1353 sXQHText = pResData->sQuickHelpText[ SOURCE_LANGUAGE ]; in WriteData()
1360 if ( pResData->sTitle[ sCur ].Len()) in WriteData()
1361 sXTitle = pResData->sTitle[ sCur ]; in WriteData()
1363 sXTitle = pResData->sTitle[ SOURCE_LANGUAGE ]; in WriteData()
1376 if ( pResData->sHelpText[ SOURCE_LANGUAGE ].Len()) in WriteData()
1377 sXHText = pResData->sHelpText[ SOURCE_LANGUAGE ]; in WriteData()
1383 sXText = pResData->sText[ sCur ]; in WriteData()
1390 sOutput += pResData->sResTyp; sOutput += "\t"; in WriteData()
1393 sOutput += pResData->sHelpId; sOutput += "\t"; in WriteData()
1394 sOutput += pResData->sPForm; sOutput += "\t"; in WriteData()
1395 sOutput += ByteString::CreateFromInt64( pResData->nWidth ); sOutput += "\t"; in WriteData()
1410 pResData->sText[ sCur ] = ""; in WriteData()
1411 pResData->sHelpText[ sCur ] = ""; in WriteData()
1412 pResData->sQuickHelpText[ sCur ]= ""; in WriteData()
1413 pResData->sTitle[ sCur ] = ""; in WriteData()
1417 FillInFallbacks( pResData ); in WriteData()
1418 if ( pResData->pStringList ) { in WriteData()
1420 WriteExportList( pResData, pResData->pStringList, sList, bCreateNew ); in WriteData()
1422 pResData->pStringList = 0; in WriteData()
1424 if ( pResData->pFilterList ) { in WriteData()
1426 WriteExportList( pResData, pResData->pFilterList, sList, bCreateNew ); in WriteData()
1428 pResData->pFilterList = 0; in WriteData()
1430 if ( pResData->pItemList ) { in WriteData()
1432 WriteExportList( pResData, pResData->pItemList, sList, bCreateNew ); in WriteData()
1434 pResData->pItemList = 0; in WriteData()
1436 if ( pResData->pPairedList ) { in WriteData()
1438 WriteExportList( pResData, pResData->pPairedList, sList, bCreateNew ); in WriteData()
1440 pResData->pItemList = 0; in WriteData()
1442 if ( pResData->pUIEntries ) { in WriteData()
1444 WriteExportList( pResData, pResData->pUIEntries, sList, bCreateNew ); in WriteData()
1446 pResData->pUIEntries = 0; in WriteData()
1476 sal_Bool Export::WriteExportList( ResData *pResData, ExportList *pExportList, in WriteExportList() argument
1480 ByteString sGID = pResData->sGId; in WriteExportList()
1482 sGID = pResData->sId; in WriteExportList()
1485 sGID += pResData->sId; in WriteExportList()
1536 sOutput += pResData->sPForm; sOutput += "\t0\t"; in WriteExportList()
1586 ResData *pResData = aResStack.GetObject( nLevel-1 ); in InsertListEntry() local
1590 pList = pResData->pStringList; in InsertListEntry()
1592 pResData->pStringList = new ExportList(); in InsertListEntry()
1593 pList = pResData->pStringList; in InsertListEntry()
1598 pList = pResData->pFilterList; in InsertListEntry()
1600 pResData->pFilterList = new ExportList(); in InsertListEntry()
1601 pList = pResData->pFilterList; in InsertListEntry()
1606 pList = pResData->pItemList; in InsertListEntry()
1608 pResData->pItemList = new ExportList(); in InsertListEntry()
1609 pList = pResData->pItemList; in InsertListEntry()
1614 pList = pResData->pPairedList; in InsertListEntry()
1616 pResData->pPairedList = new ExportList(); in InsertListEntry()
1617 pList = pResData->pPairedList; in InsertListEntry()
1622 pList = pResData->pUIEntries; in InsertListEntry()
1624 pResData->pUIEntries = new ExportList(); in InsertListEntry()
1625 pList = pResData->pUIEntries; in InsertListEntry()
1650 …ByteString sKey = MergeDataFile::CreateKey( sPlist , pResData->sId , GetPairedListID( rLine ) , sF… in InsertListEntry()
1651 pResData->addFallbackData( sKey , rText ); in InsertListEntry()
1656 ByteString a( pResData->sGId ); in InsertListEntry()
1658 a.Append( pResData->sId ); in InsertListEntry()
1662 pResData->addFallbackData( sKey , rText ); in InsertListEntry()
1900 ByteString &nLangIndex, ResData *pResData ) in PrepareTextToMerge() argument
1906 ByteString sOldId = pResData->sId; in PrepareTextToMerge()
1907 ByteString sOldGId = pResData->sGId; in PrepareTextToMerge()
1908 ByteString sOldTyp = pResData->sResTyp; in PrepareTextToMerge()
1925 pResData->sResTyp = "stringlist"; in PrepareTextToMerge()
1926 pList = pResData->pStringList; in PrepareTextToMerge()
1930 pResData->sResTyp = "uientries"; in PrepareTextToMerge()
1931 pList = pResData->pUIEntries; in PrepareTextToMerge()
1935 pResData->sResTyp = "filterlist"; in PrepareTextToMerge()
1936 pList = pResData->pFilterList; in PrepareTextToMerge()
1940 pResData->sResTyp = "itemlist"; in PrepareTextToMerge()
1941 pList = pResData->pItemList; in PrepareTextToMerge()
1945 pResData->sResTyp = "pairedlist"; in PrepareTextToMerge()
1946 pList = pResData->pPairedList; in PrepareTextToMerge()
1959 pResData->addMergedLanguage( nLangIndex ); in PrepareTextToMerge()
1989 if ( pResData->sResTyp.EqualsIgnoreCaseAscii( "pairedlist" ) ){ in PrepareTextToMerge()
1990 pResData->sId = GetPairedListID( sLastListLine ); in PrepareTextToMerge()
1992 else pResData->sId = ByteString::CreateFromInt32( nListIndex ); in PrepareTextToMerge()
1994 if ( pResData->sGId.Len()) in PrepareTextToMerge()
1995 pResData->sGId += "."; in PrepareTextToMerge()
1996 pResData->sGId += sOldId; in PrepareTextToMerge()
2070 PFormEntrys *pEntrys = pMergeDataFile->GetPFormEntrys( pResData ); in PrepareTextToMerge()
2073 pResData->sId = sOldId; in PrepareTextToMerge()
2074 pResData->sGId = sOldGId; in PrepareTextToMerge()
2075 pResData->sResTyp = sOldTyp; in PrepareTextToMerge()
2112 void Export::MergeRest( ResData *pResData, sal_uInt16 nMode ) in MergeRest() argument
2131 PFormEntrys *pEntry = pMergeDataFile->GetPFormEntrys( pResData ); in MergeRest()
2134 if ( pEntry && pResData->bText ) { in MergeRest()
2156 sOutput += pResData->sTextTyp; in MergeRest()
2189 if ( pEntry && pResData->bQuickHelpText ) { in MergeRest()
2236 if ( pEntry && pResData->bTitle ) { in MergeRest()
2284 if ( pResData->bList ) { in MergeRest()
2289 ByteString sOldId = pResData->sId; in MergeRest()
2290 ByteString sOldGId = pResData->sGId; in MergeRest()
2291 ByteString sOldTyp = pResData->sResTyp; in MergeRest()
2292 if ( pResData->sGId.Len()) in MergeRest()
2293 pResData->sGId += "."; in MergeRest()
2294 pResData->sGId += sOldId; in MergeRest()
2301 …case LIST_STRING : pResData->sResTyp = "stringlist"; pList = pResData->pStringList; bPairedList = … in MergeRest()
2302 …case LIST_FILTER : pResData->sResTyp = "filterlist"; pList = pResData->pFilterList; bPairedList = … in MergeRest()
2303 …case LIST_UIENTRIES : pResData->sResTyp = "uientries"; pList = pResData->pUIEntries;bPairedList = … in MergeRest()
2304 …case LIST_ITEM : pResData->sResTyp = "itemlist"; pList = pResData->pItemList; bPairedList = … in MergeRest()
2305 …case LIST_PAIRED : pResData->sResTyp = "pairedlist"; pList = pResData->pPairedList; bPairedList = … in MergeRest()
2313 if( bPairedList && pResData->pPairedList && ( nIdx == 1 ) ){ in MergeRest()
2314 ExportListEntry* pListE = ( ExportListEntry* ) pResData->pPairedList->GetObject( nIdx-1 ); in MergeRest()
2315 pResData->sId = GetPairedListID ( (*pListE)[ SOURCE_LANGUAGE ] ); in MergeRest()
2318 pResData->sId = ByteString("1"); in MergeRest()
2325 pEntrys = pMergeDataFile->GetPFormEntrys( pResData ); in MergeRest()
2337 if( pResData->isMerged( sCur ) ) break; in MergeRest()
2339 … ByteString sKey = MergeDataFile::CreateKey( sPlist , pResData->sGId , pResData->sId , sFilename ); in MergeRest()
2340 bText = pResData->getFallbackData( sKey , sText ); in MergeRest()
2342 if( pResData->isMerged( sCur ) ) break; in MergeRest()
2344 … ByteString sKey = MergeDataFile::CreateKey( sPlist , pResData->sGId , pResData->sId , sFilename ); in MergeRest()
2345 bText = pResData->getFallbackData( sKey , sText ); in MergeRest()
2431 … ExportListEntry* pListE = ( ExportListEntry* ) pResData->pPairedList->GetObject( ( nIdx ) -1 ); in MergeRest()
2433 pResData->sId = GetPairedListID ( (*pListE)[ SOURCE_LANGUAGE ] ); in MergeRest()
2437 pResData->sId = ByteString::CreateFromInt32( ++nIdx ); in MergeRest()
2443 pEntrys = pMergeDataFile->GetPFormEntrys( pResData ); // <--- game over in MergeRest()
2460 pResData->sId = sOldId; in MergeRest()
2461 pResData->sGId = sOldGId; in MergeRest()
2462 pResData->sResTyp = sOldTyp; in MergeRest()
2470 case LIST_STRING : pList = pResData->pStringList; break; in MergeRest()
2471 case LIST_FILTER : pList = pResData->pFilterList; break; in MergeRest()
2472 case LIST_UIENTRIES : pList = pResData->pUIEntries; break; in MergeRest()
2473 case LIST_ITEM : pList = pResData->pItemList; break; in MergeRest()
2474 case LIST_PAIRED : pList = pResData->pPairedList; break; in MergeRest()
2499 while( PrepareTextToMerge( sLine, nList, nListLang, pResData ) && ( nListIndex <= nMaxIndex )) { in MergeRest()