LibreOffice Module forms (master) 1
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
frm Namespace Reference

ListBox is a bit confusing / different from other form components, so here are a few notes: More...

Namespaces

namespace  AttributeHandlerFactory
 
namespace  ResourceManager
 

Classes

class  AttributeHandler
 
struct  AttributeState
 
class  BooleanHandler
 
class  CachedRowSet
 caches a result set obtained from a SQL statement More...
 
struct  CachedRowSet_Data
 
class  CheckBoxColumn
 
class  ComboBoxColumn
 
class  ConcreteInfoService
 
class  ControlFeatureInterception
 helper class for controls which allow some of their features to be intercepted by external instances More...
 
class  ControlModelLock
 class whose instances lock an OControlModel More...
 
class  CurrencyFieldColumn
 
class  DateFieldColumn
 
class  DocumentCommandImageProvider
 
struct  ElementDescription
 
class  EscapementHandler
 
class  FontControlModel
 
class  FontSizeHandler
 
class  FormattedFieldColumn
 
class  FormOperations
 
class  HtmlSuccessfulObj
 
class  IEngineStatusListener
 
class  IEngineTextChangeListener
 
class  IFeatureDispatcher
 
class  ImageModelMethodGuard
 
class  ImplNavToolBar
 
class  IMultiAttributeDispatcher
 
class  IPropertyBagHelperContext
 
class  ITextAttributeListener
 
class  ITextSelectionListener
 
class  LineSpacingHandler
 
class  ListBoxColumn
 
class  NavigationToolBar
 
class  NumericFieldColumn
 
class  OAsianFontLayoutDispatcher
 
class  OAttributeDispatcher
 
class  OBoundControl
 
class  OBoundControlModel
 
class  OButtonControl
 
class  OButtonModel
 
class  OCheckBoxControl
 
class  OCheckBoxModel
 
class  OClickableImageBaseControl
 
class  OClickableImageBaseModel
 
class  OClipboardDispatcher
 
class  OCloneableAggregation
 
class  OComboBoxControl
 
class  OComboBoxModel
 
class  OComponentEventThread
 
class  OControl
 
class  OControlModel
 
class  OCurrencyControl
 
class  OCurrencyModel
 
class  ODatabaseForm
 
class  ODateControl
 
class  ODateModel
 
class  OEditBaseModel
 
class  OEditControl
 
class  OEditModel
 
class  OEntryListHelper
 
class  OErrorBroadcaster
 
class  OFileControlModel
 
class  OFilterControl
 
class  OFixedTextModel
 
class  OFormattedControl
 
class  OFormattedFieldWrapper
 
class  OFormattedModel
 
class  OFormComponents
 
class  OFormNavigationHelper
 
class  OFormNavigationMapper
 helper class mapping between feature ids and feature URLs More...
 
class  OFormsCollection
 
class  OFormSubmitResetThread
 
class  OGridColumn
 
class  OGridControlModel
 
class  OGroup
 
class  OGroupBoxControl
 
class  OGroupBoxModel
 
class  OGroupComp
 
class  OGroupCompAcc
 
class  OGroupCompAccLess
 
class  OGroupCompLess
 
class  OGroupManager
 
class  OHiddenModel
 
class  OImageButtonControl
 
class  OImageButtonModel
 
class  OImageControlControl
 
class  OImageControlModel
 
class  OImageProducerThread_Impl
 
class  OInterfaceContainer
 
class  OLimitedFormats
 maintains translation tables format key <-> enum value More...
 
class  OListBoxControl
 
class  OListBoxModel
 
class  ONavigationBarControl
 
class  ONavigationBarModel
 
class  ONavigationBarPeer
 
class  ONumericControl
 
class  ONumericModel
 
class  OParagraphDirectionDispatcher
 
class  OParametrizedAttributeDispatcher
 
class  OPasteClipboardDispatcher
 
class  OPatternControl
 
class  OPatternModel
 
class  ORadioButtonControl
 
class  ORadioButtonModel
 
class  OReferenceValueComponent
 an OBoundControlModel which features the exchange of a reference value More...
 
class  ORichTextControl
 
class  ORichTextFeatureDispatcher
 
class  ORichTextModel
 
class  ORichTextPeer
 
class  ORichTextUnoWrapper
 
class  OScrollBarModel
 
class  OSelectAllDispatcher
 
class  OSpinButtonModel
 
class  OTextDirectionDispatcher
 
class  OTimeControl
 
class  OTimeModel
 
class  ParaAlignmentHandler
 
class  ParagraphDirectionHandler
 
class  PatternFieldColumn
 
class  PropertyBagHelper
 
class  PropertyInfoService
 
class  RecordPositionInput
 
class  ResetHelper
 
class  RichTextControl
 
class  RichTextControlImpl
 
class  RichTextEditSource
 
class  RichTextEngine
 
class  RichTextViewPort
 
class  SlotHandler
 
class  TextFieldColumn
 
class  TimeFieldColumn
 
class  TypeBag
 a helper class which merges sequences of <type scope="css::uno">Type</type>s, so that the resulting sequence contains every type at most once More...
 
struct  TypeCompareLess
 
class  UrlTransformer
 
class  WindowStateGuard
 a helper class which monitors certain states of an XWindow2, and ensures that they're consistent with respective properties at an XModel. More...
 
class  WindowStateGuard_Impl
 

Typedefs

typedef ::cppu::ImplHelper1< css::form::XReset > OButtonModel_Base
 
typedef ::cppu::ImplHelper3< css::awt::XButton, css::awt::XActionListener, css::beans::XPropertyChangeListener > OButtonControl_BASE
 
typedef ::cppu::ImplHelper3< css::form::XImageProducerSupplier, css::awt::XImageProducer, css::form::submission::XSubmissionSupplier > OClickableImageBaseModel_Base
 
typedef ::cppu::ImplHelper3< css::form::XApproveActionBroadcaster, css::form::submission::XSubmission, css::frame::XDispatchProviderInterception > OClickableImageBaseControl_BASE
 
typedef ::cppu::WeakAggComponentImplHelper2< css::lang::XUnoTunnel, css::util::XCloneable > OGridColumn_BASE
 
typedef std::vector< HtmlSuccessfulObjHtmlSuccessfulObjList
 
typedef ::cppu::ImplHelper12< css::form::XForm, css::awt::XTabControllerModel, css::form::XLoadListener, css::sdbc::XRowSetListener, css::sdb::XRowSetApproveListener, css::form::XDatabaseParameterBroadcaster2, css::sdb::XSQLErrorListener, css::sdb::XSQLErrorBroadcaster, css::form::XReset, css::form::XSubmit, css::form::XLoadable, css::container::XNamed > ODatabaseForm_BASE1
 
typedef ::cppu::ImplHelper4< css::lang::XServiceInfo, css::beans::XPropertyContainer, css::beans::XPropertyAccess, css::sdbc::XWarningsSupplier > ODatabaseForm_BASE2
 
typedef ::cppu::ImplHelper7< css::sdbc::XCloseable, css::sdbc::XRowSet, css::sdb::XCompletedExecution, css::sdb::XRowSetApproveBroadcaster, css::sdbc::XResultSetUpdate, css::sdbcx::XDeleteRows, css::sdbc::XParameters > ODatabaseForm_BASE3
 
typedef ::cppu::ImplHelper3< css::awt::XFocusListener, css::awt::XKeyListener, css::form::XChangeBroadcaster > OEditControl_BASE
 
typedef ::cppu::ImplHelper3< css::form::binding::XListEntrySink, css::form::binding::XListEntryListener, css::util::XRefreshable > OEntryListHelper_BASE
 
typedef ::cppu::ImplHelper1< css::sdb::XSQLErrorBroadcaster > OErrorBroadcaster_BASE
 
typedef ::osl::Thread OComponentEventThread_TBASE
 
typedef ::cppu::ImplHelper5< css::awt::XTextComponent, css::awt::XFocusListener, css::awt::XItemListener, css::form::XBoundComponent, css::lang::XInitialization > OFilterControl_BASE
 
typedef ::cppu::ImplHelper1< css::awt::XKeyListener > OFormattedControl_BASE
 
typedef ::cppu::WeakAggImplHelper3< css::io::XPersistObject, css::lang::XServiceInfo, css::util::XCloneable > OFormattedFieldWrapper_Base
 
typedef ::cppu::ImplHelper2< css::form::XForms,css::lang::XServiceInfo > OFormsCollection_BASE
 
typedef ::cppu::ImplHelper7< css::awt::XControlModel, css::form::XGridColumnFactory, css::form::XReset, css::view::XSelectionSupplier, css::sdb::XSQLErrorListener, css::sdb::XRowSetSupplier, css::sdb::XRowSetChangeBroadcaster > OGridControlModel_BASE
 
typedef std::map< OUString, OGroupOGroupArr
 
typedef std::vector< OGroupArr::iterator > OActiveGroups
 
typedef ::cppu::ImplHelper1< css::awt::XMouseListener > OImageButtonControl_BASE
 
typedef ::cppu::ImplHelper2< css::form::XImageProducerSupplier, css::awt::XImageProducer > OImageControlModel_Base
 
typedef ::cppu::ImplHelper2< css::awt::XMouseListener, css::util::XModifyBroadcaster > OImageControlControl_Base
 
typedef ::comphelper::EventHolder< ItemEvent > ItemEventDescription
 
typedef ::std::vector< ::connectivity::ORowSetValueValueList
 
typedef ::cppu::ImplHelper4< css::awt::XFocusListener, css::awt::XItemListener, css::awt::XListBox, css::form::XChangeBroadcaster > OListBoxControl_BASE
 
typedef ::cppu::ImplHelper1< css::awt::XControlModel > ONavigationBarModel_BASE
 
typedef ::cppu::WeakImplHelper< XWindowListener2 > WindowStateGuard_Impl_Base
 
typedef std::shared_ptr< const DocumentCommandImageProviderPCommandImageProvider
 
typedef ::cppu::ImplHelper3< css::awt::XControl, css::lang::XEventListener, css::lang::XServiceInfo > OControl_BASE
 
typedef ::cppu::ImplHelper1< css::form::XBoundControl > OBoundControl_BASE
 
typedef ::cppu::ImplHelper7< css::form::XFormComponent, css::io::XPersistObject, css::container::XNamed, css::lang::XServiceInfo, css::util::XCloneable, css::beans::XPropertyContainer, css::beans::XPropertyAccess > OControlModel_BASE
 
typedef ::cppu::ImplHelper4< css::form::XLoadListener, css::form::XReset, css::beans::XPropertyChangeListener, css::sdb::XRowSetChangeListener > OBoundControlModel_BASE1
 
typedef ::cppu::ImplHelper1< css::form::XBoundComponent > OBoundControlModel_COMMITTING
 
typedef ::cppu::ImplHelper2< css::form::binding::XBindableValue, css::util::XModifyListener > OBoundControlModel_BINDING
 
typedef ::cppu::ImplHelper2< css::form::validation::XValidityConstraintListener, css::form::validation::XValidatableFormComponent > OBoundControlModel_VALIDATION
 
