Unable to create com.sun.star.text.ChainedTextFrame service. Raises com.sun.star.lang.ServiceNotRegisteredException unknown service: com.sun.star.text.ChainedTextFrame I am the author of and using https://github.com/Amourspirit/python_ooo_dev_tools/blob/5a340a206ec45da0cad20a8f3bc4a7cc11eb5df0/ooodev/utils/lo.py#L431 to create services.
I runned git grep -n ChainedTextFrame and just found these: odk/docs/idl/idl_chapter_refs.txt:6061:com.sun.star.text.ChainedTextFrame offapi/UnoApi_offapi.mk:1342: ChainedTextFrame \ offapi/com/sun/star/text/ChainedTextFrame.idl:26: with other ChainedTextFrame instances that will make the text offapi/com/sun/star/text/ChainedTextFrame.idl:30:published service ChainedTextFrame offapi/type_reference/offapi.idl:14058: published service ChainedTextFrame { offapi/type_reference/typelibrary_history.txt:45: adjust ChainedTextFrame service. Remove XChainable interface and insert properties. Noel: I'm not sure but it seems this class has never been implemented. If yes, perhaps we should just remove it? I hesitate a bit because when looking at offapi/com/sun/star/text/ChainedTextFrame.idl, there are "ChainNextName" and "ChainPrevName" (see https://opengrok.libreoffice.org/xref/core/offapi/com/sun/star/text/ChainedTextFrame.idl?r=5687eba4) and when git grepping, I got: git grep -n ChainNextName include/editeng/unoprnms.hxx:126:inline constexpr OUStringLiteral UNO_NAME_TEXT_CHAINNEXTNAME = u"TextChainNextName"; offapi/com/sun/star/text/ChainedTextFrame.idl:38: [property, maybevoid] string ChainNextName; offapi/type_reference/offapi.idl:14060: [property, maybevoid] string ChainNextName; sw/inc/unoprnms.hxx:249:inline constexpr OUStringLiteral UNO_NAME_CHAIN_NEXT_NAME = u"ChainNextName"; sw/qa/extras/odfimport/odfimport.cxx:679: getProperty<OUString>(xFrame1, "ChainNextName")); sw/qa/extras/odfimport/odfimport.cxx:683: getProperty<OUString>(xFrame2, "ChainNextName")); sw/qa/extras/ooxmlexport/ooxmlexport17.cxx:921: xTextBox1Properties->getPropertyValue("ChainNextName").get<OUString>()); sw/source/filter/ww8/wrtw8nds.cxx:671: if( xPropertySetInfo->hasPropertyByName("ChainNextName") ) sw/source/filter/ww8/wrtw8nds.cxx:672: xPropertySet->getPropertyValue("ChainNextName") >>= aLinkedTextboxInfo.sNextChain; writerfilter/source/dmapper/DomainMapper_Impl.cxx:4909: OUString sChainNextName("ChainNextName"); writerfilter/source/dmapper/DomainMapper_Impl.cxx:4999: xPropertySet->setPropertyValue(sChainNextName, uno::Any(nextFinder->second.shapeName)); writerfilter/source/dmapper/DomainMapper_Impl.cxx:5024: xPropertySet->setPropertyValue(sChainNextName, uno::Any(rInner.shapeName)); xmloff/inc/xmlprop.hxx:611:inline constexpr OUStringLiteral PROP_TextChainNextName = u"TextChainNextName"; xmloff/source/draw/sdpropls.cxx:152: GMAP( PROP_TextChainNextName, XML_NAMESPACE_DRAW, XML_CHAIN_NEXT_NAME, XML_TYPE_STRING, 0 ), xmloff/source/draw/ximpshap.cxx:1488: maChainNextName("") xmloff/source/draw/ximpshap.cxx:1506: maChainNextName = aIter.toString(); xmloff/source/draw/ximpshap.cxx:1643: if(!maChainNextName.isEmpty()) xmloff/source/draw/ximpshap.cxx:1650: xPropSet->setPropertyValue("TextChainNextName", xmloff/source/draw/ximpshap.cxx:1651: uno::Any( maChainNextName ) ); xmloff/source/draw/ximpshap.hxx:239: OUString maChainNextName; xmloff/source/text/txtimp.cxx:2183: rFrmPropSet->setPropertyValue("ChainNextName", xmloff/source/text/txtparae.cxx:135:constexpr OUStringLiteral gsChainNextName(u"ChainNextName"); xmloff/source/text/txtparae.cxx:3174: if( rPropSetInfo->hasPropertyByName( gsChainNextName ) ) xmloff/source/text/txtparae.cxx:3177: if( (rPropSet->getPropertyValue( gsChainNextName ) >>= sNext) && !sNext.isEmpty() ) git grep -n ChainPrevName offapi/com/sun/star/text/ChainedTextFrame.idl:44: [property, maybevoid] string ChainPrevName; offapi/type_reference/offapi.idl:14061: [property, maybevoid] string ChainPrevName; sw/inc/unoprnms.hxx:250:inline constexpr OUStringLiteral UNO_NAME_CHAIN_PREV_NAME = u"ChainPrevName"; sw/qa/extras/odfimport/odfimport.cxx:677: getProperty<OUString>(xFrame1, "ChainPrevName")); sw/qa/extras/odfimport/odfimport.cxx:681: getProperty<OUString>(xFrame2, "ChainPrevName")); sw/qa/extras/ooxmlexport/ooxmlexport17.cxx:924: xTextBox2Properties->getPropertyValue("ChainPrevName").get<OUString>()); sw/source/filter/ww8/wrtw8nds.cxx:673: if( xPropertySetInfo->hasPropertyByName("ChainPrevName") ) sw/source/filter/ww8/wrtw8nds.cxx:674: xPropertySet->getPropertyValue("ChainPrevName") >>= aLinkedTextboxInfo.sPrevChain; xmloff/source/text/txtimp.cxx:2206: rFrmPropSet->setPropertyValue("ChainPrevName", Any(*i));
Yeah, this service has never been implemented, feel free to remove it
(In reply to Noel Grandin from comment #2) > Yeah, this service has never been implemented, feel free to remove it Thank you for the feedback, I gave a try with https://gerrit.libreoffice.org/c/core/+/147743. Locally it built on pc Debian x86-64 with master sources updated today. (I didn't do a "make clean" for a test from scratch)
My patch is wrong, I'll let this one for others. Sorry for the noise Noel.
Dear vibrationoflife, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug