/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/docnode/ |
H A D | ndcopy.cxx | 150 SwTableBoxFormat * pBoxFormat = static_cast<SwTableBoxFormat*>(pBox->GetFrameFormat()); in lcl_CopyTableBox() local 152 if ( !lcl_SrchNew( rMap, reinterpret_cast<SwFrameFormat**>(&pBoxFormat) ) ) in lcl_CopyTableBox() 155 if (pBoxFormat == pBox->GetFrameFormat()) // Create a new one? in lcl_CopyTableBox() 158 if( SfxItemState::SET == pBoxFormat->GetItemState( RES_BOXATR_FORMULA, false, in lcl_CopyTableBox() 164 pBoxFormat = pCT->m_rDoc.MakeTableBoxFormat(); in lcl_CopyTableBox() 165 pBoxFormat->CopyAttrs( *pBox->GetFrameFormat() ); in lcl_CopyTableBox() 170 if( pN && pN->HasMergeFormatTable() && SfxItemState::SET == pBoxFormat-> in lcl_CopyTableBox() 176 pBoxFormat->SetFormatAttr( SwTableBoxNumFormat( nNewIdx )); in lcl_CopyTableBox() 181 pCT->m_rMapArr.emplace_back(pBox->GetFrameFormat(), pBoxFormat); in lcl_CopyTableBox() 187 pNewBox = new SwTableBox(pBoxFormat, nLines, pCT->m_pInsLine); in lcl_CopyTableBox() [all …]
|
H A D | ndtbl.cxx | 189 rBoxFormatArr[ nId ] = pBoxFormat; in lcl_CreateDfltBoxFormat() 208 rBoxFormatArr[ nId ] = pBoxFormat; in lcl_CreateAFormatBoxFormat() 478 pBoxFormat = MakeTableBoxFormat(); in InsertTable() 521 pBoxF = pBoxFormat; in InsertTable() 750 delete pBoxFormat; in TextToTable() 1273 delete pBoxFormat; in TextToTable() 4185 pBoxFormat->LockModify(); in SetTableBoxFormulaAttrs() 4187 pBoxFormat->UnlockModify(); in SetTableBoxFormulaAttrs() 4191 pBoxFormat->LockModify(); in SetTableBoxFormulaAttrs() 4193 pBoxFormat->UnlockModify(); in SetTableBoxFormulaAttrs() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/docnode/ |
H A D | ndcopy.cxx | 142 SwTableBoxFormat * pBoxFormat = static_cast<SwTableBoxFormat*>(pBox->GetFrameFormat()); in lcl_CopyTableBox() local 144 if ( !lcl_SrchNew( rMap, reinterpret_cast<SwFrameFormat**>(&pBoxFormat) ) ) in lcl_CopyTableBox() 147 if (pBoxFormat == pBox->GetFrameFormat()) // Create a new one? in lcl_CopyTableBox() 150 if( SfxItemState::SET == pBoxFormat->GetItemState( RES_BOXATR_FORMULA, false, in lcl_CopyTableBox() 156 pBoxFormat = pCT->m_pDoc->MakeTableBoxFormat(); in lcl_CopyTableBox() 157 pBoxFormat->CopyAttrs( *pBox->GetFrameFormat() ); in lcl_CopyTableBox() 162 if( pN && pN->HasMergeFormatTable() && SfxItemState::SET == pBoxFormat-> in lcl_CopyTableBox() 168 pBoxFormat->SetFormatAttr( SwTableBoxNumFormat( nNewIdx )); in lcl_CopyTableBox() 173 pCT->m_rMapArr.emplace_back(pBox->GetFrameFormat(), pBoxFormat); in lcl_CopyTableBox() 179 pNewBox = new SwTableBox(pBoxFormat, nLines, pCT->m_pInsLine); in lcl_CopyTableBox() [all …]
|
H A D | ndtbl.cxx | 187 rBoxFormatArr[ nId ] = pBoxFormat; in lcl_CreateDfltBoxFormat() 206 rBoxFormatArr[ nId ] = pBoxFormat; in lcl_CreateAFormatBoxFormat() 469 pBoxFormat = MakeTableBoxFormat(); in InsertTable() 512 pBoxF = pBoxFormat; in InsertTable() 741 delete pBoxFormat; in TextToTable() 1264 delete pBoxFormat; in TextToTable() 4155 pBoxFormat->LockModify(); in SetTableBoxFormulaAttrs() 4157 pBoxFormat->UnlockModify(); in SetTableBoxFormulaAttrs() 4161 pBoxFormat->LockModify(); in SetTableBoxFormulaAttrs() 4163 pBoxFormat->UnlockModify(); in SetTableBoxFormulaAttrs() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/fields/ |
H A D | ddetbl.cxx | 165 SwTableBoxFormat* pBoxFormat = static_cast<SwTableBoxFormat*>(pBox->GetFrameFormat()); in ChangeContent() local 166 pBoxFormat->LockModify(); in ChangeContent() 167 pBoxFormat->ResetFormatAttr( RES_BOXATR_VALUE ); in ChangeContent() 168 pBoxFormat->UnlockModify(); in ChangeContent()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/fields/ |
H A D | ddetbl.cxx | 155 SwTableBoxFormat* pBoxFormat = static_cast<SwTableBoxFormat*>(pBox->GetFrameFormat()); in ChangeContent() local 156 pBoxFormat->LockModify(); in ChangeContent() 157 pBoxFormat->ResetFormatAttr( RES_BOXATR_VALUE ); in ChangeContent() 158 pBoxFormat->UnlockModify(); in ChangeContent()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/undo/ |
H A D | untbl.cxx | 2223 SwFrameFormat* pBoxFormat = pBox->ClaimFrameFormat(); in RedoImpl() local 2231 pBoxFormat->LockModify(); in RedoImpl() 2244 pBoxFormat->ResetFormatAttr( RES_BOXATR_VALUE ); in RedoImpl() 2245 pBoxFormat->UnlockModify(); in RedoImpl() 2251 pBoxFormat->SetFormatAttr( aBoxSet ); in RedoImpl() 2263 pBoxFormat->LockModify(); in RedoImpl() 2264 pBoxFormat->ResetFormatAttr( RES_BOXATR_FORMULA ); in RedoImpl() 2265 pBoxFormat->UnlockModify(); in RedoImpl() 2271 pBoxFormat->SetFormatAttr( aBoxSet ); in RedoImpl() 2482 pBoxFormat->ResetFormatAttr( RES_VERT_ORIENT ); in UndoImpl() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/undo/ |
H A D | untbl.cxx | 2234 SwFrameFormat* pBoxFormat = pBox->ClaimFrameFormat(); in RedoImpl() local 2242 pBoxFormat->LockModify(); in RedoImpl() 2255 pBoxFormat->ResetFormatAttr( RES_BOXATR_VALUE ); in RedoImpl() 2256 pBoxFormat->UnlockModify(); in RedoImpl() 2262 pBoxFormat->SetFormatAttr( aBoxSet ); in RedoImpl() 2274 pBoxFormat->LockModify(); in RedoImpl() 2275 pBoxFormat->ResetFormatAttr( RES_BOXATR_FORMULA ); in RedoImpl() 2276 pBoxFormat->UnlockModify(); in RedoImpl() 2282 pBoxFormat->SetFormatAttr( aBoxSet ); in RedoImpl() 2449 pBoxFormat->ResetFormatAttr( RES_VERT_ORIENT ); in UndoImpl() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/inc/ |
H A D | ndarr.hxx | 255 SwTableBoxFormat* pBoxFormat, 265 SwTableBoxFormat* pBoxFormat );
|
H A D | unostyle.hxx | 358 void SetBoxFormat(SwBoxAutoFormat* pBoxFormat);
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/inc/ |
H A D | ndarr.hxx | 257 SwTableBoxFormat* pBoxFormat, 267 SwTableBoxFormat* pBoxFormat );
|
H A D | docstyle.hxx | 56 const SwBoxAutoFormat* pBoxFormat; member in SwDocStyleSheet
|
H A D | unostyle.hxx | 358 void SetBoxFormat(SwBoxAutoFormat* pBoxFormat);
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/unocore/ |
H A D | unotbl.cxx | 683 pBoxFormat->LockModify(); in sw_setString() 684 pBoxFormat->ResetFormatAttr( RES_BOXATR_FORMULA ); in sw_setString() 685 pBoxFormat->ResetFormatAttr( RES_BOXATR_VALUE ); in sw_setString() 688 pBoxFormat->UnlockModify(); in sw_setString() 705 SwFrameFormat* pBoxFormat = rCell.m_pBox->ClaimFrameFormat(); in sw_setValue() local 871 SwFrameFormat* pBoxFormat = m_pBox->GetFrameFormat(); in setFormula() local 1014 SwFrameFormat* pBoxFormat = m_pBox->ClaimFrameFormat(); in setPropertyValue() local 1015 SwAttrSet aSet(pBoxFormat->GetAttrSet()); in setPropertyValue() 1017 pBoxFormat->GetDoc()->SetAttr(aSet, *pBoxFormat); in setPropertyValue() 1187 auto pBoxFormat(GetTableBox()->GetFrameFormat()); in GetForcedNumericalValue() local [all …]
|
H A D | unostyle.cxx | 4349 SwBoxAutoFormat* pBoxFormat = &m_pTableAutoFormat->GetBoxFormat(aTableTemplateMap[i]); in UpdateCellStylesMapping() local 4350 uno::Reference<style::XStyle> xCellStyle(pBoxFormat->GetXObject(), uno::UNO_QUERY); in UpdateCellStylesMapping() 4354 pBoxFormat->SetXObject(xCellStyle); in UpdateCellStylesMapping() 4667 void SwXTextCellStyle::SetBoxFormat(SwBoxAutoFormat* pBoxFormat) in SetBoxFormat() argument 4670 m_pBoxAutoFormat = pBoxFormat; in SetBoxFormat() 4745 SwBoxAutoFormat* pBoxFormat = GetBoxAutoFormat(pDocShell, sName, &sParentName); in CreateXTextCellStyle() local 4748 if (!pBoxFormat) in CreateXTextCellStyle() 4752 pBoxFormat = &aDefaultBoxFormat; in CreateXTextCellStyle() 4755 xTextCellStyle.set(pBoxFormat->GetXObject(), uno::UNO_QUERY); in CreateXTextCellStyle() 4758 xTextCellStyle.set(new SwXTextCellStyle(pDocShell, pBoxFormat, sParentName)); in CreateXTextCellStyle() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/unocore/ |
H A D | unotbl.cxx | 693 pBoxFormat->LockModify(); in sw_setString() 694 pBoxFormat->ResetFormatAttr( RES_BOXATR_FORMULA ); in sw_setString() 695 pBoxFormat->ResetFormatAttr( RES_BOXATR_VALUE ); in sw_setString() 698 pBoxFormat->UnlockModify(); in sw_setString() 715 SwFrameFormat* pBoxFormat = rCell.m_pBox->ClaimFrameFormat(); in sw_setValue() local 885 SwFrameFormat* pBoxFormat = m_pBox->GetFrameFormat(); in setFormula() local 1056 SwFrameFormat* pBoxFormat = m_pBox->ClaimFrameFormat(); in setPropertyValue() local 1057 SwAttrSet aSet(pBoxFormat->GetAttrSet()); in setPropertyValue() 1059 pBoxFormat->GetDoc()->SetAttr(aSet, *pBoxFormat); in setPropertyValue() 1235 auto pBoxFormat(GetTableBox()->GetFrameFormat()); in GetForcedNumericalValue() local [all …]
|
H A D | unostyle.cxx | 4318 SwBoxAutoFormat* pBoxFormat = &m_pTableAutoFormat->GetBoxFormat(aTableTemplateMap[i]); in UpdateCellStylesMapping() local 4319 uno::Reference<style::XStyle> xCellStyle(pBoxFormat->GetXObject(), uno::UNO_QUERY); in UpdateCellStylesMapping() 4323 pBoxFormat->SetXObject(xCellStyle); in UpdateCellStylesMapping() 4644 void SwXTextCellStyle::SetBoxFormat(SwBoxAutoFormat* pBoxFormat) in SetBoxFormat() argument 4647 m_pBoxAutoFormat = pBoxFormat; in SetBoxFormat() 4721 SwBoxAutoFormat* pBoxFormat = GetBoxAutoFormat(pDocShell, sName, &sParentName); in CreateXTextCellStyle() local 4724 if (!pBoxFormat) in CreateXTextCellStyle() 4728 pBoxFormat = &aDefaultBoxFormat; in CreateXTextCellStyle() 4731 xTextCellStyle.set(pBoxFormat->GetXObject(), uno::UNO_QUERY); in CreateXTextCellStyle() 4734 xTextCellStyle.set(new SwXTextCellStyle(pDocShell, pBoxFormat, sParentName)); in CreateXTextCellStyle() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/filter/ww8/ |
H A D | WW8TableInfo.cxx | 250 const SwFrameFormat* pBoxFormat = rTabBoxes[ nBoxIndex ]->GetFrameFormat(); in getColumnWidthsBasedOnAllRows() local 251 const SwFormatFrameSize& rLSz = pBoxFormat->GetFrameSize(); in getColumnWidthsBasedOnAllRows() 301 const SwFrameFormat* pBoxFormat = rTabBoxes[ n ]->GetFrameFormat(); in getWidthsOfRow() local 302 const SwFormatFrameSize& rLSz = pBoxFormat->GetFrameSize(); in getWidthsOfRow()
|
H A D | wrtww8.cxx | 2393 const SwFrameFormat * pBoxFormat = nullptr; in TableDefinition() local 2395 pBoxFormat = pTabBox1->GetFrameFormat(); in TableDefinition() 2404 if (pBoxFormat != nullptr) in TableDefinition() 2406 const SvxBoxItem & rBoxItem = pBoxFormat->GetBox(); in TableDefinition()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/filter/ww8/ |
H A D | WW8TableInfo.cxx | 252 const SwFrameFormat* pBoxFormat = rTabBoxes[ nBoxIndex ]->GetFrameFormat(); in getColumnWidthsBasedOnAllRows() local 253 const SwFormatFrameSize& rLSz = pBoxFormat->GetFrameSize(); in getColumnWidthsBasedOnAllRows() 303 const SwFrameFormat* pBoxFormat = rTabBoxes[ n ]->GetFrameFormat(); in getWidthsOfRow() local 304 const SwFormatFrameSize& rLSz = pBoxFormat->GetFrameSize(); in getWidthsOfRow()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/doc/ |
H A D | tblrwcl.cxx | 634 const SwFrameFormat *pBoxFormat = rBox.GetFrameFormat(); in lcl_LastBoxSetWidth() local 635 SwFormatFrameSize aNew( pBoxFormat->GetFrameSize() ); in lcl_LastBoxSetWidth() 637 SwFrameFormat *pFormat = rShareFormats.GetFormat( *pBoxFormat, aNew ); in lcl_LastBoxSetWidth() 648 rShareFormats.AddFormat( *pBoxFormat, *pFormat ); in lcl_LastBoxSetWidth() 3320 SwFrameFormat *pBoxFormat = rBox.GetFrameFormat(), in SetSize() local 3321 *pRet = GetFormat( *pBoxFormat, rSz.GetWidth() ); in SetSize() 3328 AddFormat( *pBoxFormat, *pRet ); in SetSize() 3334 SwFrameFormat *pBoxFormat = rBox.GetFrameFormat(), in SetAttr() local 3335 *pRet = GetFormat( *pBoxFormat, rItem ); in SetAttr() 3342 AddFormat( *pBoxFormat, *pRet ); in SetAttr()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/doc/ |
H A D | tblrwcl.cxx | 622 const SwFrameFormat *pBoxFormat = rBox.GetFrameFormat(); in lcl_LastBoxSetWidth() local 623 SwFormatFrameSize aNew( pBoxFormat->GetFrameSize() ); in lcl_LastBoxSetWidth() 625 SwFrameFormat *pFormat = rShareFormats.GetFormat( *pBoxFormat, aNew ); in lcl_LastBoxSetWidth() 636 rShareFormats.AddFormat( *pBoxFormat, *pFormat ); in lcl_LastBoxSetWidth() 3292 SwFrameFormat *pBoxFormat = rBox.GetFrameFormat(), in SetSize() local 3293 *pRet = GetFormat( *pBoxFormat, rSz.GetWidth() ); in SetSize() 3300 AddFormat( *pBoxFormat, *pRet ); in SetSize() 3306 SwFrameFormat *pBoxFormat = rBox.GetFrameFormat(), in SetAttr() local 3307 *pRet = GetFormat( *pBoxFormat, rItem ); in SetAttr() 3314 AddFormat( *pBoxFormat, *pRet ); in SetAttr()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/table/ |
H A D | swtable.cxx | 247 static void FormatInArr( std::vector<SwFormat*>& rFormatArr, SwFormat* pBoxFormat ) in FormatInArr() argument 249 …ctor<SwFormat*>::const_iterator it = std::find( rFormatArr.begin(), rFormatArr.end(), pBoxFormat ); in FormatInArr() 251 rFormatArr.push_back( pBoxFormat ); in FormatInArr()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/uibase/app/ |
H A D | docstyle.cxx | 463 pBoxFormat(nullptr), in SwDocStyleSheet() 2010 pBoxFormat = lcl_FindCellStyle(rDoc, aName, this); in FillStyleSheet() 2011 bRet = bPhysical = (nullptr != pBoxFormat); in FillStyleSheet()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/table/ |
H A D | swtable.cxx | 274 static void FormatInArr( std::vector<SwFormat*>& rFormatArr, SwFormat* pBoxFormat ) in FormatInArr() argument 276 …ctor<SwFormat*>::const_iterator it = std::find( rFormatArr.begin(), rFormatArr.end(), pBoxFormat ); in FormatInArr() 278 rFormatArr.push_back( pBoxFormat ); in FormatInArr()
|