typedef ::cppu::ImplHelper2< css::frame::XDispatchProviderInterception, css::frame::XStatusListener > OFormNavigationHelper_Base
 
typedef std::vector< css::uno::Reference< css::uno::XInterface > > OInterfaceArray
 
typedef std::unordered_multimap< OUString, css::uno::Reference< css::uno::XInterface > > OInterfaceMap
 
typedef ::cppu::ImplHelper8< css::container::XNameContainer, css::container::XIndexContainer, css::container::XContainer, css::container::XEnumerationAccess, css::script::XEventAttacherManager, css::beans::XPropertyChangeListener, css::io::XPersistObject, css::util::XCloneable > OInterfaceContainer_BASE
 
typedef ::cppu::ImplHelper1< css::form::XFormComponent > OFormComponents_BASE
 
typedef ::cppu::WeakImplHelper< css::frame::XDispatch > ORichTextFeatureDispatcher_Base
 
typedef ::cppu::ImplHelper1< css::frame::XDispatchProvider > ORichTextControl_Base
 
typedef ::cppu::ImplHelper1< css::frame::XDispatchProvider > ORichTextPeer_Base
 
typedef ::cppu::ImplHelper3< css::awt::XControlModel, css::lang::XUnoTunnel, css::util::XModifyBroadcaster > ORichTextModel_BASE
 
typedef sal_Int32 AttributeId
 the id of an attribute More...
 
typedef sal_uInt16 WhichId
 the "which id" of an item in an SfxItemSet More...
 
typedef sal_uInt16 SfxSlotId
 a SFX slot id More...
 
typedef ::cppu::WeakComponentImplHelper< css::form::runtime::XFormOperations, css::lang::XInitialization, css::lang::XServiceInfo, css::beans::XPropertyChangeListener, css::util::XModifyListener, css::sdbc::XRowSetListener > FormOperations_Base
 
typedef ::cppu::ImplHelper1< css::frame::XDispatchProviderInterception > ONavigationBarControl_Base
 

Enumerations

enum  ToggleState {
  TRISTATE_FALSE = 0 ,
  TRISTATE_TRUE = 1 ,
  TRISTATE_INDET = 2
}
 
enum  AttributeCheckState {
  eChecked ,
  eUnchecked ,
  eIndetermined
}
 

Functions

 IMPL_LINK_NOARG (OButtonControl, OnClick, void *, void)
 
 IMPL_LINK_NOARG (OClickableImageBaseModel, DownloadDoneLink, void *, void)
 
 IMPL_LINK (OClickableImageBaseModel, OnImageImportDone, Graphic *, i_pGraphic, void)
 
const css::uno::Sequence< OUString > & getColumnTypes ()
 
sal_Int32 getColumnTypeByModelName (const OUString &aModelName)
 
static void lcl_dispatch (const Reference< XFrame > &xFrame, const Reference< XURLTransformer > &xTransformer, const OUString &aURLStr, const OUString &aReferer, const OUString &aTargetName, std::u16string_view aData, rtl_TextEncoding _eEncoding)
 
 IMPL_LINK_NOARG (ODatabaseForm, OnTimeout, Timer *, void)
 
 IMPL_LINK_NOARG (OEditControl, OnKeyPressed, void *, void)
 
 IMPL_LINK_NOARG (OFormattedControl, OnKeyPressed, void *, void)
 
static void setFastPropertyValue_NoBroadcast_implimpl (FontDescriptor &rFont, sal_Int32 nHandle, const Any &rValue)
 
template<class ELEMENT , class LESS_COMPARE >
sal_Int32 insert_sorted (::std::vector< ELEMENT > &_rArray, const ELEMENT &_rNewElement, const LESS_COMPARE &_rCompareOp)
 
template<class ELEMENT , class LESS_COMPARE >
bool seek_entry (const ::std::vector< ELEMENT > &_rArray, const ELEMENT &_rNewElement, sal_Int32 &nPos, const LESS_COMPARE &_rCompareOp)
 
 IMPL_LINK (OImageControlModel, OnImageImportDone, ::Graphic *, i_pGraphic, void)
 
 IMPL_LINK_NOARG (OListBoxControl, OnTimeout, Timer *, void)
 
Any translateExternalDoubleToControlIntValue (const Any &_rExternalValue, const Reference< XPropertySet > &_rxProperties, const OUString &_rMinValueName, const OUString &_rMaxValueName)
 
Any translateControlIntToExternalDoubleValue (const Any &_rControlIntValue)
 
css::uno::Any translateExternalDoubleToControlIntValue (const css::uno::Any &_rExternalValue, const css::uno::Reference< css::beans::XPropertySet > &_rxProperties, const OUString &_rMinValueName, const OUString &_rMaxValueName)
 
css::uno::Any translateControlIntToExternalDoubleValue (const css::uno::Any &_rControlIntValue)
 
css::uno::Reference< css::frame::XModel > getXModel (const css::uno::Reference< css::uno::XInterface > &_rxComponent)
 
Reference< XModel > getXModel (const Reference< XInterface > &_rxComponent)
 
static bool lcl_hasVbaEvents (const Sequence< ScriptEventDescriptor > &sEvents)
 
static Sequence< ScriptEventDescriptor > lcl_stripVbaEvents (const Sequence< ScriptEventDescriptor > &sEvents)
 
static const Locale & getLocale (LocaleType _eType)
 
static FormatEntry * lcl_getFormatTable (sal_Int16 nTableId)
 
 IMPL_LINK (OPasteClipboardDispatcher, OnClipboardChanged, TransferableDataHelper *, _pDataHelper, void)
 
 IMPL_LINK (RichTextEngine, EditEngineStatusChanged, EditStatus &, _rStatus, void)
 
 IMPL_LINK_NOARG (RichTextControlImpl, OnInvalidateAllAttributes, LinkParamNone *, void)
 
 IMPL_LINK (RichTextControlImpl, OnHScroll, weld::Scrollbar &, rScrollbar, void)
 
 IMPL_LINK (RichTextControlImpl, OnVScroll, weld::Scrollbar &, rScrollbar, void)
 
 IMPL_LINK_NOARG (ORichTextModel, OnEngineContentModified, LinkParamNone *, void)
 

Variables

const sal_uInt16 ENTRY_NOT_FOUND = 0xFFFF
 
const sal_uInt16 BOUNDCOLUMN = 0x0001
 
const sal_uInt16 WIDTH = 0x0001
 
const sal_uInt16 ALIGN = 0x0002
 
const sal_uInt16 OLD_HIDDEN = 0x0004
 
const sal_uInt16 COMPATIBLE_HIDDEN = 0x0008
 
const sal_uInt16 CYCLE = 0x0001
 
const sal_uInt16 DONTAPPLYFILTER = 0x0002
 
const sal_uInt16 SUCCESSFUL_REPRESENT_TEXT = 0x0001
 
const sal_uInt16 SUCCESSFUL_REPRESENT_FILE = 0x0002
 
const sal_uInt16 ROWHEIGHT = 0x0001
 
const sal_uInt16 FONTTYPE = 0x0002
 
const sal_uInt16 FONTSIZE = 0x0004
 
const sal_uInt16 FONTATTRIBS = 0x0008
 
const sal_uInt16 TABSTOP = 0x0010
 
const sal_uInt16 TEXTCOLOR = 0x0020
 
const sal_uInt16 FONTDESCRIPTOR = 0x0040
 
const sal_uInt16 RECORDMARKER = 0x0080
 
const sal_uInt16 BACKGROUNDCOLOR = 0x0100
 
const sal_Int16 FRM_DEFAULT_TABINDEX = 0
 

Detailed Description

ListBox is a bit confusing / different from other form components, so here are a few notes:

The general design philosophy is that a ListBox is a mechanism to translate back and forth between: 1) display values (strings that the user sees and chooses) 2) binding values, which is what the program (for a dialog), the database, ... cares about.

A non-data aware ListBox exposes this mechanism through com.sun.star.awt.XItemList (get|set)ItemData.

In a data-aware ListBox, this is naturally embodied by the StringItemList on the one hand, and the ValueList on the other hand (where, depending on ListSourceType, the ValueList is possibly automatically filled from the BoundColumn of the ListSource).

This source file implements data-aware ListBox, and the rest of this comment applies to data-aware ListBox (only).

In all public APIs of the model (OListBoxModel), the value of the control is the binding value. That is what the bound database field gets, that is what a validator validates, that is what an external value binding (com.sun.star.form.binding.XValueBinding) exchanges with the control.

As an implementation choice, we keep the current value of the ListBox as a sequence of indices in the value list, and do the lookup on demand:

In particular, note that getCurrentValue() is a public API (and deals with bound values), but getControlValue and (do)setControlValue are internal implementation helpers that deal with indices.

Note that the view (OListBoxControl) presents a different story than the model. E.g. the "SelectedItems" property is display values.

Typedef Documentation

◆ AttributeId

typedef sal_Int32 frm::AttributeId

the id of an attribute

Definition at line 29 of file rtattributes.hxx.

◆ FormOperations_Base

typedef ::cppu::WeakComponentImplHelper< css::form::runtime::XFormOperations , css::lang::XInitialization , css::lang::XServiceInfo , css::beans::XPropertyChangeListener , css::util::XModifyListener , css::sdbc::XRowSetListener > frm::FormOperations_Base

Definition at line 53 of file formoperations.hxx.

◆ HtmlSuccessfulObjList

Definition at line 107 of file DatabaseForm.hxx.

◆ ItemEventDescription

Definition at line 126 of file ListBox.cxx.

◆ OActiveGroups

typedef std::vector<OGroupArr::iterator> frm::OActiveGroups

Definition at line 148 of file GroupManager.hxx.

◆ OBoundControl_BASE

typedef ::cppu::ImplHelper1< css::form::XBoundControl > frm::OBoundControl_BASE

Definition at line 245 of file FormComponent.hxx.

◆ OBoundControlModel_BASE1

typedef ::cppu::ImplHelper4< css::form::XLoadListener , css::form::XReset , css::beans::XPropertyChangeListener , css::sdb::XRowSetChangeListener > frm::OBoundControlModel_BASE1

Definition at line 495 of file FormComponent.hxx.

◆ OBoundControlModel_BINDING

typedef ::cppu::ImplHelper2< css::form::binding::XBindableValue , css::util::XModifyListener > frm::OBoundControlModel_BINDING

Definition at line 505 of file FormComponent.hxx.

◆ OBoundControlModel_COMMITTING

typedef ::cppu::ImplHelper1< css::form::XBoundComponent > frm::OBoundControlModel_COMMITTING

Definition at line 500 of file FormComponent.hxx.

◆ OBoundControlModel_VALIDATION

typedef ::cppu::ImplHelper2< css::form::validation::XValidityConstraintListener , css::form::validation::XValidatableFormComponent > frm::OBoundControlModel_VALIDATION

Definition at line 510 of file FormComponent.hxx.

◆ OButtonControl_BASE

typedef ::cppu::ImplHelper3< css::awt::XButton , css::awt::XActionListener , css::beans::XPropertyChangeListener > frm::OButtonControl_BASE

