Open-source News

Mesa Zink Change Leads To 50% Reduction In Memory Utilization

Phoronix - Mon, 04/03/2023 - 22:18
A rather profound change is pending for Mesa 23.1 that should lead to this OpenGL-on-Vulkan driver's memory utilization being cut in half for most games without negatively impacting the performance and likely closing a number of bugs in the process...

Rust-Written Coreutils v0.0.18 Released With Improved GNU Compatibility

Phoronix - Mon, 04/03/2023 - 21:05
One of several notable open-source projects to rewrite key Linux software components with the memory-safety-focused Rust programming language is uutils as an alternative to GNU Coreutils. Released this weekend was uutils v0.0.18 that continues to enhance compatibility with the upstream GNU Coreutils programs...

Intel Prepares AMX-COMPLEX Support For GCC & LLVM Compilers

Phoronix - Mon, 04/03/2023 - 20:36
Intel compiler engineers have sent out the initial GCC and LLVM/Clang compiler patches for enabling the newly-disclosed AMX-COMPLEX extension with next year's Xeon Scalable "Granite Rapids" processors...

Slint 1.0 Released As Rust-Focused Graphical Toolkit

Phoronix - Mon, 04/03/2023 - 19:03
In addition to today marking the release of Qt 6.5 LTS, Slint 1.0 has been released as a Rust-focused graphical toolkit that also supports bindings for other programming languages. Slint aims to deliver efficient and fluid GUIs from embedded to desktop and features its own markup language...

Apache IoTDB 1.1 Released For Open-Source Time-Series Database

Phoronix - Mon, 04/03/2023 - 18:53
Apache IoTDB 1.1 has been released today as this database for the "Internet of Things" as a high performance time-series database solution. Like with most time-series databases, ApAche IoTDB aims to provide a high performance solution for data management and analysis from the edge to the cloud with high throughput, efficient data storage, and robust open-source software integration...

WebKitGTK Working On Accelerated Composited Rendering With DMA-BUF

Phoronix - Mon, 04/03/2023 - 18:36
While WebKitGTK already provides accelerated compositing support, there are different code paths depending upon whether Wayland or X11 are used and various other complexities involved as well as differences between using the GTK3 and GTK4 toolkits. WebKitGTK developers have been working to instead shift their multiple different code paths toward one route by way of DMA-BUF...

Qt 6.5 LTS Released With Many Improvements

Phoronix - Mon, 04/03/2023 - 18:18
Out today is the Qt 6.5 toolkit that is also now the second Qt6 long-term support release...

Handle any type of document with this open source tool

opensource.com - Mon, 04/03/2023 - 15:00
Handle any type of document with this open source tool hej Mon, 04/03/2023 - 03:00

Collabora Online supports all sorts of files and formats. How does this open source office suite do in terms of interoperability, though? This article takes a closer look at Collabora Online's ability to exchange complex text documents and spreadsheets with different office suites such as Microsoft 365 and Google Workspace.

Collabora Online is an open source office suite for the cloud or on-premises that protects your privacy and allows you to keep full control of your data. The software is developed by Collabora Productivity Ltd, in Cambridge, with its team working in locations worldwide. Collabora Online is based on LibreOffice Technology and is primarily licensed under the Mozilla Public License 2.0.

Collabora Online works in any modern web browser, requiring no additional plug-ins or add-ons. It features a complete cloud-based office suite, including a word processor (Writer), spreadsheet program (Calc), presentation software (Impress), and an application for designing vector graphics (Draw).

This article looks at some of the new Collabora Online's interoperability features, including macros, dynamic font loading, and Sparklines support for the spreadsheet application. These features extend the existing great handling of Microsoft file formats.

What is interoperability, and why does it matter?

In general, interoperability refers to the ability of different devices or applications to work together and exchange data seamlessly. In the context of office suites, interoperability is mostly about file formats. Users should be able to open, edit, and save .doc and .docx, .xls and .xlsx, .odt, and .ods documents, regardless of whether they were created with Microsoft Word, Apple iWork, or LibreOffice.

The same is true for online office suites. By ensuring that files can be exchanged between Microsoft 365, Google Workspace, and Collabora Online, interoperability helps to increase productivity and facilitate collaboration. All online office suites can save files in various formats. They can also import and export documents, spreadsheets, and presentations originally created in other office suites.

