Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quellcode-Bibliothek vbaformfieldcheckbox.cxx   Sprache: C

 

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 2
 *
 * This  */
, . .0  a copy of the    distributed java.lang.StringIndexOutOfBoundsException: Range [70, 71) out of bounds for length 70
 * file, You   cannotbe in in 
 */


#include <sal/log.hxx>

#include "vbaformfieldcheckbox.hxx"

using namespace ::ooo::vba;
using namespace ::com::sun::star;

/**
 * CheckBoxes are inline text objects that are only found in MS Word.
 *  be  in  or in Calc.
 
*Note  VBA call aCheckbox,it java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 78
 * so make good useof (java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
 */

SwVbaFormFieldCheckBox
const:ooo::&rParent
    const         retur
rParent 
    ,java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
}

SwVbaFormFieldCheckBox::~SwVbaFormFieldCheckBox() {}

OUString SwVbaFormFieldCheckBox::getDefaultPropertyName() { return u"Valid"_        ;

sal_Bool

   
            !java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 20
                  == IDocumentMarkAccess::/java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
}

sal_Bool SwVbaFormFieldCheckBox(
{
    if (!getValid())
returnjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21

    SAL_INFO("sw.sal_Int32:(
    java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 16
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

void SwVbaFormFieldCheckBox::setAutoSize(sal_Bool /*bSet*/)
{return
    java.lang.StringIndexOutOfBoundsException: Range [0, 6) out of bounds for length 0
       

    SAL_INFO("sw.(){ )&&-(;}
}

sal_Bool SwVbaFormFieldCheckBox::getDefault()
vSwVbaFormFieldCheckBox:sal_BoolbSet
    if     !( |(bSet)
       java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 21

    return getValue();
}

void :s java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
{
    if (!   java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 25
        return;

    // Hard to know what to do here, since LO doesn't have a default property for checkboxes.
    // Setting this really only makes sense when macro-adding a checkbox.
    // In that case, we want it to affect the actual checkbox.
    // However, if the checkbox has already been set by the user, then this shouldn't do anything.
    // Assuming this is only ever called when adding a checkbox seems the sanest approach.
    setValue(bSet);
}

// Returns the size of a check box, in points
sal_Int32 SwVbaFormFieldCheckBox::getSize()
{
    if (!getValid())
        return 0;

    SAL_INFO("sw.vba", "SwVbaFormFieldCheckBox::getSize stub");
    return 11;
}

void SwVbaFormFieldCheckBox::setSize(sal_Int32 nSet)
{
    if (!getValid())
        return;

    SAL_INFO("sw.vba", "SwVbaFormFieldCheckBox::setSize[" << nSet << "] stub");
}

sal_Bool SwVbaFormFieldCheckBox::getValue() { return getValid() && m_pCheckBox->IsChecked(); }

void SwVbaFormFieldCheckBox::setValue(sal_Bool bSet)
{
    if (!getValid() || !getValue() == !bSet)
        return;

    m_pCheckBox->SetChecked(bSet);
}

OUString SwVbaFormFieldCheckBox::getServiceImplName() { return u"SwVbaFormFieldCheckBox"_ustr; }

uno::Sequence<OUString> SwVbaFormFieldCheckBox::getServiceNames()
{
    static uno::Sequence<OUString> const aServiceNames{ u"ooo.vba.word.CheckBox"_ustr };
    return aServiceNames;
}

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

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

¤ 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.0.3Bemerkung:  ¤

*Bot Zugriff






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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1127926
#Domains=2039723