Lines Matching refs:pRecord

977     bool* pbContainsGraphics, SvxMSDffImportRec* pRecord)  in InsertTxbxText()  argument
1121 if( pRecord ) in InsertTxbxText()
1126 Rectangle aInnerDist( pRecord->nDxTextLeft, in InsertTxbxText()
1127 pRecord->nDyTextTop, in InsertTxbxText()
1128 pRecord->nDxTextRight, in InsertTxbxText()
1129 pRecord->nDyTextBottom ); in InsertTxbxText()
1132 pRecord->eLineStyle, in InsertTxbxText()
1133 pRecord->eShapeType, in InsertTxbxText()
1138 MapWrapIntoFlyFmt(pRecord, pFlyFmt); in InsertTxbxText()
2013 void SwWW8ImplReader::MapWrapIntoFlyFmt(SvxMSDffImportRec* pRecord, in MapWrapIntoFlyFmt() argument
2016 if (!pRecord || !pFlyFmt) in MapWrapIntoFlyFmt()
2019 if (pRecord->nDxWrapDistLeft || pRecord->nDxWrapDistRight) in MapWrapIntoFlyFmt()
2021 SvxLRSpaceItem aLR(writer_cast<sal_uInt16>(pRecord->nDxWrapDistLeft), in MapWrapIntoFlyFmt()
2022 writer_cast<sal_uInt16>(pRecord->nDxWrapDistRight), 0, 0, RES_LR_SPACE); in MapWrapIntoFlyFmt()
2023 AdjustLRWrapForWordMargins(*pRecord, aLR); in MapWrapIntoFlyFmt()
2026 if (pRecord->nDyWrapDistTop || pRecord->nDyWrapDistBottom) in MapWrapIntoFlyFmt()
2028 SvxULSpaceItem aUL(writer_cast<sal_uInt16>(pRecord->nDyWrapDistTop), in MapWrapIntoFlyFmt()
2029 writer_cast<sal_uInt16>(pRecord->nDyWrapDistBottom), RES_UL_SPACE); in MapWrapIntoFlyFmt()
2030 AdjustULWrapForWordMargins(*pRecord, aUL); in MapWrapIntoFlyFmt()
2035 if (pRecord->pWrapPolygon && pFlyFmt->GetSurround().IsContour()) in MapWrapIntoFlyFmt()
2086 PolyPolygon aPoly(*pRecord->pWrapPolygon); in MapWrapIntoFlyFmt()
2117 void SwWW8ImplReader::SetAttributesAtGrfNode( SvxMSDffImportRec* pRecord, in SetAttributesAtGrfNode() argument
2135 if( pRecord->nCropFromTop || pRecord->nCropFromBottom || in SetAttributesAtGrfNode()
2136 pRecord->nCropFromLeft || pRecord->nCropFromRight ) in SetAttributesAtGrfNode()
2140 if( pRecord->nCropFromTop ) // image width or height resp.) in SetAttributesAtGrfNode()
2142 ( ( (pRecord->nCropFromTop >> 16 ) * rHeight ) in SetAttributesAtGrfNode()
2143 + (((pRecord->nCropFromTop & 0xffff) * rHeight ) >> 16) ))); in SetAttributesAtGrfNode()
2144 if( pRecord->nCropFromBottom ) in SetAttributesAtGrfNode()
2146 ( ( (pRecord->nCropFromBottom >> 16 ) * rHeight ) in SetAttributesAtGrfNode()
2147 + (((pRecord->nCropFromBottom & 0xffff) * rHeight ) >> 16) ))); in SetAttributesAtGrfNode()
2148 if( pRecord->nCropFromLeft ) in SetAttributesAtGrfNode()
2150 ( ( (pRecord->nCropFromLeft >> 16 ) * rWidth ) in SetAttributesAtGrfNode()
2151 + (((pRecord->nCropFromLeft & 0xffff) * rWidth ) >> 16) ))); in SetAttributesAtGrfNode()
2152 if( pRecord->nCropFromRight ) in SetAttributesAtGrfNode()
2154 ( ( (pRecord->nCropFromRight >> 16 ) * rWidth ) in SetAttributesAtGrfNode()
2155 + (((pRecord->nCropFromRight & 0xffff) * rWidth ) >> 16) ))); in SetAttributesAtGrfNode()
2160 if (pRecord && pRecord->pObj) in SetAttributesAtGrfNode()
2162 const SfxItemSet& rOldSet = pRecord->pObj->GetMergedItemSet(); in SetAttributesAtGrfNode()
2233 RndStdIds SwWW8ImplReader::ProcessEscherAlign(SvxMSDffImportRec* pRecord, in ProcessEscherAlign() argument
2236 ASSERT(pRecord || pFSPA, "give me something! to work with for anchoring"); in ProcessEscherAlign()
2237 if (!pRecord && !pFSPA) in ProcessEscherAlign()
2242 if (!pRecord) in ProcessEscherAlign()
2244 pRecord = &aRecordFromFSPA; in ProcessEscherAlign()
2245 pRecord->nXRelTo = pFSPA->nbx; in ProcessEscherAlign()
2246 pRecord->nYRelTo = pFSPA->nby; in ProcessEscherAlign()
2260 sal_uInt32 nXAlign = nCntXAlign > pRecord->nXAlign ? pRecord->nXAlign : 1; in ProcessEscherAlign()
2261 sal_uInt32 nYAlign = nCntYAlign > pRecord->nYAlign ? pRecord->nYAlign : 1; in ProcessEscherAlign()
2269 const bool bXYRelHaveDefaultValues = pRecord->nXRelTo == 2 && pRecord->nYRelTo == 2; in ProcessEscherAlign()
2274 if ( pFSPA->nby != pRecord->nYRelTo ) in ProcessEscherAlign()
2276 pRecord->nYRelTo = pFSPA->nby; in ProcessEscherAlign()
2281 sal_uInt32 nXRelTo = nCntRelTo > pRecord->nXRelTo ? pRecord->nXRelTo : 1; in ProcessEscherAlign()
2282 sal_uInt32 nYRelTo = nCntRelTo > pRecord->nYRelTo ? pRecord->nYRelTo : 1; in ProcessEscherAlign()
2403 !IsObjectLayoutInTableCell( pRecord->nLayoutInTableCell ) ) in ProcessEscherAlign()
2413 pRecord->nDxWrapDistLeft=0; in ProcessEscherAlign()
2415 pRecord->nDxWrapDistRight=0; in ProcessEscherAlign()
2682 SvxMSDffImportRec* pRecord = 0; in Read_GrafLayer() local
2690 pRecord = aData.GetRecord( nTxbx ); in Read_GrafLayer()
2691 if (pRecord && pRecord->pObj == pObject) in Read_GrafLayer()
2694 pRecord = 0; in Read_GrafLayer()
2697 ASSERT(pRecord, "how did that happen?"); in Read_GrafLayer()
2698 if (!pRecord) in Read_GrafLayer()
2709 nInTable && IsObjectLayoutInTableCell( pRecord->nLayoutInTableCell ); in Read_GrafLayer()
2725 if (pRecord->bHidden) in Read_GrafLayer()
2774 const bool bMoveToBackgrd = pRecord->bDrawHell || in Read_GrafLayer()
2785 pRetFrmFmt = ImportReplaceableDrawables(pObject, pOurNewObject, pRecord, in Read_GrafLayer()
2797 RndStdIds eAnchor = ProcessEscherAlign(pRecord, pF, aFlySet, in Read_GrafLayer()
2801 if ((!(nIniFlags1 & WW8FL_NO_FLY_FOR_TXBX)) && pRecord->bReplaceByFly) in Read_GrafLayer()
2803 pRetFrmFmt = ConvertDrawTextToFly(pObject, pOurNewObject, pRecord, in Read_GrafLayer()
2847 pRecord = aData.GetRecord(nTxbx); in Read_GrafLayer()
2848 if (pRecord && pRecord->pObj && pRecord->aTextId.nTxBxS) in Read_GrafLayer()
2850 pRetFrmFmt = MungeTextIntoDrawBox(pRecord->pObj, in Read_GrafLayer()
2851 pRecord, nGrafAnchorCp, pRetFrmFmt); in Read_GrafLayer()
2865 MapWrapIntoFlyFmt(pRecord, pRetFrmFmt); in Read_GrafLayer()
2898 SvxMSDffImportRec *pRecord, long nGrafAnchorCp, SwFrmFmt* pRetFrmFmt) in MungeTextIntoDrawBox() argument
2903 if (SdrObjGroup* pThisGroup = PTR_CAST(SdrObjGroup, pRecord->pObj)) in MungeTextIntoDrawBox()
2917 long nAngle = pRecord->nTextRotationAngle; in MungeTextIntoDrawBox()
2929 pSdrTextObj = PTR_CAST(SdrTextObj, pRecord->pObj); in MungeTextIntoDrawBox()
2941 InsertTxbxText( pSdrTextObj, &aObjSize, pRecord->aTextId.nTxBxS, in MungeTextIntoDrawBox()
2942 pRecord->aTextId.nSequence, nGrafAnchorCp, pRetFrmFmt, in MungeTextIntoDrawBox()
2944 bEraseThisObject, 0, 0, 0, 0, pRecord); in MungeTextIntoDrawBox()
2961 SdrObject::Free( pRecord->pObj ); in MungeTextIntoDrawBox()
2963 pRecord->pObj = pNewObj; in MungeTextIntoDrawBox()
2978 pRecord->pObj = 0; in MungeTextIntoDrawBox()
2986 aItemSet.Put( SdrTextLeftDistItem( pRecord->nDxTextLeft ) ); in MungeTextIntoDrawBox()
2987 aItemSet.Put( SdrTextRightDistItem( pRecord->nDxTextRight ) ); in MungeTextIntoDrawBox()
2988 aItemSet.Put( SdrTextUpperDistItem( pRecord->nDyTextTop ) ); in MungeTextIntoDrawBox()
2989 aItemSet.Put( SdrTextLowerDistItem( pRecord->nDyTextBottom ) ); in MungeTextIntoDrawBox()
2997 SdrObject* &rpOurNewObject, SvxMSDffImportRec* pRecord, RndStdIds eAnchor, in ConvertDrawTextToFly() argument
3006 if ( TxbxChainContainsRealText(pRecord->aTextId.nTxBxS,nStartCp,nEndCp) ) in ConvertDrawTextToFly()
3016 Rectangle aInnerDist(pRecord->nDxTextLeft, pRecord->nDyTextTop, in ConvertDrawTextToFly()
3017 pRecord->nDxTextRight, pRecord->nDyTextBottom); in ConvertDrawTextToFly()
3020 aFrmSize.SetWidthSizeType(pRecord->bAutoWidth ? ATT_VAR_SIZE : ATT_FIX_SIZE); in ConvertDrawTextToFly()
3023 MatchSdrItemsIntoFlySet( rpObject, rFlySet, pRecord->eLineStyle, in ConvertDrawTextToFly()
3024 pRecord->eShapeType, aInnerDist ); in ConvertDrawTextToFly()
3064 (((sal_uLong)pRecord->aTextId.nTxBxS) << 16) + in ConvertDrawTextToFly()
3065 pRecord->aTextId.nSequence, 0, pRetFrmFmt); in ConvertDrawTextToFly()
3081 if( !pRecord->aTextId.nSequence ) in ConvertDrawTextToFly()
3125 SdrObject* &rpOurNewObject, SvxMSDffImportRec* pRecord, WW8_FSPA *pF, in ImportReplaceableDrawables() argument
3136 ProcessEscherAlign(pRecord, pF, rFlySet, true); in ImportReplaceableDrawables()
3142 if (pRecord) in ImportReplaceableDrawables()
3148 MatchSdrItemsIntoFlySet(rpObject, rFlySet, pRecord->eLineStyle, in ImportReplaceableDrawables()
3149 pRecord->eShapeType, aInnerDist); in ImportReplaceableDrawables()
3151 MatchEscherMirrorIntoFlySet(*pRecord, aGrSet); in ImportReplaceableDrawables()
3189 if( pRecord ) in ImportReplaceableDrawables()
3192 SetAttributesAtGrfNode( pRecord, pRetFrmFmt, pF ); in ImportReplaceableDrawables()