ReleaseNotes/4.1

Writer

 * Images embedded in writer can now be rotated easily in 90 degree increments (Tomaž Vajngerl)
 * write-rotate-ui.png


 * Writer textframes now support having a gradient as background (Miklós Vajna)
 * Swxtextframe-gradient-ui.png


 * Embedding fonts in a Writer document (Luboš Luňák)


 * The comments bar now can be easily toggled with the a button in the ruler. (Rodolfo Ribeiro Gomes)


 * On Windows, modern IMEs show their suggestion windows at more easy-to-read position. (Yohei Yukawa - Google)


 * Import and export of graphical bullets of numberings in the DOC, DOCX and RTF filters (Jian Hong Cheng - Apache: DOC part, Miklos Vajna: DOCX, RTF parts)


 * Improved Footnote and footer comment handling. (Joren De Cuyper)


 * Comments to text ranges can now span over multiple paragraphs. (Miklos Vajna)


 * The DOCX import filter now handles non-bitmap drawingml shapes. (Miklos Vajna)

Calc

 * Embedding fonts in a Calc spreadsheet (Noel Power)
 * Add a Stepped Lines line type to Line and XY (Scatter) graphs (Eric Seynaeve)
 * New feature in Calc spreadsheet: Count the number of selected cells: (Prashant Pandey)
 * Import large HTML documents with more than 64k table cells. (Eike Rathke)

Formula engine

 * New spreadsheet function NUMBERVALUE as defined in ODF OpenFormula. (Winfried Donkers, Eike Rathke)
 * New spreadsheet function SKEWP as defined in ODF OpenFormula. (Winfried Donkers)
 * Import/export functions new in Excel 2013 for ODF OpenFormula compatibility. (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 (Radek Doulik)
 * See also Filters
 * Now it’s easier to create slideshows from a series of pictures with the “Photo Album” feature.  (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) (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) Ar script osx.png

Filters

 * SVG export now also includes hyperlinks  (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 ,,  (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)

Search Bar

 * Make Find hotkey a toggle command  (Joren De Cuyper)
 * Add a “Close Search” button to the search bar (Joren De Cuyper)
 * Add “Match Case” option to the search bar (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 (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 (Joren De Cuyper)
 * Experimental feature: Sidebar (Apache OpenOffice/IBM Symphony) with resizeable layout (LibreOffice team)
 * New Gallery Images (IBM Symphony)
 * Printer settings change (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 (Yohei Yukawa – Google)
 * Support font localized forms (locl) feature in Writer (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

 * Improved Kashida in justified text (Ahmad Al-Harthi)

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
name[en_US]=My Gallery name[de]=Meine Gallery name[fr]=...
 * Gallery improvements (Michael Meeks)
 * Galleries can now be named with sensible names such as "mygallery.thm" rather than sg 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

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.

C++ UNO language binding and URE libraries

 * Headers for the  and   libraries were removed from the SDK
 * 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
 * removed the deprecated header cppuhelper/servicefactory.hxx
 * removed the deprecated header cppuhelper/bootstrap.hxx
 * removed the deprecated header rtl/memory.h
 * the overload  is deprecated because it is very error prone
 * overloaded  is deprecated, replacements are  ,
 * member  was changed from   to

Java

 * deprecated com.sun.star.comp.helper.RegistryServiceFactory removed

Python

 * Due to changes for the new  format,   no longer works for UNOIDL enum members, only for UNOIDL constants.  Even though   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.

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

Changes to UNO APIs

 * com.sun.star.uno.XUnloadingPreference is deprecated
 * com.sun.star.reflection.TypeDescriptionProvider / TypeDescriptionManager return values of different types via getByHierarchicalName
 * 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
 * com.sun.star.frame.DispatchRecorder service no longer includes interface com.sun.star.container.XIndexReplace
 * com.sun.star.linguistic2.LinguProperties service no longer includes interfaces com.sun.star.lang.XComponent and com.sun.star.beans.XFastPropertySet
 * com.sun.star.scanner.ScannerManager service now based on com.sun.star.scanner.XScannerManager2 interface
 * com.sun.star.text.textfield.SetExpression documentation was adapted to what the implementation actually does
 * com.sun.star.text.textfield.GetExpression documentation was adapted to what the implementation actually does

The UNO date & time-related structs were changed to accommodate: Affected structs: New structs: WithTimezone variants.
 * signed (negative) year
 * nanosecond resolution of time
 * support for timezones
 * 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)


 * 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
 * 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:

Changes to unpublished UNO APIs
The following unpublished UNO interfaces were changed:


 * com.sun.star.sheet.XDataPilotResults has new getFilteredResults method
 * com.sun.star.chart2.FormattedString service documentation was adapted to what the implementation actually does
 * the never documented com.sun.star.awt.DisplayAccess service was removed
 * use com.sun.star.awt.XToolkit.getWorkArea instead

Removing deprecated configuration options

 * Common/Gallery/ID_Dialog
 * 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
 * Common/Internal/SendCrashMail
 * Common/Internal/Slot
 * Common/Internal/UseMailUI


 * Common/OfficeObjects
 * Common/ExternalApps/ExternalMailer/UseDefaultMailer
 * Common/ExternalApps/ExternalMailer/CommandProfile
 * Common/ExternalApps/ExternalMailer/Profiles
 * Common/MailCommandLineProfile
 * Common/Path/Current/OfficeInstall
 * Common/Path/Current/OfficeInstallURL


 * Common/WorkingSet


 * Inet/Settings/ooInetDNSServer
 * Inet/Settings/ooInetSOCKSProxyName
 * Inet/Settings/ooInetSOCKSProxyPort


 * Java/Install/AdditionalClasspath
 * 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

uno executable
The  tool no longer supports   and   options.

Instead use the following environment variables

javamaker / cppumaker

 * the  tool no longer supports the   option
 * the  tool no longer supports the   option

idlc

 * constants outside of constant groups are no longer supported in UNO IDL

regcomp

 * the regcomp tool was removed from the UNO Runtime Environment

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 fixed in 4.1.1
 * letters move around during editing/typing fixed in 4.2.3
 * encrypted documents can't be opened on Linux  fixed in 4.1.1
 * Calc transforms number of spaces into a single space during the file export fixed in 4.1.1
 * if 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, executing  should do that. fixed in 4.1.1
 * database: accessing a timestamp column through JDBC, only the date part is read fixed in 4.1.1