LibreOffice 4.1: Release Notes
TDF LibreOffice Document Liberation Project Community Blogs Weblate Nextcloud Redmine Ask LibreOffice Donate
Writer
- Images embedded in writer can now be rotated easily in 90 degree increments tdf#34423(Tomaž Vajngerl)
- Writer textframes now support having a gradient as background tdf#46029 (Miklós Vajna)
- Embedding fonts in a Writer document tdf#42195 (Luboš Luňák)
- The comments bar now can be easily toggled with the a button in the ruler. tdf#38246 (Rodolfo Ribeiro Gomes)
- On Windows, modern IMEs show their suggestion windows at more easy-to-read position. tdf#64298 (Yohei Yukawa - Google)
- Import and export of graphical bullets of numberings in the DOC, DOCX and RTF filters i#120928 (Jian Hong Cheng - Apache: DOC part, Miklos Vajna: DOCX, RTF parts)
- Improved Footnote and footer comment handling. tdf#34800 (Joren De Cuyper)
- Comments to text ranges can now span over multiple paragraphs. tdf#53442 (Miklos Vajna)
- The DOCX import filter now handles non-bitmap drawingml shapes. tdf#43641 (Miklos Vajna)
Calc
- Embedding fonts in a Calc spreadsheet tdf#61073 (Noel Power)
- Add a Stepped Lines line type to Line and XY (Scatter) graphs tdf#61135 (Eric Seynaeve)
- New feature in Calc spreadsheet: Count the number of selected cells: tdf#61541 (Prashant Pandey)
- Import large HTML documents with more than 64k table cells. tdf#35756 (Eike Rathke)
Formula engine
- New spreadsheet function NUMBERVALUE as defined in ODF OpenFormula. tdf#57180 (Winfried Donkers, Eike Rathke)
- New spreadsheet function SKEWP as defined in ODF OpenFormula. tdf#60322 (Winfried Donkers)
- Import/export functions new in Excel 2013 for ODF OpenFormula compatibility. tdf#60032 (Eike Rathke)
The following functions are handled, name specialties are given as (in parentheses the Calc en-US UI name) [in brackets the ODFF name]ACOT, ACOTH, ARABIC, BASE, BINOM.DIST.RANGE (B) [BINOM.DIST.RANGE], BITAND, BITLSHIFT, BITOR, BITRSHIFT, BITXOR, COMBINA, COT, COTH, CSC, CSCH, DAYS, DECIMAL, FORMULATEXT (FORMULA) [FORMULA], GAMMA, GAUSS, IFNA, IMCOSH, IMCOT, IMCSC, IMCSCH, IMSEC, IMSECH, IMSINH, IMTAN, ISFORMULA, MUNIT, NUMBERVALUE, PDURATION (DURATION) [PDURATION], PERMUTATIONA, PHI, RRI, SEC, SECH, SHEET, SHEETS, SKEW.P (SKEWP) [SKEWP], UNICHAR, UNICODE, XOR
Impress
- Embedding fonts in a Impress presentation file tdf#61072 (Radek Doulik)
- See also Filters
- Now it’s easier to create slideshows from a series of pictures with the “Photo Album” feature. tdf#35546 (Gergő Mocsi)
- Find at: ▸ ▸
- Option to disable the bundled Presenter Console, which makes OpenLP integration much smoother (Manik Malhotra)
Draw
- See also Filters
Base
- Limit the results of a query by using the 'Limit' combobox on the Query Design Toolbar. (Tamás Zolnai)
- Find at: ▸ ▸
- New Query Properties Dialog in Query Design View for adding limit and distinct values properties. (Tamás Zolnai)
- Find at: ▸ ▸ ▸
- Query Properties Dialog can open from Query Design Toolbar (Issa Alkurtass, Tamás Zolnai)
- Find at: ▸ ▸
Math
- New Elements docking window added (Tomaž Vajngerl)
Chart
- Export of charts into .odc(ODF chart files) (Markus Mohrhard)
- To do so: switch into chart edit mode and then
- note: this is not meant to work as separate files or a separate module, but for import and export
- Inserting odc files into Calc sheets through ▸ ▸ (Markus Mohrhard)
- Charts can now be also exported to vector graphics (e.g. SVG,PDF) tdf#60137 (Tomaž Vajngerl)
Core
- Port Agenda Wizard from Java to python. Removed 11 files, 5345 lines of java code (Xisco Faulí)
- Port Web Wizard from Java to python. 140 files changed, 5076 (+), 11416 (-). Removed 55 files, 10426 lines of java code (Javier Fernandez)
- Text layout on Linux (and other X11 platforms) has been ported from the deprecated and unmaintained ICU LayoutEngine library to HarfBuzz, which provides better support for OpenType layout in general and complex scripts in particular, as well as noticeable performance improvements especially for fonts with big number of OpenType lookups (Khaled Hosny, Fridrich Štrba)
- Text layout on macOS has been ported from the deprecated (and 32-bit only) ATSUI framework to Core Text, which has the additional of supporting OpenType fonts for complex scripts like Arabic (Herbert Dürr – Apache, Tor Lillqvist, and Khaled Hosny)
Filters
- SVG export now also includes hyperlinks tdf#47576 (Moritz Kütt)
- Media file types Windows Media Audio (WMA), Windows Media Video (WMV), Advanced Audio Coding (AAC), Flash Video (FLV), Multiplexed OGG Video (OGX), RMI MIDI Audio and SND (SouND) Audio now accessible from tdf#36635,tdf#56832, tdf#62409 (Joel Madero, Samuel Mehrbrodt) ▸
Support for legacy Mac word-processing documents
Integration of libmwaw written by Laurent Alonso brings support for a multitude of pre-macOS Mac word-processing documents in different file-formats. More information in this blog Following are some examples of the conversion.
- Microsoft Word for Mac 5.1
- Write Now 4.0
- MacWrite Pro 1.5
- AppleWorks 6.0
Import and Export Filters
Numerous improvements have been made to the Microsoft OOXML Import and Export filters as well as for the Microsoft Office binary file formats and the RTF format. Details:
- OOXML Filters→ OOXML, DOCX, XLSX, PPTX, VML
- Microsoft Office binary file filters→ DOC, XLS, PPT, "ww8"
- RTF Filters→ RTF
Help
- Syntax highlighted Basic code examples in local help (David Vastag, Andras Timar)
GUI
Search Bar
- Make Find hotkey Ctrl + F a toggle command tdf#59101 (Joren De Cuyper)
- Add a “Close Search” button to the search bar tdf#58526 (Joren De Cuyper)
- Add “Match Case” option to the search bar tdf#63035 (Andrzej Hunt)
Recent Documents
- Add ▸ ▸ feature (Ariel Constenla-Haile - Apache)
- Access Recent Documents directly from the toolbar using a dropdown next to the "Open" button tdf#42418 (Jan Holesovsky)
- Improve display of filenames in the Recent Documents list (Samuel Mehrbrodt)
More well sized dialogs
The stream of dialogs that are well sized continues.
Other
- Delete multiple styles at once tdf#46718 (Joren De Cuyper)
- Experimental feature: Sidebar (Apache OpenOffice/IBM Symphony) with resizeable layout (LibreOffice team)
- New Gallery Images (IBM Symphony)
- Printer settings change tdf#61186 (Caolán McNamara)
- By default the printer settings (such as page size) are taken from the printer settings stored in the document ( ▸ ▸ ), not the Printer Properties ( ▸ ▸ ).
- To use the settings from the Printer Properties (previous behaviour), click the new "Use only paper size from printer preferences" checkbox on the "Options" tab.
Localization
- Much improved windows input method alignment using IMR_QUERYCHARPOSITION tdf#64298 (Yohei Yukawa – Google)
- Support font localized forms (locl) feature in Writer tdf#62154 (Caolán McNamara)
- Improved hyphenation in Calc and Draw (László Németh)
- More checking rules in pt-BR LightProof grammar checker (Raimundo Moura, João Mac-Cormick, Olivier Hallot).
Right-to-Left Support
Performance
- don't parse fourteen thousand lines of label descriptions on every startup, defer them until a sheet of labels is used (Matus Kukan)
- some pieces shipped in 4.0.x but never announced:
- asynchronous word-count - for large documents don't defer rendering the document and status bar until we've word-counted it - you may notice the status bar count spin after load, saves many seconds for large docs (Michael Meeks)
- use copy-on-write for RTF import stack - significantly accelerates large RTF document import (Michael Meeks)
- use a hash for auto-correction until it needs to be sorted - big speed wins for large auto-correction files (Michael Meeks)
Infrastructure
- Completed the port to gnumake, and removed all dmake makefiles and internal binary, this gives significant build parallelism and build-time improvements; see Björn Michaelsen’s blog – many people helped in this work (Bjoern Michaelsen, David Tardon, Peter Foley, Norbert Thiebaud, Michael Stahl, Matus Kukan, Tor Lillqvist, Stephan Bergmann, Lubos Lunak, Caolan McNamara, Mathias Bauer, Jan Holesovsky, Andras Timar, David Ostrovsky, Hans-Joachim Lankenau, and more...)
- Instead of passing a vast number of pre-processor defines -DFOO on every compiler command-line, along with a similarly large amount of makefile rules to set these for various files, we now use autoconf to produce many separate config_host/config_feature.h include files to include which avoid lots of this annoyance (Lubos Lunak)
- Converted large numbers of component instantiations to use the new, much cleaner and more readable service constructors (Noel Grandin)
- L10ntools refactoring, remove obsolete behaviours (methods and classes), deduplicate functions and increase the efficiency of merge of translations with removing some "working without result" code and with reducing the counts of searching between translated strings. (Tamás Zolnai)
Extensions
- Gallery improvements (Michael Meeks)
- Galleries can now be named with sensible names such as "mygallery.thm" rather than sg<integer> avoiding conflicts in the integer number-space and making it easier to package them.
- Galleries are created at compile time from a flat list of files - making it easy to extend them.
- Add ability to translate gallery files using a .desktop file syntax '.str' file placed next to the gallery thus
name[en_US]=My Gallery name[de]=Meine Gallery name[fr]=...
Feature removal / deprecation
- Support for macOS’s SDK v10.4 and 10.5 has been dropped ; support for building for a macOS 10.5 target has been restored on master towards 4.3 but official TDF releases will continue to require macOS 10.6 or later.
- As a consequence of the above, support for macOS for PowerPC has been dropped.
Bug fixes / commits
- This release includes over ten thousand commits from all contributors. Of these around four hundred and fifty have apache.org mail addresses.
- A very large number of bugs have been fixed, far too many to attempt an accurate listing; even counting them accurately is difficult, particularly as some bugs are really features, at time of writing we continue to push fixes etc. However a reasonable estimate is around three thousand bugs, of which four hundred came from authors with apache.org mail addresses.
- For more detail on commits, it is worth browsing cgit libreoffice-4-1 branch.
API Changes
C++ UNO language binding and URE libraries
- Headers for the
store
andreg
libraries were removed from the SDK c56013e97b7b5cf7a09a3ff99e0c172450dcb5a5- These libraries were never actually stable URE interfaces, so no client code should be using them.
- rtl/unload.h and everything defined in it related to unloading libraries (rtl_ModuleCount) is deprecated and will likely be removed in a future version b98617b3c86863fe5b4e3d9a96519707ae8cf58c 1268326e814837e111eaf320f72661f288393839
- removed the deprecated header cppuhelper/servicefactory.hxx f3051abde54e7a0bc3e2d184e31ac011e96d3e6b
- removed the deprecated header cppuhelper/bootstrap.hxx e3982fc537aa46595def41250526c331a02cd4e6
- removed the deprecated header rtl/memory.h 542ad7f1c5ac7794c42248ac13e9b33f84888490
- the overload
rtl::OUString::compareToAscii(asciiStr, maxLength)
is deprecated because it is very error prone 77c87c18697e19cb4606717af0e4b0e5ab2139bc - overloaded
rtl::OUString::valueOf
is deprecated, replacements arertl::OUString::number
,rtl::OUString::boolean
2b31e751db38e7ba0e2ec668520f50daf5eb25d5 751950edc84e0069e5bce1083160d46d9ba1bf33 struct oslDateTime
memberYear
was changed fromsal_uInt16
tosal_Int16
51745327e55ad5ffb5df620142c27c0ad956ef1d
Java
- deprecated com.sun.star.comp.helper.RegistryServiceFactory removed f3051abde54e7a0bc3e2d184e31ac011e96d3e6b
Python
- Due to changes for the new
type.rdb
format,uno.getConstantByName
no longer works for UNOIDL enum members, only for UNOIDL constants. Even thoughuno.getConstantByName
had only been documented to work for constants, existing code might have relied on the fact that it somewhat accidentally also worked for enum members. See also tdf#66031.
New style services
A large number of existing UNO services were converted to new-style services, which allow for more convenient and more type safe construction; this has no impact on compatibility of existing client code. (Noel Grandin)
Unpublishing UNO APIs
- com.sun.star.document.MediaDescriptor 765aca651a3d53b14dc3bfac0d05b36d4f01dbb4
Changes to UNO APIs
- com.sun.star.uno.XUnloadingPreference is deprecated 1268326e814837e111eaf320f72661f288393839
- com.sun.star.reflection.TypeDescriptionProvider / TypeDescriptionManager return values of different types via getByHierarchicalName() 2356a480fea6cac8cccaae85c9a2b6a312a9048c
- com.sun.star.frame.Desktop no longer includes interfaces com.sun.star.task.XStatusIndicatorFactory, com.sun.star.frame.XDispatchInformationProvider and com.sun.star.document.XEventBroadcaster bb121c864cc3c101ef733a4088c7ba3e36eced14
- com.sun.star.frame.DispatchRecorder service no longer includes interface com.sun.star.container.XIndexReplace 89d4ecc16e7e9501f357a26de50b3318d24446f3
- com.sun.star.linguistic2.LinguProperties service no longer includes interfaces com.sun.star.lang.XComponent and com.sun.star.beans.XFastPropertySet ef0af5032ad283ffb3b4521eb097a118d58f332a
- com.sun.star.scanner.ScannerManager service now based on com.sun.star.scanner.XScannerManager2 interface 51a2b574bf6e163d34d2301c2b526a09cd7ff1aa
- com.sun.star.text.textfield.SetExpression documentation was adapted to what the implementation actually does 3b2cbfaa5623ea8443ce1084ece642139de7539d
- com.sun.star.text.textfield.GetExpression documentation was adapted to what the implementation actually does ff3d85dbd72a0e547abe573465e65747ef985955
The UNO date & time-related structs were changed dd780228cca25dc818ca7fdb628ff607c109618e to accommodate:
- signed (negative) year
- nanosecond resolution of time
- support for timezones
Affected structs:
- com.sun.star.util.Date
- com.sun.star.util.Time
- com.sun.star.util.DateTime
- com.sun.star.util.DateTimeRange
- com.sun.star.util.Duration (not published)
New structs: WithTimezone variants.
: 43ea97e1f9cecd6c7cba8db35ce1307c858c6857
- service com.sun.star.awt.UnoControlDateFieldModel: properties Date, DateMin and DateMax changed to type com.sun.star.util.Date instead of long (integer).
- service com.sun.star.awt.UnoControlTimeFieldModel: properties Time, TimeMin and TimeMax changed to type com.sun.star.util.Time instead of long (integer).
- com.sun.star.awt.XDateField method parameters and return values changed from long to com.sun.star.util.Date
- com.sun.star.awt.XTimeField method parameters and return values changed from long to com.sun.star.util.Time
To adapt macros using XDateField please use reflection:
Dim OOoReflection As Object
Set OOoReflection = CreateUnoService("com.sun.star.reflection.CoreReflection")
Dim gD as Object
Set gD = OOoReflection.forName("com.sun.star.awt.XDateField").getMethod("getDate").ReturnType
if gD.TypeClass = com.sun.star.uno.TypeClass.LONG then
gbDateIsStruct = false
elseif gD.TypeClass = com.sun.star.uno.TypeClass.STRUCT And gD.name="com.sun.star.util.Date" then
gbDateIsStruct = true
else
MsgBox "Unknown situation"
end if
Changes to unpublished UNO APIs
The following unpublished UNO interfaces were changed:
- com.sun.star.sheet.XDataPilotResults has new getFilteredResults method ac569ed4cf5064248b9952f182f6572f20dc9bcbd6cfe8de74969928af13a04ebc5ae9dbc9274196
- com.sun.star.chart2.FormattedString service documentation was adapted to what the implementation actually does 5d1ad167294878789e644452f23ef883af93fe87
- the never documented com.sun.star.awt.DisplayAccess service was removed dde234b6955a421d51d2b37e4fc3972c660146f0
- use com.sun.star.awt.XToolkit.getWorkArea() instead 99d8ce56ecfc4af77cf9b2dc1120d821cba20bee
Removing deprecated configuration options
- Common/Gallery/ID_Dialog 8e7a1ad17cdcd677e40865daa9bbdbe69927360d
- Common/Image/Color/PosterColor
- Common/Image/Color/RotationAngle
- Common/Image/Color/LeftRight
- Common/Image/Color/BlackWhiteThreshold
- Common/Image/Effect/MosaicX_Tile
- Common/Image/Effect/MosaicY_Tile
- Common/Image/Effect/SolarizationThreshold
- Common/Image/Effect/TileX_Tile
- Common/Image/Effect/TileY_Tile
- Common/Internal/CurrentTempURL 31fedbe9f782976b6aa4615b6fd171ed52137c94
- Common/Internal/SendCrashMail
- Common/Internal/Slot
- Common/Internal/UseMailUI
- Common/OfficeObjects 8e7a1ad17cdcd677e40865daa9bbdbe69927360d
- Common/ExternalApps/ExternalMailer/UseDefaultMailer
- Common/ExternalApps/ExternalMailer/CommandProfile
- Common/ExternalApps/ExternalMailer/Profiles
- Common/MailCommandLineProfile
- Common/Path/Current/OfficeInstall
- Common/Path/Current/OfficeInstallURL
- Common/WorkingSet 55664c9bd2469d3e493e6f1b67fbb2f96500d492
- Inet/Settings/ooInetDNSServer ad8ca80c42d2e2b8996d3cf528183710e8ea3395
- Inet/Settings/ooInetSOCKSProxyName
- Inet/Settings/ooInetSOCKSProxyPort
- Java/Install/AdditionalClasspath 7c48a2a83f4a92200c7f2b0f259bf1684d253436
- Java/Install/AdditionalSearchPath
- Java/Install/ExcludeVersion
- Java/Install/InstallationPackage
- Java/Install/PackageInstallationDirectory
- Java/Install/RequiredVersion
- Java/Install/Vendor
- Java/Install/VerifiedVersion
- Java/Install/Version
- Java/VirtualMachine/DebugPort
- Java/VirtualMachine/DisableAsyncGC
- Java/VirtualMachine/EnableClassGC
- Java/VirtualMachine/EnableVerboseGC
- Java/VirtualMachine/EnvironmentType
- Java/VirtualMachine/JavaLibPath
- Java/VirtualMachine/JavaStackSize
- Java/VirtualMachine/MaxHeapSize
- Java/VirtualMachine/MinHeapSize
- Java/VirtualMachine/NativeStackSize
- Java/VirtualMachine/RunTimeLib
- Java/VirtualMachine/SystemClassPath
- Java/VirtualMachine/VMType
- Java/VirtualMachine/Verbose
- Java/VirtualMachine/VerifyMode
- Math/Misc/NoSymbolsWarning 1c86d43ca8bf6f1eac93791068ec016d5637efcd
uno executable
The uno
tool no longer supports -ro
and -rw
options 5a1d5113.
Instead use the following environment variables uno [...] -env:URE_MORE_TYPES=types.rdb -env:URE_MORE_SERVICES=services.rdb
javamaker / cppumaker
- the
javamaker
tool no longer supports the-B
option fc02ae8f825b9325c3f3d6b690a1bffeb0520253 - the
cppumaker
tool no longer supports the-B
option 02a8e8acd1f0cbb512868fd9849363f9d069db95
idlc
- constants outside of constant groups are no longer supported in UNO IDL 3b269d6d2d679536e9cbabc5b2d2339ef4bd75d2
regcomp
- the regcomp tool was removed from the UNO Runtime Environment b7215602c00f392e30e0e23e21f32dd37fba07dd
Most Annoying Bugs
The following annoying bugs were not fixed in time and will be addressed in the regular bug fix releases:
some fields don't fit into Options dialog (tdf#61544)fixed in 4.1.1letters move around during editing/typing (tdf#64957)fixed in 4.2.3encrypted documents can't be opened on Linux (tdf#64916)fixed in 4.1.1Calc transforms number of spaces into a single space during the file export (tdf#67094)fixed in 4.1.1if you have no menus on a Debian/Ubuntu-based system or trouble with the install, you likely didnt uninstall the distro version of LibreOffice completely. You will need to make sure all the binary packages listed here: https://launchpad.net/ubuntu/+source/libreoffice are uninstalled. On Ubuntu releases, executingfixed in 4.1.1sudo apt-get purge 'libreoffice*'; sudo apt-get purge openoffice.org-dtd-officedocument1.0 python-uno python3-uno uno-libs3 ure
should do that.database: accessing a timestamp column through JDBC, only the date part is read (tdf#67387)fixed in 4.1.1