In LibreOffice C++ code, there are many cases where developers have string literals that should be used in the code. If these are messages in the graphical user interface (GUI), they should be added to the translatable messages. But, there are many cases where the string literals has nothing to do with other languages, and they should be used as they are. In this case, enumarrays are helpful. Although they are not limited to string literals, and can be used for any data. Using Symbolic Links ...| LibreOffice Development Blog
enum class (also named scoped enum) is preferred to plain enum inherited from C. The task here is to convert the old enums to enum class.| LibreOffice Development Blog
If you are working with LibreOffice code, trying to understand the code, fix bugs, or implement new features, you will need to debug the code at some point. Here are some general tips for a good debugging experience. Let’s start from the platform Choose the Right Debug Platform Choosing a platform to debug usually depends on the nature of the problem. If the problem is Windows-only, you need a Windows environment to build and debug the problem. But, if the problems can be reproduced everywh...| LibreOffice Development Blog
Here I discuss how to use STL functions for better processing of data, and avoid loops.| LibreOffice Development Blog
LibreOffice handles different units and this is done via o3tl::convert() function to do unit conversion. Here we discuss why using it.| LibreOffice Development Blog
As a LibreOffice user, you have certainly seen the LibreOffice splash screen. It is displayed when you open LibreOffice, it has a progress bar, and when loading the application is finished it goes away. Here we discuss a suggested improvement for this splash screen. Current Implementation Approach Currently, the splash screen is implemented by creating […]| LibreOffice Development Blog
Here I discuss some notes for the newcomers on how to better understand the existing LibreOffice code, and provide better patches.| LibreOffice Development Blog
Here I discuss how to use VCL Weld to create custom message boxes in LibreOffice to interact with users, and go beyond simple yes/no dialogs.| LibreOffice Development Blog
In this blog post, I briefly discuss the year 2024 around the LibreOffice development blog, and the outlook for 2025.| LibreOffice Development Blog
LibreOffice uses VCL (Visual Class Library) as its internal widget toolkit to create the graphical user interface (GUI) of LibreOffice. Here I discuss how to use UI files designed with Glade interface designer to create LibreOffice user interfaces with a framework called weld, which is part of LibreOffice core source code. Creating a Minimal VCL Weld Application In my previous blog post, you can find out about the structure of a minimal VCL application. Please refer to the below blog post to ...| LibreOffice Development Blog