office-gobmx/sd/sdi/sdslots.sdi
Sarper Akdemir 2919194762 tdf#33603: sd: rework notes panel
To be able to support various dispatch commands, sidebar, proper
user configuration, and more - reworked the previous notes panel
implementation as a sd::View/sd::ViewShell pair that plays nice
with Impress framework.

To be able to support TextObjectBar(Shell) functionality, without
having TextObjectBar as a SubShell (In the current sd::framework
implementation AFAICS, SubShells are only possible for the
MainViewShell - this doesn't work for notes panel which is never
used as the MainViewShell.).

A workaround is implemented where NotesPanel inherits dispatching
slots from TextObjectBar, and for these inherited slots forwards
the calls to TextObjectBar's implementation.

This workaround could be removed if/when, SubShell support
outside of MainViewShell is implemented.

Known issues/TODO:
- Drag & Drop crashes / doesn't work.

- Some notes placeholder syncing problems on page change, edit mode
  change.

- A rendering issue related to resizing when ArrangeGUIElements
  isn't called on resize.

Change-Id: I588a4854fbedf6556e001fee1693b32410cbc23f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165770
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2024-04-11 11:02:01 +02:00

92 lines
2.9 KiB
Text

/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
module StarDraw
[
SlotIdFile( "sdslots.hrc" )
]
{
include "sfxitems.sdi"
include "sfx.sdi"
include "svxitems.sdi"
include "xoitems.sdi"
include "svx.sdi"
enum FadeEffect
{
FADE_EFFECT_NONE ,
FADE_EFFECT_FADE_FROM_LEFT ,
FADE_EFFECT_FADE_FROM_TOP ,
FADE_EFFECT_FADE_FROM_RIGHT ,
FADE_EFFECT_FADE_FROM_BOTTOM ,
FADE_EFFECT_FADE_TO_CENTER ,
FADE_EFFECT_FADE_FROM_CENTER ,
FADE_EFFECT_MOVE_FROM_LEFT ,
FADE_EFFECT_MOVE_FROM_TOP ,
FADE_EFFECT_MOVE_FROM_RIGHT ,
FADE_EFFECT_MOVE_FROM_BOTTOM ,
FADE_EFFECT_ROLL_FROM_LEFT ,
FADE_EFFECT_ROLL_FROM_TOP ,
FADE_EFFECT_ROLL_FROM_RIGHT ,
FADE_EFFECT_ROLL_FROM_BOTTOM ,
FADE_EFFECT_VERTICAL_STRIPES ,
FADE_EFFECT_HORIZONTAL_STRIPES ,
FADE_EFFECT_OPEN_VERTICAL ,
FADE_EFFECT_CLOSE_VERTICAL ,
FADE_EFFECT_OPEN_HORIZONTAL ,
FADE_EFFECT_CLOSE_HORIZONTAL ,
FADE_EFFECT_CLEAR_AWAY ,
FADE_EFFECT_OVERLAY
}
enum FadeSpeed
{
FADE_SPEED_SLOW ,
FADE_SPEED_MEDIUM ,
FADE_SPEED_FAST
}
enum PresChange
{
PresChange::Manual,
PresChange::Auto,
PresChange::SemiAuto
};
// Items
item UINT32 DiaTimeItem ;
item PresChange DiaAutoItem ;
item FadeEffect DiaEffectItem ;
item FadeSpeed DiaSpeedItem ;
include "sdraw.sdi"
include "app.sdi"
include "_drvwsh.sdi"
include "drviewsh.sdi"
include "outlnvsh.sdi"
include "drtxtob.sdi"
include "drbezob.sdi"
include "_docsh.sdi"
include "docshell.sdi"
include "drgrfob.sdi"
include "SlideSorterController.sdi"
include "ViewShellBase.sdi"
include "mediaob.sdi"
include "tables.sdi"
include "NotesPanelView.sdi"
}