ooxml support maintenance... vertcal text in a table ms ofce vertcal text for most of the container...
TRANSCRIPT
![Page 1: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/1.jpg)
Collabora Productivity www.collaboraoffice.com
Collabora Productivity
OOXML support maintenance
By Tamás ZolnaiSofware Engineer at Collabora [email protected]
![Page 2: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/2.jpg)
www.collaboraoffice.com
Introducton
Why OOXML compatbility is an issue?
● Migraton or mixed environment
● Replacement of MSO
What will I speak about?
● Areas of comp. issues
● Improvements done in last year
● Future possibilites
![Page 3: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/3.jpg)
Form controls
![Page 4: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/4.jpg)
Collabora Productivity www.collaboraoffice.com
Form control example
![Page 5: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/5.jpg)
www.collaboraoffice.com
Form controls
LibreOfce
● Lots of diferent control types: opton buton, radio buton, pushbuton, combobox, listbox, picture buton, etc
● Floatng objects: can be anchored as text or as a shape object
MS Ofce
● Three kind of controls: legacy, ActveX and content
● Content control: new controls, control types: plain text, image, checkbox, combobox, listbox, date picker
● ActveX controls: foatng, more visual propertes (bbackground color, triplestate, wordwrap, image, alignment)
![Page 6: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/6.jpg)
Collabora Productivity www.collaboraoffice.com
MSO control types
![Page 7: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/7.jpg)
www.collaboraoffice.com
What’s done about form controls?
ActieX controls
● Now imported from DOCX fles (btdf#91384)
● Before only XSLX and PPTX was supported● LO form controls are exported as MSO ActveX controls
(btdf#50097)
● ActveX controls are matching the best to LO form controls● Floatng objects, similar additonal propertes, similar types● One serious limitaton is the missing preset items for list
controls● Except date picker, which has a beter matching with content
control
![Page 8: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/8.jpg)
www.collaboraoffice.com
Implementaton details
Positon, size and anchor
● Specifed in /word/content.xml, defned as a VML shape
● A bit diferent XML tags when the control is a foatng object (bpict or object context)
Control propertes
● Binary fle inside DOCX, /word/actveX/actveX1.bin
● /word/actveX/actveX1.xml contains some optons how to read that binary
● This binary data seems to be picked up from the DOC binary format
![Page 9: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/9.jpg)
www.collaboraoffice.com
Future possibilites
Check specifc controls whether ActieX the best match
● Maybe list controls (bcombobox and listbox) would be beter to save as content control (bbecause of preset items)
![Page 10: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/10.jpg)
www.collaboraoffice.com
Future possibilites
Small issues in ActieX control support (easy hacks)
● ActveX control locked / read only property is not imported (btdf#111417)
● Additonal picture of buton control is not saved to DOCX
● Text color of ActveX controls are not saved to DOCX
![Page 11: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/11.jpg)
Vertcal text in a table
![Page 12: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/12.jpg)
Collabora Productivity www.collaboraoffice.com
Vertcal text in MSO
![Page 13: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/13.jpg)
www.collaboraoffice.com
Vertcal text in a table
MS Ofce
● Vertcal text for most of the container objects (btables, shapes, text boxes)
● Two supported rotaton angle (b90° and 270°)
LibreOfce
● Has some vertcal text support, but this is related to diferent language scripts (bright-to-lef, top-to-botom, etc)
● Needed to have an actual rotaton property which is independent of other font script propertes.
![Page 14: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/14.jpg)
www.collaboraoffice.com
What’s done about iertcal text?
Implemented text rotaton for Impress tables
● Now text rotaton is imported form PPTX fles (btdf#100926)
● The same two rotaton angles are supported
● By now it’s only available via UNO API, can’t set on the GUI
![Page 15: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/15.jpg)
www.collaboraoffice.com
Implementaton details
Diferent leiels of text rotaton implementaton
● Low level code was already there (bCalc has text rotaton in cells)
● Medium level was added during implementaton.
● Editengine now handles TopToBotom and BotomToTop text.● Both during editng and in non-actve mode.
● Heigher level
● PPTX import flter now handles the vertcal propertes (bvert, vert270)
● Calc table cells has this property already, so we did not need to extend API or ODF.
![Page 16: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/16.jpg)
www.collaboraoffice.com
Future possibilites
GUI opton for iertcal text in Impress tables
● tdf#111633: Missing GUI opton for text rotaton inside Impress table
Extend iertcal text support for other objects
● Writer tables
● They have a diferent implementaton (bsw core)● ODF property is already there
● Shapes, text boxes, text frames
![Page 17: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/17.jpg)
Piiot tables
![Page 18: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/18.jpg)
Collabora Productivity www.collaboraoffice.com
A pivot table example
![Page 19: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/19.jpg)
www.collaboraoffice.com
Piiot table
In general
● Special table to organize and aggregate data
● Complex feature supported both by LO and MSO
Issues
● Lots of issues related to MSO compatbility
● Most serious type: corrupton and data loss afer RT in Calc
![Page 20: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/20.jpg)
www.collaboraoffice.com
What’s done about piiot tables?
Performance improiement (tdf#102694)
● Pivot cache behind the pivot table
● Groups are shared between tables
● Specifc test document import tme 20 min → 0,5 min
Larger and smaller fxes (stll working on that)
● Pivot table’s layout was wrongly exported (btdf#112946)
● Corrupted XLSX was generated by LO (btdf#112893)
● Filtering of diferent felds were not preserved (btdf#107711)
![Page 21: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/21.jpg)
Collabora Productivity www.collaboraoffice.com
Filtering of a pivot feld
![Page 22: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/22.jpg)
www.collaboraoffice.com
Implementaton details
MSO piiot table
● Diferent table layout modes: outline, tabular and compact.
● LO supports outline and tabular form, but not the compact mode
● Pivot table defniton and pivot cache
● Pivot table: felds, layout, etc● Cache contains the shared items, groups, etc.● Redundancy in pivot cache defniton for robustness (brepair
dialog)
![Page 23: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/23.jpg)
www.collaboraoffice.com
Future possibilites
Support compact mode in LO
● It needs to have a diferent pivot table output, with some additonal butons
● LO already support outline and tabular mode, so might be easy to add a new mode (be.g. ODF extension)
Improie performance of XLSX import
● UNO API usage seems slow
● Also pivot cache handling might has issues
![Page 24: OOXML support maintenance... Vertcal text in a table MS Ofce Vertcal text for most of the container objects (btables, shapes, text boxes) Two supported rotaton angle (b90° and 270°)](https://reader033.vdocuments.site/reader033/viewer/2022053010/5f0db7477e708231d43bbad5/html5/thumbnails/24.jpg)
Collabora Productivity www.collaboraoffice.com
Outline mode vs compact mode