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()
1096 pResData->nWidth = ( sal_uInt16 ) sMapping.GetToken( 0, ',' ).ToInt64(); in Execute()
1099 pResData->nWidth = ( sal_uInt16 ) sMapping.GetToken( 2, ',' ).ToInt64(); in Execute()
1136 WriteData( pResData, sal_True ); in Execute()
1137 pResData->sPForm = sActPForm; in Execute()
1254 sal_Bool Export::ListExists( ResData *pResData, sal_uInt16 nLst ) in ListExists() argument
1258 case LIST_STRING: return pResData->pStringList != NULL; in ListExists()
1259 case LIST_FILTER: return pResData->pFilterList != NULL; in ListExists()
1260 case LIST_ITEM: return pResData->pItemList != NULL; in ListExists()
1261 case LIST_PAIRED: return pResData->pPairedList != NULL; in ListExists()
1262 case LIST_UIENTRIES: return pResData->pUIEntries != NULL; in ListExists()
1268 sal_Bool Export::WriteData( ResData *pResData, sal_Bool bCreateNew ) in WriteData() argument
1272 MergeRest( pResData ); in WriteData()
1288 ( pResData->sText[ SOURCE_LANGUAGE ].Len())) in WriteData()
1291 ( pResData->sHelpText[ SOURCE_LANGUAGE ].Len())) in WriteData()
1294 ( pResData->sQuickHelpText[ SOURCE_LANGUAGE ].Len())) in WriteData()
1297 ( pResData->sTitle[ SOURCE_LANGUAGE ].Len()))) in WriteData()
1300 FillInFallbacks( pResData ); in WriteData()
1302 ByteString sGID = pResData->sGId; in WriteData()
1305 sGID = pResData->sId; in WriteData()
1307 sLID = pResData->sId; in WriteData()
1320 if ( pResData->sText[ sCur ].Len()) in WriteData()
1321 sXText = pResData->sText[ sCur ]; in WriteData()
1323 sXText = pResData->sText[ SOURCE_LANGUAGE ]; in WriteData()
1330 if ( pResData->sHelpText[ sCur ].Len()) in WriteData()
1331 sXHText = pResData->sHelpText[ sCur ]; in WriteData()
1333 sXHText = pResData->sHelpText[ SOURCE_LANGUAGE ]; in WriteData()
1340 if ( pResData->sQuickHelpText[ sCur ].Len()) in WriteData()
1341 sXQHText = pResData->sQuickHelpText[ sCur ]; in WriteData()
1343 sXQHText = pResData->sQuickHelpText[ SOURCE_LANGUAGE ]; in WriteData()
1350 if ( pResData->sTitle[ sCur ].Len()) in WriteData()
1351 sXTitle = pResData->sTitle[ sCur ]; in WriteData()
1353 sXTitle = pResData->sTitle[ SOURCE_LANGUAGE ]; in WriteData()
1366 if ( pResData->sHelpText[ SOURCE_LANGUAGE ].Len()) in WriteData()
1367 sXHText = pResData->sHelpText[ SOURCE_LANGUAGE ]; in WriteData()
1373 sXText = pResData->sText[ sCur ]; in WriteData()
1380 sOutput += pResData->sResTyp; sOutput += "\t"; in WriteData()
1383 sOutput += pResData->sHelpId; sOutput += "\t"; in WriteData()
1384 sOutput += pResData->sPForm; sOutput += "\t"; in WriteData()
1385 sOutput += ByteString::CreateFromInt64( pResData->nWidth ); sOutput += "\t"; in WriteData()
1400 pResData->sText[ sCur ] = ""; in WriteData()
1401 pResData->sHelpText[ sCur ] = ""; in WriteData()
1402 pResData->sQuickHelpText[ sCur ]= ""; in WriteData()
1403 pResData->sTitle[ sCur ] = ""; in WriteData()
1407 FillInFallbacks( pResData ); in WriteData()
1408 if ( pResData->pStringList ) { in WriteData()
1410 WriteExportList( pResData, pResData->pStringList, sList, bCreateNew ); in WriteData()
1412 pResData->pStringList = 0; in WriteData()
1414 if ( pResData->pFilterList ) { in WriteData()
1416 WriteExportList( pResData, pResData->pFilterList, sList, bCreateNew ); in WriteData()
1418 pResData->pFilterList = 0; in WriteData()
1420 if ( pResData->pItemList ) { in WriteData()
1422 WriteExportList( pResData, pResData->pItemList, sList, bCreateNew ); in WriteData()
1424 pResData->pItemList = 0; in WriteData()
1426 if ( pResData->pPairedList ) { in WriteData()
1428 WriteExportList( pResData, pResData->pPairedList, sList, bCreateNew ); in WriteData()
1430 pResData->pItemList = 0; in WriteData()
1432 if ( pResData->pUIEntries ) { in WriteData()
1434 WriteExportList( pResData, pResData->pUIEntries, sList, bCreateNew ); in WriteData()
1436 pResData->pUIEntries = 0; in WriteData()
1466 sal_Bool Export::WriteExportList( ResData *pResData, ExportList *pExportList, in WriteExportList() argument
1470 ByteString sGID = pResData->sGId; in WriteExportList()
1472 sGID = pResData->sId; in WriteExportList()
1475 sGID += pResData->sId; in WriteExportList()
1526 sOutput += pResData->sPForm; sOutput += "\t0\t"; in WriteExportList()
1576 ResData *pResData = aResStack.GetObject( nLevel-1 ); in InsertListEntry() local
1580 pList = pResData->pStringList; in InsertListEntry()
1582 pResData->pStringList = new ExportList(); in InsertListEntry()
1583 pList = pResData->pStringList; in InsertListEntry()
1588 pList = pResData->pFilterList; in InsertListEntry()
1590 pResData->pFilterList = new ExportList(); in InsertListEntry()
1591 pList = pResData->pFilterList; in InsertListEntry()
1596 pList = pResData->pItemList; in InsertListEntry()
1598 pResData->pItemList = new ExportList(); in InsertListEntry()
1599 pList = pResData->pItemList; in InsertListEntry()
1604 pList = pResData->pPairedList; in InsertListEntry()
1606 pResData->pPairedList = new ExportList(); in InsertListEntry()
1607 pList = pResData->pPairedList; in InsertListEntry()
1612 pList = pResData->pUIEntries; in InsertListEntry()
1614 pResData->pUIEntries = new ExportList(); in InsertListEntry()
1615 pList = pResData->pUIEntries; in InsertListEntry()
1640 …ByteString sKey = MergeDataFile::CreateKey( sPlist , pResData->sId , GetPairedListID( rLine ) , sF… in InsertListEntry()
1641 pResData->addFallbackData( sKey , rText ); in InsertListEntry()
1646 ByteString a( pResData->sGId ); in InsertListEntry()
1648 a.Append( pResData->sId ); in InsertListEntry()
1652 pResData->addFallbackData( sKey , rText ); in InsertListEntry()
1890 ByteString &nLangIndex, ResData *pResData ) in PrepareTextToMerge() argument
1896 ByteString sOldId = pResData->sId; in PrepareTextToMerge()
1897 ByteString sOldGId = pResData->sGId; in PrepareTextToMerge()
1898 ByteString sOldTyp = pResData->sResTyp; in PrepareTextToMerge()
1915 pResData->sResTyp = "stringlist"; in PrepareTextToMerge()
1916 pList = pResData->pStringList; in PrepareTextToMerge()
1920 pResData->sResTyp = "uientries"; in PrepareTextToMerge()
1921 pList = pResData->pUIEntries; in PrepareTextToMerge()
1925 pResData->sResTyp = "filterlist"; in PrepareTextToMerge()
1926 pList = pResData->pFilterList; in PrepareTextToMerge()
1930 pResData->sResTyp = "itemlist"; in PrepareTextToMerge()
1931 pList = pResData->pItemList; in PrepareTextToMerge()
1935 pResData->sResTyp = "pairedlist"; in PrepareTextToMerge()
1936 pList = pResData->pPairedList; in PrepareTextToMerge()
1949 pResData->addMergedLanguage( nLangIndex ); in PrepareTextToMerge()
1979 if ( pResData->sResTyp.EqualsIgnoreCaseAscii( "pairedlist" ) ){ in PrepareTextToMerge()
1980 pResData->sId = GetPairedListID( sLastListLine ); in PrepareTextToMerge()
1982 else pResData->sId = ByteString::CreateFromInt32( nListIndex ); in PrepareTextToMerge()
1984 if ( pResData->sGId.Len()) in PrepareTextToMerge()
1985 pResData->sGId += "."; in PrepareTextToMerge()
1986 pResData->sGId += sOldId; in PrepareTextToMerge()
2060 PFormEntrys *pEntrys = pMergeDataFile->GetPFormEntrys( pResData ); in PrepareTextToMerge()
2063 pResData->sId = sOldId; in PrepareTextToMerge()
2064 pResData->sGId = sOldGId; in PrepareTextToMerge()
2065 pResData->sResTyp = sOldTyp; in PrepareTextToMerge()
2102 void Export::MergeRest( ResData *pResData, sal_uInt16 nMode ) in MergeRest() argument
2121 PFormEntrys *pEntry = pMergeDataFile->GetPFormEntrys( pResData ); in MergeRest()
2124 if ( pEntry && pResData->bText ) { in MergeRest()
2146 sOutput += pResData->sTextTyp; in MergeRest()
2179 if ( pEntry && pResData->bQuickHelpText ) { in MergeRest()
2226 if ( pEntry && pResData->bTitle ) { in MergeRest()
2274 if ( pResData->bList ) { in MergeRest()
2279 ByteString sOldId = pResData->sId; in MergeRest()
2280 ByteString sOldGId = pResData->sGId; in MergeRest()
2281 ByteString sOldTyp = pResData->sResTyp; in MergeRest()
2282 if ( pResData->sGId.Len()) in MergeRest()
2283 pResData->sGId += "."; in MergeRest()
2284 pResData->sGId += sOldId; in MergeRest()
2291 …case LIST_STRING : pResData->sResTyp = "stringlist"; pList = pResData->pStringList; bPairedList = … in MergeRest()
2292 …case LIST_FILTER : pResData->sResTyp = "filterlist"; pList = pResData->pFilterList; bPairedList = … in MergeRest()
2293 …case LIST_UIENTRIES : pResData->sResTyp = "uientries"; pList = pResData->pUIEntries;bPairedList = … in MergeRest()
2294 …case LIST_ITEM : pResData->sResTyp = "itemlist"; pList = pResData->pItemList; bPairedList = … in MergeRest()
2295 …case LIST_PAIRED : pResData->sResTyp = "pairedlist"; pList = pResData->pPairedList; bPairedList = … in MergeRest()
2303 if( bPairedList && pResData->pPairedList && ( nIdx == 1 ) ){ in MergeRest()
2304 ExportListEntry* pListE = ( ExportListEntry* ) pResData->pPairedList->GetObject( nIdx-1 ); in MergeRest()
2305 pResData->sId = GetPairedListID ( (*pListE)[ SOURCE_LANGUAGE ] ); in MergeRest()
2308 pResData->sId = ByteString("1"); in MergeRest()
2315 pEntrys = pMergeDataFile->GetPFormEntrys( pResData ); in MergeRest()
2327 if( pResData->isMerged( sCur ) ) break; in MergeRest()
2329 … ByteString sKey = MergeDataFile::CreateKey( sPlist , pResData->sGId , pResData->sId , sFilename ); in MergeRest()
2330 bText = pResData->getFallbackData( sKey , sText ); in MergeRest()
2332 if( pResData->isMerged( sCur ) ) break; in MergeRest()
2334 … ByteString sKey = MergeDataFile::CreateKey( sPlist , pResData->sGId , pResData->sId , sFilename ); in MergeRest()
2335 bText = pResData->getFallbackData( sKey , sText ); in MergeRest()
2421 … ExportListEntry* pListE = ( ExportListEntry* ) pResData->pPairedList->GetObject( ( nIdx ) -1 ); in MergeRest()
2423 pResData->sId = GetPairedListID ( (*pListE)[ SOURCE_LANGUAGE ] ); in MergeRest()
2427 pResData->sId = ByteString::CreateFromInt32( ++nIdx ); in MergeRest()
2433 pEntrys = pMergeDataFile->GetPFormEntrys( pResData ); // <--- game over in MergeRest()
2450 pResData->sId = sOldId; in MergeRest()
2451 pResData->sGId = sOldGId; in MergeRest()
2452 pResData->sResTyp = sOldTyp; in MergeRest()
2460 case LIST_STRING : pList = pResData->pStringList; break; in MergeRest()
2461 case LIST_FILTER : pList = pResData->pFilterList; break; in MergeRest()
2462 case LIST_UIENTRIES : pList = pResData->pUIEntries; break; in MergeRest()
2463 case LIST_ITEM : pList = pResData->pItemList; break; in MergeRest()
2464 case LIST_PAIRED : pList = pResData->pPairedList; break; in MergeRest()
2489 while( PrepareTextToMerge( sLine, nList, nListLang, pResData ) && ( nListIndex <= nMaxIndex )) { in MergeRest()