Skip to content

Files

Latest commit

author
Noel Grandin
Mar 10, 2025
22f46bd · Mar 10, 2025

History

History

sfx2

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 15, 2024
Aug 17, 2017
Jan 24, 2025
Feb 19, 2025
Feb 11, 2025
Mar 10, 2025
Feb 17, 2025
Sep 29, 2022
Jul 21, 2017
Nov 9, 2022
Apr 21, 2017
Apr 21, 2017
Nov 11, 2022
Apr 21, 2017
Nov 9, 2022
Nov 21, 2024
May 3, 2024
Jan 22, 2023
Sep 24, 2024
Nov 9, 2018
Feb 26, 2025
Feb 6, 2012
Sep 29, 2022
Dec 15, 2024
Sep 15, 2015
Apr 19, 2021
Jan 30, 2025
Nov 6, 2023

Legacy Framework

SFX is the "old" framework, used for historical reasons.

An attempt of documentation of this module is located in [git:sfx2/doc].

It contains base classes for document model, view and controller, used by "old" applications like sw, sc, sd (while "new" applications are based on the "new" UNO based framework in "framework").

The SFX framework is based on dispatching slots identified by integers (SlotIDs) to SfxShells, and there is a dedicated IDL compiler (svidl) involved that generates C++ slot headers from SDI files in modules' sdi/ subdirectory.

Documentation about SFX dispatch, SDI etc.: https://wiki.openoffice.org/wiki/Framework/Article/Implementation_of_the_Dispatch_API_In_SFX2

Document load/save code is maintained in [git:sfx2/source/doc/docfile.cxx] SfxMedium class, which handles all the twisty load and save corner cases.

[git:sfx2/source/appl/sfxhelp.cxx] Start procedure for the online help viewer top level window; handling of help URL creation and dispatch.

There are also some UNO services here that could really be implemented anywhere, e.g. the DocumentProperties or DocumentMetadataAccess.

Notable files: sfx2/source/dialog/backingwindow.cxx Startcenter buttons and the corresponding event handler.