Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/LibreOffice/sc/source/ui/inc/   (LibreOffice Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 2 kB image not shown  

Quelle  datafdlg.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 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/.
 */


#pragma once

#include <vcl/weld.hxx>
#include <types.hxx>
#include "viewfunc.hxx"

class ScTabViewShell;
class ScDocument;

#define MAX_DATAFORM_COLS   32
#define MAX_DATAFORM_ROWS   32000

class ScDataFormDlg : public weld::GenericDialogController
{
private:
    OUString        sNewRecord;

    ScTabViewShell* pTabViewShell;
    ScDocument*     pDoc;
    sal_uInt16      aColLength;
    SCROW           nCurrentRow;
    SCCOL           nStartCol;
    SCCOL           nEndCol;
    SCROW           nStartRow;
    SCROW           nEndRow;
    SCTAB           nTab;

    std::unique_ptr<weld::Button> m_xBtnNew;
    std::unique_ptr<weld::Button> m_xBtnDelete;
    std::unique_ptr<weld::Button> m_xBtnRestore;
    std::unique_ptr<weld::Button> m_xBtnPrev;
    std::unique_ptr<weld::Button> m_xBtnNext;
    std::unique_ptr<weld::Button> m_xBtnClose;
    std::unique_ptr<weld::ScrolledWindow> m_xSlider;
    std::unique_ptr<weld::Grid> m_xGrid;
    std::unique_ptr<weld::Label> m_xFixedText;
    std::vector<std::unique_ptr<ScDataFormFragment>> m_aEntries;

public:
    ScDataFormDlg(weld::Window* pParent, ScTabViewShell* pTabViewShell);
    virtual ~ScDataFormDlg() override;

    void FillCtrls();
private:

    void SetButtonState();

    // Handler:
    DECL_LINK(Impl_NewHdl, weld::Button&, void);
    DECL_LINK(Impl_PrevHdl, weld::Button&, void);
    DECL_LINK(Impl_NextHdl, weld::Button&, void);

    DECL_LINK(Impl_RestoreHdl, weld::Button&, void);
    DECL_LINK(Impl_DeleteHdl, weld::Button&, void);
    DECL_LINK(Impl_CloseHdl, weld::Button&, void);

    DECL_LINK(Impl_ScrollHdl, weld::ScrolledWindow&, void);
    DECL_LINK(Impl_DataModifyHdl, weld::Entry&, void);
};

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

Messung V0.5 in Prozent
C=95 H=95 G=94

¤ Dauer der Verarbeitung: 0.13 Sekunden  (vorverarbeitet am  2026-06-10) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

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.