Managing macros and ensuring smooth document handling

Something that often causes problems are documents with macros. They're usually developed in a programming language specific to a particular application. While recording and editing macros in Google Sheets is possible, macros implemented in Visual Basic for Applications (VBA) in Microsoft Office cannot be converted and must be re-created with Google Apps Script. Opening a Word document with VBA macros produces errors and informs users that the macros will be ignored or disabled.

Collabora Online supports macros and runs them on the server side inside a container. The feature is disabled by default, and admins must explicitly activate it in the coolwsd.xml configuration file. After that, users can choose to allow macros when loading a document. There are several limitations, though. For example, it's not possible to access database sources, access other (external) documents, call external programs, use control shapes, and so on. Over the years, the amount of code and objects supported by Collabora Online has increased significantly, thanks to an active community and contributions from customers and partners.

Collabora Online: dynamic font loading

Another critical aspect of interoperability in office suites is fonts. Working with documents containing fonts that aren't available on a particular platform can result in errors, unexpected formatting changes, and even the complete loss of content.

Microsoft Office documents often use default fonts that aren't available in Google Workspace or Collabora Online. To address this issue, the office suites often suggest substituting missing fonts. That's often useful, but it sometimes leads to a bad result.

As of version 22.05.7 (released in November 2022), Collabora Online can list missing fonts and suggest substitutions. It can also download the necessary fonts and add them to the server. Everything happens dynamically, without downtime. New fonts become available in editing sessions within minutes for optimal interoperability.

Image by:

(Heike Jurzik, CC BY-SA 4.0)

To achieve that, information about missing fonts is tracked down by an API while the document is being rendered. A JSON file stores the list of fonts that need to be added. The coolwsd.xml file (the server-side settings) points to that JSON file. It checks for modifications once every minute and downloads the missing fonts.

Exploring Sparklines: displaying data trends in spreadsheets

Sparklines are tiny charts that fit inside a single cell of your worksheet, visualizing trends in data. Those miniature charts come in different styles, including lines, bars, and columns. Sparklines also support different colors and horizontal/vertical axis. Unlike larger charts that show as much data as possible and are separated from the text flow, Sparklines are reduced to the core values and typically placed next to or behind the data itself in the same cell. Sparklines are usually defined for one cell, but it's possible to group multiple Sparklines that share the same data range and properties for rendering.

Image by:

(Heike Jurzik, CC BY-SA 4.0)

Our favorite resources about open source Git cheat sheet Advanced Linux commands cheat sheet Open source alternatives Free online course: RHEL technical overview Check out more cheat sheets

Sparklines are a compact reference and offer a quick way to illustrate trends, patterns, statistical anomalies, increases, and decreases, all while avoiding the complexity of a full chart. Here are some different Sparkline types:

  • Line Chart: Connects points by line segments from left to right and is particularly useful for displaying data that changes over a certain time.
  • Bar Chart: A graphical representation of data using horizontally aligned bars, often used to compare numerical data.
  • Column Chart: Ideal for comparing a series of values against each other; the columns are vertical, and their lengths indicate the relative size/value of the data. Column charts are often used to represent data of distinct categories or groups.

To create a Sparkline, you first define an input data range for the function (two or more cells in a column or a row). You also decide on the cell where you want the Sparkline to appear. In most spreadsheet applications, you right-click the mini chart to adjust its properties, select the chart type, and choose the colors. Collabora Online offers a separate dialog box for this, making it easy and convenient to change the style of the miniature charts.

Exchanging documents with Sparklines between the three online offices is possible without losing the graphs and their formatting. If you want to share spreadsheets between Microsoft 365, Google Workspace and Collabora Online, make sure to use the Microsoft format .xlsx for import and export, since Google Sheets doesn't handle .ods files very well.

Document exchange is easy

Collabora Online provides several new interoperability features, making exchanging documents with other office suites easy. Macro support, dynamic font loading, and Sparklines ensure seamless document handling, avoiding unexpected formatting changes. Use Collabora Online to unify and simplify your office work.

Explore Collabora Online's interoperability and make documents and spreadsheets compatible across all office suites.

Business Alternatives Tools LibreOffice What to read next This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License. Register or Login to post a comment.

Pages