To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=79169
------- Additional comments from [EMAIL PROTECTED] Thu Jul 5 12:12:40 +0000 2007 ------- hb->cmc: I tried something like this: struct WW8PostProcessAttrsInfo { WW8_CP mnCpStart; WW8_CP mnCpEnd; SwPaM mPaM; WW8PostProcessAttrsInfo(WW8_CP nCpStart, WW8_CP nCpEnd, SwPaM & rPaM); }; void SwWW8ImplReader::PostProcessAttrs() { if (mpPostProcessAttrsInfo != NULL) { WW8_CP nOldCp = pPlcxMan->Where(); printf("PostProcessAttrs: %d\n", nOldCp); SfxItemSet * pTmpItemSet = pAktItemSet; pAktItemSet = new SfxItemSet( rDoc.GetAttrPool(), RES_CHRATR_BEGIN, RES_PARATR_END - 1 ); printf("PostProcessAttrs before ReadAttrs: %d\n", pPlcxMan->Where()); bool bStartLine = false; WW8_CP nCpStart = mpPostProcessAttrsInfo->mnCpStart; WW8_CP nCpEnd = mpPostProcessAttrsInfo->mnCpEnd; ReadAttrs(nCpStart, nCpEnd, bStartLine); printf("PostProcessAttrs after ReadAttrs: %d\n", nOldCp); printf("%d, %d, ", mpPostProcessAttrsInfo->mnCpStart, mpPostProcessAttrsInfo->mnCpEnd); DBG_OUT(mpPostProcessAttrsInfo->mPaM); DBG_OUT(*pAktItemSet); rDoc.Insert(mpPostProcessAttrsInfo->mPaM, *pAktItemSet, 0); delete pAktItemSet; pAktItemSet = pTmpItemSet; delete mpPostProcessAttrsInfo; mpPostProcessAttrsInfo = NULL; } } mpPostProcessAttrsInfo is generated in Read_F_Macro and PostProcessAttrs is called after ReadAttrs is finished. I double-checked with the dumping service of the new writerfilter, that I get the right CPs in mpPostProcessAttrsInfo to catch the font attributes over the macro button text. But, the temporary pAktItemSet resulting from the ReadAttrs in PostProcessAttrs is empty. :-( I have no clue why that is, do you? --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]