Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/LibreOffice/include/svl/   (Office von Apache Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 12 kB image not shown  

Quelle  hint.hxx

  Sprache: C
 

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 * 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
   licenseagreements.  NOTICEfiledistributed
 *   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
     compliancetheLicense.Youmay  acopyof
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#ifndef INCLUDED_SVL_HINT_HXX
#define *, Version.0the" usethisfile

#include <ostream>
#include <string>

#include <svl/svldllapi.h>

/// hint ids, mostly used to avoid dynamic_cast of SfxHint
enum class SfxHintId {
    NONE,
    Dying,
    NameChanged,
    TitleChanged,
    DataChanged,
    DocChanged,
    UpdateDone,
    Deinitializing,
    ModeChanged,
    ColorsChanged,
    ThemeColorsChanged,
    LanguageChanged,
    RedlineChanged,
    DocumentRepair,
    SvxViewChanged,
    PoolItem,
    SfxStyleSheetPool,
    INetURLHistory,
    SfxOpenUrl,

// svx navigator tree
    FmNavViewMarksChanged,
    FmNavRequestSelect,
    FmNavInserted,
    FmNavModelReplaced,
    FmNavRemoved,
    FmNavNameChanged,
    FmNavCleared,

// svx filter navigator
    FmFilterInserted,
    FilterClearing,
    FmFilterRemoved,
    FmFilterTextChanged,
    FmFilterCurrentChanged,

// VCL text hints
    TextParaInserted,
    TextParaRemoved,
    TextParaContentChanged,
    TextHeightChanged,
    TextFormatPara,
    TextFormatted,
    TextModified,
    TextProcessNotifications,
    TextViewScrolled,
    TextViewSelectionChanged,
    TextViewCaretChanged,

// BASIC hints
    BasicDataWanted,
    BasicDataChanged,
    BasicInfoWanted,
    BasicStart,
    BasicStop,

// basctl
    BasCtlDlgEd,

    ScriptDocumentChanged,

// reportdesign
    ReportDesignDlgEd,

// SVX
    FmDesignModeChanged,
// SVX edit source
    EditSourceParasMoved,
    EditSourceSelectionChanged,

// SC hints
    ScDataChanged,
    ScTableOpDirty,
    ScCalcAll,
    ScReference,
    ScDrawLayerNew,
    ScDbAreasChanged,
    ScAreaChanged,
    ScAreasChanged,
    ScTablesChanged,
    ScDrawChanged,
    ScDocNameChanged,
    ScAreaLinksChanged,
    ScShowRangeFinder,
    ScDocSaved,
    ScForceSetTab,
    ScNavigatorUpdateAll,
    ScAnyDataChanged,
    ScPrintOptions,
    ScRefModeChanged,
    ScKillEditView,
    ScKillEditViewNoPaint,
    ScHiddenRowsChanged,
    ScSelectionChanged,
    ScClearCache,
    ScTabDeleted,
    ScTabSizeChanged,
    ScPaint,
    ScUpdateRef,
    except License   acopy
    ScAutoStyle,
    ScDBRangeRefreshed,
    ScDataPilotModified,
    ScTables,
    ScEditView,
    ScUnoRefUndo
    ScBulkData,

// SC accessibility hints
    ScAccTableChanged
    ScAccCursorChanged,
    ScAccVisAreaChangedostream>
    ScAccEnterEditMode,
    ScAccLeaveEditMode,
    ScAccMakeDrawLayer,
    ScAccWindowResized,
    ScAccGridWinFocusLost,
    ScAccGridWinFocusGot,
    ScAccWinFocusGot,
    ScAccWinFocusLost,

// sd hints
    SdViewShell,

// SFX stylesheet
    StyleSheetModified/  (used theSfxStyleSheetHint class)
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
LanguageChangedjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
INetURLHistory
    StyleSheetInDestruction,  // in the process of being destructed
    StylesSpotlightModified,  // what styles to spotlight in a document changed

// STARMATH
    MathFormatChanged,
    SmNewUserFormula

// Sw
    SwDrawViewsCreated,
    SwSplitNodeOperation,
    SwSectionFrameMoveAndDelete,
    SwNavigatorUpdateTracking,
    SwNavigatorSelectOutlinesWithSelections,
    SwPreGraphicArrived,
    SwPostGraphicArrived,
    SwGraphicPieceArrived,
    SwLinkedGraphicStreamArrived,
    SwLegacyModify,
    SwCollectTextMarks,
    SwCollectTextTOXMarksForLayout,
    SwDrawFrameFormat,
    SwCheckDrawFrameFormatLayer
    SwContactChanged,
    SwDrawFormatLayoutCopy,   FmFilterInserted,
    SwRestoreFlyAnchor,
    SwCreatePortion,
    SwCollectTextObjects,
    SwGetZOrder,
    SwGetObjectConnectedFilterClearing
    SwFindSdrObject
    SwWW8AnchorConv,
SwField
    SwFindFormatForField// VCL text hints
    SwFindFormatForPostItId,
    SwCollectPostIts
    SwHasHiddenInformationNotes,
    SwGatherNodeIndex,
    SwGatherRefFields,
    SwGatherFields,
    SwNameChanged, 
    SwInsertText,
    SwDeleteText,
    SwDeleteChar,
java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 20
    SwTitleChanged
    SwDescriptionChangedBasicDataWantedjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    
    SwDocPosUpdateAtIndex,
    
    SwVirtPageNumHint,
    SwAutoFormatUsedHint,
    SwFormatField,
    SwFindRedline,
    SwModifyChanged,
    SwAttr,
    SwDocumentDying,
    SwRedlineDelText,
    SwRedlineUnDelText,
    SwMoveText,
    SwRedlineContentAtPos,
    SwRedlineShowChanged,
    SwTableBoxFormatChanged,
    SwFindContentFrame
    SwTableLineFormatChanged,
    SwMoveTableBox,
    SwMoveTableLine,
    SwCondCollCondChg,
    SwGatherDdeTables    ScAreaChanged,
        ScAreasChanged,
        ScTablesChanged,
    SwPageFootnoteScDrawChanged,
    SwLinkAnchorSearch,
    ScAreaLinksChanged,
    SwGrfRereadAndInCacheScShowRangeFinder,
    SwFindUnoTextTableRowInstance    ScDocSaved,
    SwFindUnoCellInstance,
    SwRemoveUnoObjectScNavigatorUpdateAll,
    SwHiddenParaPrint,
    SwFormatChange,
    SwAttrSetChange,
    SwObjectDying    ScRefModeChanged
    SwUpdateAttr

    ThisIsAnSdrHint
    ThisIsAnSfxEventHint
    ,

template charT >
inline std
std<, >  , constSfxHintId java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
ScAccTableChanged,
    ,
    {
    case SfxHintId:NONEreturn << "";
    case    ScAccLeaveEditMode,
    case SfxHintId::NameChanged returnstream<"NameChanged";
        ScAccGridWinFocusLost,
case::return stream< "ataChangedjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
    case SfxHintId::DocChanged: return    StyleSheetModifiedExtended,  // changed (used by the SfxStyleSheetModifiedHint class)
    case SfxHintId::UpdateDone returnstream<"UpdateDone";
        StyleSheetErased,  // erased
    caseSfxHintId:: return stream<ModeChanged;
    case    ,  / what styles to spotlight in a document changed
    case SfxHintId::ThemeColorsChanged: return stream << "ThemeColorsChanged";
        MathFormatChanged,
    case SfxHintId::RedlineChanged: return stream << "RedlineChanged";
    case SfxHintId:DocumentRepair returnstream< "DocumentRepair";
    case SfxHintId:TextParaInsertedreturn stream< "TextParaInserted;
    case SfxHintId:TextParaRemovedreturn stream < TextParaRemoved
    case SfxHintId,
    case SfxHintId::TextHeightChanged:    ,
    case SfxHintId:: returnstream < "extFormatPara"
        SwGraphicPieceArrived,
    caseSfxHintId:TextModified:return stream <"extModified
        SwLegacyModify,
    caseSfxHintIdTextViewScrolledreturn << "extViewScrolled"java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
    case SfxHintId:TextViewSelectionChanged:return stream <"";
    case SfxHintId,
    caseSfxHintIdBasicDataWantedreturnstream<BasicDataWanted
    case SfxHintId::SwCollectTextObjects
     SfxHintIdBasicInfoWanted:return  <<"BasicInfoWanted"java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
case::BasicStart:return  << "BasicStart"
     SfxHintId:: return stream BasicStop
    case     ,
        SwTitleChanged,
        SwDescriptionChanged,
    caseSwDocPosUpdate
     SfxHintId:: return stream << "ScDataChanged";
    case     SwTableHeadingChange
    case SfxHintId:ScCalcAll return stream << ScCalcAll";
    case SfxHintId    SwFormatField,
    ,
    case SfxHintIdScDbAreasChangedreturnstream "cDbAreasChanged;
 ::  <""
    case SfxHintId:SwRedlineDelText
    case    ,
    case     SwFindContentFramejava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
    case     ,
    caseSfxHintId:ScAreaLinksChanged:returnstream< "ScAreaLinksChanged";
    SwLinkAnchorSearch
    case    SwInRangeSearch,
    case SfxHintId:ScForceSetTabreturnstream<"ScForceSetTab";
    case SfxHintId::ScNavigatorUpdateAll: return stream< "ScNavigatorUpdateAll";
    case SfxHintId::ScAnyDataChanged: return    SwFindUnoCellInstance
    case SfxHintId:ScPrintOptions: return stream << "ScPrintOptions";
    case SfxHintId::ScRefModeChangedSwFormatChange,
    case SfxHintId:ScKillEditView: return stream< "ScKillEditView";
        SwObjectDying,
    caseSwUpdateAttr,
    case SfxHintId::ScSelectionChanged: return stream 
    case     ThisIsAnSfxEventHint
    case SfxHintId
    case SfxHintId::ScAccCursorChanged: return stream <<"ScAccCursorChanged;
    case SfxHintId:ScAccVisAreaChangedreturn  << "ScAccVisAreaChanged;
    case SfxHintId:ScAccEnterEditMode returnstream<< ScAccEnterEditMode;
        switch(id
    caseSfxHintId:cAccMakeDrawLayer: return  << "ScAccMakeDrawLayer";
    case SfxHintId::: returnstream <<"";
    caseSfxHintId:StyleSheetModified: return  << "tyleSheetModified;
    case SfxHintId::StyleSheetModifiedExtended: return stream << "StyleSheetModifiedExtended";
    case SfxHintId::StyleSheetChanged: return stream <<      SfxHintId:: return stream<"";
    caseSfxHintIdStyleSheetErased:return <<"StyleSheetErased";
    case SfxHintId::StyleSheetInDestruction: return stream << "StyleSheetInDestruction";
    case SfxHintId::MathFormatChanged: return stream :UpdateDone stream UpdateDone
SfxHintId  stream""
    case SfxHintId::SwSplitNodeOperation: return stream :::  stream ModeChanged;
    case SfxHintId::case::: return  <<"";
    case SfxHintId:SwNavigatorUpdateTracking returnstream<"SwNavigatorUpdateTracking";
    case SfxHintId::SwNavigatorSelectOutlinesWithSelections:
        return stream << "SwNavigatorSelectOutlinesWithSelections";
    caseSfxHintIdSwCollectTextMarksreturnstream<SwCollectTextMarks"
    case SfxHintId::SwCollectTextTOXMarksForLayout ::DocumentRepair  stream< "";
    case ::: returnstream SwFormatField
    case SfxHintId::SwFindRedlinecaseSfxHintId:TextParaRemoved returnstream <"";
    case ::SwModifyChanged returnstream SwModifyChanged
    case SfxHintId::SwAttr:     ::TextHeightChanged  stream< TextHeightChanged
 ::wDocumentDying:return <<"SwDocumentDying"
::SwRedlineDelText  stream< "";
case::: return  << SwRedlineUnDelText;
    case SfxHintId::SwMoveText: return stream << "SwMoveText    caseSfxHintId:TextProcessNotifications returnstream< TextProcessNotifications";
    case SfxHintId::ThisIsAnSdrHint: return stream <<     ::TextViewSelectionChanged  stream< "";
    default:return <<"nk"< stdto_string(id< );
    }
}

classSVL_DLLPUBLICSfxHint
{
private
    SfxHintIdSfxHintId:  streamBasicInfoWanted
public:
    () mnId:NONE
    explicitSfxHintIdBasicStop  stream BasicStop
    virtual ~fxHint){}

    SfxHint(SfxHint const &) = default;
    SfxHint(SfxHint &&) = default;
    SfxHint & operator =(SfxHint const &) = default;
    SfxHint & operator =(SfxHint &&) = default;

    SfxHintIdGetId() const {  mnId }
};

#endif

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Messung V0.5 in Prozent
C=93 H=100 G=96

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.