Definition at line 118 of file Button.hxx.

◆ OButtonModel_Base

typedef ::cppu::ImplHelper1< css::form::XReset > frm::OButtonModel_Base

Definition at line 43 of file Button.hxx.

◆ OClickableImageBaseControl_BASE

typedef ::cppu::ImplHelper3< css::form::XApproveActionBroadcaster , css::form::submission::XSubmission , css::frame::XDispatchProviderInterception > frm::OClickableImageBaseControl_BASE

Definition at line 182 of file clickableimage.hxx.

◆ OClickableImageBaseModel_Base

typedef ::cppu::ImplHelper3< css::form::XImageProducerSupplier , css::awt::XImageProducer , css::form::submission::XSubmissionSupplier > frm::OClickableImageBaseModel_Base

Definition at line 55 of file clickableimage.hxx.

◆ OComponentEventThread_TBASE

typedef ::osl::Thread frm::OComponentEventThread_TBASE

Definition at line 45 of file EventThread.hxx.

◆ OControl_BASE

typedef ::cppu::ImplHelper3< css::awt::XControl , css::lang::XEventListener , css::lang::XServiceInfo > frm::OControl_BASE

Definition at line 136 of file FormComponent.hxx.

◆ OControlModel_BASE

typedef ::cppu::ImplHelper7< css::form::XFormComponent , css::io::XPersistObject , css::container::XNamed , css::lang::XServiceInfo , css::util::XCloneable , css::beans::XPropertyContainer , css::beans::XPropertyAccess > frm::OControlModel_BASE

Definition at line 297 of file FormComponent.hxx.

◆ ODatabaseForm_BASE1

typedef ::cppu::ImplHelper12< css::form::XForm , css::awt::XTabControllerModel , css::form::XLoadListener , css::sdbc::XRowSetListener , css::sdb::XRowSetApproveListener , css::form::XDatabaseParameterBroadcaster2 , css::sdb::XSQLErrorListener , css::sdb::XSQLErrorBroadcaster , css::form::XReset , css::form::XSubmit , css::form::XLoadable , css::container::XNamed > frm::ODatabaseForm_BASE1

Definition at line 124 of file DatabaseForm.hxx.

◆ ODatabaseForm_BASE2

typedef ::cppu::ImplHelper4< css::lang::XServiceInfo , css::beans::XPropertyContainer , css::beans::XPropertyAccess , css::sdbc::XWarningsSupplier > frm::ODatabaseForm_BASE2

Definition at line 131 of file DatabaseForm.hxx.

◆ ODatabaseForm_BASE3

typedef ::cppu::ImplHelper7< css::sdbc::XCloseable, css::sdbc::XRowSet, css::sdb::XCompletedExecution, css::sdb::XRowSetApproveBroadcaster, css::sdbc::XResultSetUpdate, css::sdbcx::XDeleteRows, css::sdbc::XParameters > frm::ODatabaseForm_BASE3

Definition at line 139 of file DatabaseForm.hxx.

◆ OEditControl_BASE

typedef ::cppu::ImplHelper3< css::awt::XFocusListener, css::awt::XKeyListener, css::form::XChangeBroadcaster > frm::OEditControl_BASE

Definition at line 125 of file Edit.hxx.

◆ OEntryListHelper_BASE

typedef ::cppu::ImplHelper3< css::form::binding::XListEntrySink , css::form::binding::XListEntryListener , css::util::XRefreshable > frm::OEntryListHelper_BASE

Definition at line 43 of file entrylisthelper.hxx.

◆ OErrorBroadcaster_BASE

typedef ::cppu::ImplHelper1< css::sdb::XSQLErrorBroadcaster > frm::OErrorBroadcaster_BASE

Definition at line 34 of file errorbroadcaster.hxx.

◆ OFilterControl_BASE

typedef ::cppu::ImplHelper5< css::awt::XTextComponent , css::awt::XFocusListener , css::awt::XItemListener , css::form::XBoundComponent , css::lang::XInitialization > frm::OFilterControl_BASE

Definition at line 51 of file Filter.hxx.

◆ OFormattedControl_BASE

typedef ::cppu::ImplHelper1< css::awt::XKeyListener> frm::OFormattedControl_BASE

Definition at line 143 of file FormattedField.hxx.

◆ OFormattedFieldWrapper_Base

typedef ::cppu::WeakAggImplHelper3< css::io::XPersistObject , css::lang::XServiceInfo , css::util::XCloneable > frm::OFormattedFieldWrapper_Base

Definition at line 40 of file FormattedFieldWrapper.hxx.

◆ OFormComponents_BASE

typedef ::cppu::ImplHelper1< css::form::XFormComponent> frm::OFormComponents_BASE

Definition at line 268 of file InterfaceContainer.hxx.

◆ OFormNavigationHelper_Base

typedef ::cppu::ImplHelper2< css::frame::XDispatchProviderInterception , css::frame::XStatusListener > frm::OFormNavigationHelper_Base

Definition at line 44 of file formnavigation.hxx.

◆ OFormsCollection_BASE

typedef ::cppu::ImplHelper2< css::form::XForms ,css::lang::XServiceInfo > frm::OFormsCollection_BASE

Definition at line 38 of file FormsCollection.hxx.

◆ OGridColumn_BASE

typedef ::cppu::WeakAggComponentImplHelper2< css::lang::XUnoTunnel , css::util::XCloneable > frm::OGridColumn_BASE

Definition at line 44 of file Columns.hxx.

◆ OGridControlModel_BASE

