Created attachment 117925 [details] Error message Copy and paste from Writer to Impress and the Impress file can't be saved.
Hi Mark, I don't reproduce using LO 4.4.4.3 Build ID: 2c39ebcf046445232b798108aa8a7e7d89552ea8 Locale : fr_FR OS : Windows 7 Home Premium. Did you try to rename your profile? https://wiki.documentfoundation.org/UserProfile
Sorry that I picked the wrong version. Version:4.4.3.2 Build ID:88805f81e9fe61362df02b9941de8e38a9b5fd16 Locale:zh_TW OS: Windows 7 Professional (on both 64bit and 32bit OS) Rename profile doesn't work.
Created attachment 118076 [details] Style with empty name was created. Pasting Chinese text in Windows ( not sure if this happens under other language settings ) creates a style with empty name. It raise an exception in XMLStyleExport::exportStyleFamily(). Following macro helps ( if newer version isn't available ): Sub FixODPEmptyStyleName Dim oStyleFamilies As Variant Dim oStylePool As Variant Dim oStyle As Variant Dim sName As String Dim nCount As Long Dim nIndex As Long nIndex = 0 oStyleFamilies = ThisComponent.getStyleFamilies() oStylePool = oStyleFamilies.getByName("graphics") nCount = oStylePool.getCount() For i = 0 to nCount-1 oStyle = oStylePool.getByIndex(i) sName = oStyle.getName() if sName = "" then oStyle.setName("Style"+Int(Rnd()*100000)) end if Next i End Sub
When user use Chinese UI, style names are converted to Chinese. However when paste special ( with RTF), Chinese stylenames weren't handled properly, breaking into multiple token so that it generate abnormal styles with empty name.
Mark Hung committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=0955bfed86e55f823fb9686f52dbffc36558b5d5 Fix tdf#93438 Impress generate abnormal style when copy-pasting It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** Bug 91091 has been marked as a duplicate of this bug. ***
*** Bug 75181 has been marked as a duplicate of this bug. ***
Mark Hung committed a patch related to this issue. It has been pushed to "libreoffice-5-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=52f3eb47aa42bd1a2a61088706cd3c729e274fc0&h=libreoffice-5-0 Fix tdf#93438 Impress generate abnormal style when copy-pasting It will be available in 5.0.4. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.