Searched refs:pRuby (Results 1 – 8 of 8) sorted by relevance
374 std::unique_ptr<SwFormatRuby> pRuby; in ReplaceUnit() local393 pRuby.reset(new SwFormatRuby( rReplaceWith )); in ReplaceUnit()398 pRuby.reset(new SwFormatRuby( aOrigText )); in ReplaceUnit()404 pRuby.reset(new SwFormatRuby( rReplaceWith )); in ReplaceUnit()410 pRuby.reset(new SwFormatRuby( aOrigText )); in ReplaceUnit()420 if (pRuby) in ReplaceUnit()441 pRuby->SetPosition( o3tl::narrowing<sal_uInt16>(bRubyBelow) ); in ReplaceUnit()442 pRuby->SetAdjustment( RubyAdjust_CENTER ); in ReplaceUnit()444 m_rWrtShell.SetAttrItem(*pRuby); in ReplaceUnit()445 pRuby.reset(); in ReplaceUnit()
377 std::unique_ptr<SwFormatRuby> pRuby; in ReplaceUnit() local396 pRuby.reset(new SwFormatRuby( rReplaceWith )); in ReplaceUnit()401 pRuby.reset(new SwFormatRuby( aOrigText )); in ReplaceUnit()407 pRuby.reset(new SwFormatRuby( rReplaceWith )); in ReplaceUnit()413 pRuby.reset(new SwFormatRuby( aOrigText )); in ReplaceUnit()423 if (pRuby) in ReplaceUnit()444 pRuby->SetPosition( static_cast<sal_uInt16>(bRubyBelow) ); in ReplaceUnit()445 pRuby->SetAdjustment( RubyAdjust_CENTER ); in ReplaceUnit()447 m_rWrtShell.SetAttrItem(*pRuby); in ReplaceUnit()448 pRuby.reset(); in ReplaceUnit()
411 std::unique_ptr<SwFormatRuby> pRuby; in lcl_setRubyCharstyle() local416 pRuby.reset(new SwFormatRuby(*static_cast<const SwFormatRuby*>(pItem))); in lcl_setRubyCharstyle()418 if (!pRuby) in lcl_setRubyCharstyle()420 pRuby.reset(new SwFormatRuby(OUString())); in lcl_setRubyCharstyle()425 pRuby->SetCharFormatName(sStyle); in lcl_setRubyCharstyle()426 pRuby->SetCharFormatId(0); in lcl_setRubyCharstyle()431 pRuby->SetCharFormatId(nId); in lcl_setRubyCharstyle()433 rItemSet.Put(*pRuby); in lcl_setRubyCharstyle()
1936 std::unique_ptr<SwFormatRuby> pRuby; in SetPropertyValue() local1939 pRuby.reset(new SwFormatRuby(*static_cast<const SwFormatRuby*>(pItem))); in SetPropertyValue()1941 pRuby.reset(new SwFormatRuby(OUString())); in SetPropertyValue()1944 pRuby->SetCharFormatName(sValue); in SetPropertyValue()1945 pRuby->SetCharFormatId(0); in SetPropertyValue()1949 pRuby->SetCharFormatId(nId); in SetPropertyValue()1951 rStyleSet.Put(*pRuby); in SetPropertyValue()
451 std::unique_ptr<SwFormatRuby> pRuby; in lcl_setRubyCharstyle() local456 pRuby.reset(new SwFormatRuby(*static_cast<const SwFormatRuby*>(pItem))); in lcl_setRubyCharstyle()458 if (!pRuby) in lcl_setRubyCharstyle()460 pRuby.reset(new SwFormatRuby(OUString())); in lcl_setRubyCharstyle()465 pRuby->SetCharFormatName(sStyle); in lcl_setRubyCharstyle()466 pRuby->SetCharFormatId(0); in lcl_setRubyCharstyle()471 pRuby->SetCharFormatId(nId); in lcl_setRubyCharstyle()473 rItemSet.Put(*pRuby); in lcl_setRubyCharstyle()
1921 std::unique_ptr<SwFormatRuby> pRuby; in SetPropertyValue() local1924 pRuby.reset(new SwFormatRuby(*static_cast<const SwFormatRuby*>(pItem))); in SetPropertyValue()1926 pRuby.reset(new SwFormatRuby(OUString())); in SetPropertyValue()1929 pRuby->SetCharFormatName(sValue); in SetPropertyValue()1930 pRuby->SetCharFormatId(0); in SetPropertyValue()1934 pRuby->SetCharFormatId(nId); in SetPropertyValue()1936 rStyleSet.Put(*pRuby); in SetPropertyValue()
961 const SwTextAttr *pRuby = nullptr; in GetMultiCreator() local988 pRuby = pAttr; in GetMultiCreator()1039 if (!pRuby && !pActiveTwoLinesItem && !pActiveRotateItem) in GetMultiCreator()1042 if( pRuby ) in GetMultiCreator()1045 rPos = m_pFrame->MapModelToView(startPos.first, *pRuby->End()); in GetMultiCreator()1048 aRet.pAttr = pRuby; in GetMultiCreator()
962 const SwTextAttr *pRuby = nullptr; in GetMultiCreator() local989 pRuby = pAttr; in GetMultiCreator()1040 if (!pRuby && !pActiveTwoLinesItem && !pActiveRotateItem) in GetMultiCreator()1043 if( pRuby ) in GetMultiCreator()1046 rPos = m_pFrame->MapModelToView(startPos.first, *pRuby->End()); in GetMultiCreator()1049 pRet->pAttr = pRuby; in GetMultiCreator()