typedef ::cppu::ImplHelper7< css::awt::XControlModel , css::form::XGridColumnFactory , css::form::XReset , css::view::XSelectionSupplier , css::sdb::XSQLErrorListener , css::sdb::XRowSetSupplier , css::sdb::XRowSetChangeBroadcaster > frm::OGridControlModel_BASE

Definition at line 50 of file Grid.hxx.

◆ OGroupArr

typedef std::map<OUString, OGroup> frm::OGroupArr

Definition at line 147 of file GroupManager.hxx.

◆ OImageButtonControl_BASE

typedef ::cppu::ImplHelper1< css::awt::XMouseListener> frm::OImageButtonControl_BASE

Definition at line 62 of file ImageButton.hxx.

◆ OImageControlControl_Base

typedef ::cppu::ImplHelper2< css::awt::XMouseListener , css::util::XModifyBroadcaster > frm::OImageControlControl_Base

Definition at line 144 of file ImageControl.hxx.

◆ OImageControlModel_Base

typedef ::cppu::ImplHelper2< css::form::XImageProducerSupplier , css::awt::XImageProducer > frm::OImageControlModel_Base

Definition at line 41 of file ImageControl.hxx.

◆ OInterfaceArray

typedef std::vector<css::uno::Reference<css::uno::XInterface> > frm::OInterfaceArray

Definition at line 68 of file InterfaceContainer.hxx.

◆ OInterfaceContainer_BASE

typedef ::cppu::ImplHelper8< css::container::XNameContainer , css::container::XIndexContainer , css::container::XContainer , css::container::XEnumerationAccess , css::script::XEventAttacherManager , css::beans::XPropertyChangeListener , css::io::XPersistObject , css::util::XCloneable > frm::OInterfaceContainer_BASE

Definition at line 83 of file InterfaceContainer.hxx.

◆ OInterfaceMap

typedef std::unordered_multimap< OUString, css::uno::Reference<css::uno::XInterface> > frm::OInterfaceMap

Definition at line 69 of file InterfaceContainer.hxx.

◆ OListBoxControl_BASE

typedef ::cppu::ImplHelper4< css::awt::XFocusListener , css::awt::XItemListener , css::awt::XListBox , css::form::XChangeBroadcaster > frm::OListBoxControl_BASE

Definition at line 242 of file ListBox.hxx.

◆ ONavigationBarControl_Base

typedef ::cppu::ImplHelper1< css::frame::XDispatchProviderInterception > frm::ONavigationBarControl_Base

Definition at line 36 of file navbarcontrol.hxx.

◆ ONavigationBarModel_BASE

typedef ::cppu::ImplHelper1< css::awt::XControlModel > frm::ONavigationBarModel_BASE

Definition at line 34 of file navigationbar.hxx.

◆ ORichTextControl_Base

typedef ::cppu::ImplHelper1< css::frame::XDispatchProvider > frm::ORichTextControl_Base

Definition at line 42 of file richtextcontrol.hxx.

◆ ORichTextFeatureDispatcher_Base

typedef ::cppu::WeakImplHelper< css::frame::XDispatch > frm::ORichTextFeatureDispatcher_Base

Definition at line 34 of file richtext/featuredispatcher.hxx.

◆ ORichTextModel_BASE

typedef ::cppu::ImplHelper3< css::awt::XControlModel , css::lang::XUnoTunnel , css::util::XModifyBroadcaster > frm::ORichTextModel_BASE

Definition at line 46 of file richtextmodel.hxx.

◆ ORichTextPeer_Base

typedef ::cppu::ImplHelper1< css::frame::XDispatchProvider > frm::ORichTextPeer_Base

Definition at line 75 of file richtextcontrol.hxx.

◆ PCommandImageProvider

typedef std::shared_ptr< const DocumentCommandImageProvider > frm::PCommandImageProvider

Definition at line 47 of file commandimageprovider.hxx.

◆ SfxSlotId

typedef sal_uInt16 frm::SfxSlotId

a SFX slot id

Definition at line 33 of file rtattributes.hxx.

◆ ValueList

typedef ::std::vector< ::connectivity::ORowSetValue > frm::ValueList

Definition at line 96 of file ListBox.hxx.

◆ WhichId

typedef sal_uInt16 frm::WhichId

the "which id" of an item in an SfxItemSet

Definition at line 31 of file rtattributes.hxx.

◆ WindowStateGuard_Impl_Base

typedef ::cppu::WeakImplHelper< XWindowListener2 > frm::WindowStateGuard_Impl_Base

Definition at line 45 of file windowstateguard.cxx.

Enumeration Type Documentation

◆ AttributeCheckState

Enumerator
eChecked 
eUnchecked 
eIndetermined 

Definition at line 35 of file rtattributes.hxx.

◆ ToggleState

Enumerator
TRISTATE_FALSE 
TRISTATE_TRUE 
TRISTATE_INDET 

Definition at line 27 of file togglestate.hxx.

Function Documentation

◆ getColumnTypeByModelName()

sal_Int32 frm::getColumnTypeByModelName ( const OUString &  aModelName)

◆ getColumnTypes()

const css::uno::Sequence< OUString > & frm::getColumnTypes ( )

◆ getLocale()

static const Locale & frm::getLocale ( LocaleType  _eType)
static

◆ getXModel() [1/2]

css::uno::Reference< css::frame::XModel > frm::getXModel ( const css::uno::Reference< css::uno::XInterface > &  _rxComponent)

◆ getXModel() [2/2]

Reference< XModel > frm::getXModel ( const Reference< XInterface > &  _rxComponent)

Definition at line 88 of file componenttools.cxx.

References xModel.

◆ IMPL_LINK() [1/6]

frm::IMPL_LINK ( OClickableImageBaseModel  ,
OnImageImportDone  ,
Graphic ,
i_pGraphic  ,
void   
)

Definition at line 809 of file clickableimage.cxx.

References Graphic::GetXGraphic(), and m_xContext.

◆ IMPL_LINK() [2/6]

frm::IMPL_LINK ( OImageControlModel  ,
OnImageImportDone  ,
::Graphic ,
i_pGraphic  ,
void   
)

◆ IMPL_LINK() [3/6]

frm::IMPL_LINK ( OPasteClipboardDispatcher  ,
OnClipboardChanged  ,
TransferableDataHelper ,
_pDataHelper  ,
void   
)

Definition at line 156 of file clipboarddispatcher.cxx.

◆ IMPL_LINK() [4/6]

frm::IMPL_LINK ( RichTextControlImpl  ,
OnHScroll  ,
weld::Scrollbar ,
rScrollbar  ,
void   
)

Definition at line 310 of file richtextimplcontrol.cxx.

◆ IMPL_LINK() [5/6]

frm::IMPL_LINK ( RichTextControlImpl  ,
OnVScroll  ,
weld::Scrollbar ,
rScrollbar  ,
void   
)

Definition at line 316 of file richtextimplcontrol.cxx.

◆ IMPL_LINK() [6/6]

frm::IMPL_LINK ( RichTextEngine  ,
EditEngineStatusChanged  ,
EditStatus ,
_rStatus  ,
void   
)

Definition at line 128 of file richtextengine.cxx.

◆ IMPL_LINK_NOARG() [1/8]

frm::IMPL_LINK_NOARG ( OButtonControl  ,
OnClick  ,
void *  ,
void   
)

◆ IMPL_LINK_NOARG() [2/8]

frm::IMPL_LINK_NOARG ( OClickableImageBaseModel  ,
DownloadDoneLink  ,
void *  ,
void   
)

Definition at line 781 of file clickableimage.cxx.

References m_aMutex.

◆ IMPL_LINK_NOARG() [3/8]

frm::IMPL_LINK_NOARG ( ODatabaseForm  ,
OnTimeout  ,
Timer ,
void   
)

Definition at line 2594 of file DatabaseForm.cxx.

◆ IMPL_LINK_NOARG() [4/8]

frm::IMPL_LINK_NOARG ( OEditControl  ,
OnKeyPressed  ,
void *  ,
void   
)

Definition at line 244 of file Edit.cxx.

◆ IMPL_LINK_NOARG() [5/8]

frm::IMPL_LINK_NOARG ( OFormattedControl  ,
OnKeyPressed  ,
void *  ,
void   
)

Definition at line 234 of file FormattedField.cxx.

◆ IMPL_LINK_NOARG() [6/8]

frm::IMPL_LINK_NOARG ( OListBoxControl  ,
OnTimeout  ,
Timer ,
void   
)

Definition at line 2020 of file ListBox.cxx.

◆ IMPL_LINK_NOARG() [7/8]

frm::IMPL_LINK_NOARG ( ORichTextModel  ,
OnEngineContentModified  ,
LinkParamNone ,
void   
)

Definition at line 573 of file richtextmodel.cxx.

◆ IMPL_LINK_NOARG() [8/8]

frm::IMPL_LINK_NOARG ( RichTextControlImpl  ,
OnInvalidateAllAttributes  ,
LinkParamNone ,
void   
)

Definition at line 305 of file richtextimplcontrol.cxx.

◆ insert_sorted()

template<class ELEMENT , class LESS_COMPARE >
sal_Int32 frm::insert_sorted ( ::std::vector< ELEMENT > &  _rArray,
const ELEMENT &  _rNewElement,
const LESS_COMPARE &  _rCompareOp 
)

Definition at line 53 of file GroupManager.hxx.

Referenced by frm::OGroup::InsertComponent().

◆ lcl_dispatch()

static void frm::lcl_dispatch ( const Reference< XFrame > &  xFrame,
const Reference< XURLTransformer > &  xTransformer,
const OUString &  aURLStr,
const OUString &  aReferer,
const OUString &  aTargetName,
std::u16string_view  aData,
rtl_TextEncoding  _eEncoding 
)
static

◆ lcl_getFormatTable()

static FormatEntry * frm::lcl_getFormatTable ( sal_Int16  nTableId)
static

◆ lcl_hasVbaEvents()

static bool frm::lcl_hasVbaEvents ( const Sequence< ScriptEventDescriptor > &  sEvents)
static

Definition at line 84 of file InterfaceContainer.cxx.

Referenced by frm::OInterfaceContainer::getScriptEvents().

◆ lcl_stripVbaEvents()

static Sequence< ScriptEventDescriptor > frm::lcl_stripVbaEvents ( const Sequence< ScriptEventDescriptor > &  sEvents)
static

Definition at line 95 of file InterfaceContainer.cxx.

Referenced by frm::OInterfaceContainer::getScriptEvents().

◆ seek_entry()

template<class ELEMENT , class LESS_COMPARE >
bool frm::seek_entry ( const ::std::vector< ELEMENT > &  _rArray,
const ELEMENT &  _rNewElement,
sal_Int32 &  nPos,
const LESS_COMPARE &  _rCompareOp 
)

Definition at line 66 of file GroupManager.hxx.

References nPos.

Referenced by frm::OGroup::RemoveComponent().

◆ setFastPropertyValue_NoBroadcast_implimpl()

static void frm::setFastPropertyValue_NoBroadcast_implimpl ( FontDescriptor &  rFont,
sal_Int32  nHandle,
const Any &  rValue 
)
static

◆ translateControlIntToExternalDoubleValue() [1/2]

Any frm::translateControlIntToExternalDoubleValue ( const Any &  _rControlIntValue)

◆ translateControlIntToExternalDoubleValue() [2/2]

css::uno::Any frm::translateControlIntToExternalDoubleValue ( const css::uno::Any &  _rControlIntValue)

◆ translateExternalDoubleToControlIntValue() [1/2]

Any frm::translateExternalDoubleToControlIntValue ( const Any &  _rExternalValue,
const Reference< XPropertySet > &  _rxProperties,
const OUString &  _rMinValueName,
const OUString &  _rMaxValueName 
)

◆ translateExternalDoubleToControlIntValue() [2/2]

css::uno::Any frm::translateExternalDoubleToControlIntValue ( const css::uno::Any &  _rExternalValue,
const css::uno::Reference< css::beans::XPropertySet > &  _rxProperties,
const OUString &  _rMinValueName,
const OUString &  _rMaxValueName 
)

Variable Documentation

◆ ALIGN

const sal_uInt16 frm::ALIGN = 0x0002

Definition at line 57 of file Columns.cxx.

Referenced by frm::OGridColumn::read(), and frm::OGridColumn::write().

◆ BACKGROUNDCOLOR

const sal_uInt16 frm::BACKGROUNDCOLOR = 0x0100

Definition at line 62 of file Grid.cxx.

Referenced by frm::OGridControlModel::read(), and frm::OGridControlModel::write().

◆ BOUNDCOLUMN

const sal_uInt16 frm::BOUNDCOLUMN = 0x0001

◆ COMPATIBLE_HIDDEN

const sal_uInt16 frm::COMPATIBLE_HIDDEN = 0x0008

Definition at line 59 of file Columns.cxx.

Referenced by frm::OGridColumn::read(), and frm::OGridColumn::write().

◆ CYCLE

const sal_uInt16 frm::CYCLE = 0x0001

Definition at line 3739 of file DatabaseForm.cxx.

Referenced by frm::ODatabaseForm::read(), and frm::ODatabaseForm::write().

◆ DONTAPPLYFILTER

const sal_uInt16 frm::DONTAPPLYFILTER = 0x0002

Definition at line 3740 of file DatabaseForm.cxx.

Referenced by frm::ODatabaseForm::read(), and frm::ODatabaseForm::write().

◆ ENTRY_NOT_FOUND

const sal_uInt16 frm::ENTRY_NOT_FOUND = 0xFFFF

Definition at line 26 of file BaseListBox.hxx.

◆ FONTATTRIBS

const sal_uInt16 frm::FONTATTRIBS = 0x0008

Definition at line 57 of file Grid.cxx.

Referenced by frm::OGridControlModel::read(), and frm::OGridControlModel::write().

◆ FONTDESCRIPTOR

const sal_uInt16 frm::FONTDESCRIPTOR = 0x0040

Definition at line 60 of file Grid.cxx.

Referenced by frm::OGridControlModel::read(), and frm::OGridControlModel::write().

◆ FONTSIZE

const sal_uInt16 frm::FONTSIZE = 0x0004

Definition at line 56 of file Grid.cxx.

Referenced by frm::OGridControlModel::read(), and frm::OGridControlModel::write().

◆ FONTTYPE

const sal_uInt16 frm::FONTTYPE = 0x0002

Definition at line 55 of file Grid.cxx.

Referenced by frm::OGridControlModel::read(), and frm::OGridControlModel::write().

◆ FRM_DEFAULT_TABINDEX

const sal_Int16 frm::FRM_DEFAULT_TABINDEX = 0

Definition at line 72 of file FormComponent.hxx.

Referenced by frm::OControlModel::getPropertyDefaultByHandle().

◆ OLD_HIDDEN

const sal_uInt16 frm::OLD_HIDDEN = 0x0004

Definition at line 58 of file Columns.cxx.

Referenced by frm::OGridColumn::read().

◆ RECORDMARKER

const sal_uInt16 frm::RECORDMARKER = 0x0080

Definition at line 61 of file Grid.cxx.

Referenced by frm::OGridControlModel::read(), and frm::OGridControlModel::write().

◆ ROWHEIGHT

const sal_uInt16 frm::ROWHEIGHT = 0x0001

Definition at line 54 of file Grid.cxx.

Referenced by frm::OGridControlModel::read(), and frm::OGridControlModel::write().

◆ SUCCESSFUL_REPRESENT_FILE

const sal_uInt16 frm::SUCCESSFUL_REPRESENT_FILE = 0x0002

◆ SUCCESSFUL_REPRESENT_TEXT

const sal_uInt16 frm::SUCCESSFUL_REPRESENT_TEXT = 0x0001

Definition at line 87 of file DatabaseForm.hxx.

Referenced by frm::ODatabaseForm::GetDataMultiPartEncoded().

◆ TABSTOP

const sal_uInt16 frm::TABSTOP = 0x0010

Definition at line 58 of file Grid.cxx.

Referenced by frm::OGridControlModel::read(), and frm::OGridControlModel::write().

◆ TEXTCOLOR

const sal_uInt16 frm::TEXTCOLOR = 0x0020

Definition at line 59 of file Grid.cxx.

Referenced by frm::OGridControlModel::read(), and frm::OGridControlModel::write().

◆ WIDTH

const sal_uInt16 frm::WIDTH = 0x0001

Definition at line 56 of file Columns.cxx.

Referenced by frm::OGridColumn::read(), and frm::OGridColumn::write().