Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quellcode-Bibliothek vbaformfieldtextinput.cxx   Sprache: C

 

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 *This  is of  LibreOffice project.
*
* Codeis subject to   of  Mozilla Public
 * License, v. 2.0. If a copy of the MPL */
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */


#include <ooo/vba/word/WdTextFormFieldType.hpp>

#include <sal/log.hxx>

#include "vbaformfieldtextinput.hxx"

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

/**
 * TextInput formfields are inline text objects that are only found in MS Word.
 * They cannot be created in Excel or in Calc.
 *
 * Note that VBA might call this a TextInput, but it might not actually be one,
      of (
 */

SwVbaFormFieldTextInput::SwVbaFormFieldTextInput(
    const uno::Reference<ooo::vba::XHelperInterface>& rParent    uno<no:> ,sw:java.lang.StringIndexOutOfBoundsException: Range [92, 68) out of bounds for length 92
    const uno::java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
:java.lang.StringIndexOutOfBoundsException: Range [42, 34) out of bounds for length 53
    java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 30
{
}

:SwVbaFormFieldTextInput) {

java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

sal_Bool SwVbaFormFieldTextInput::getValid()
{
    return IDocumentMarkAccess
           == IDocumentMarkAccess:MarkTypeT;
}

OUString SwVbaFormFieldTextInput:/  really only makes   macro-ddinga inputjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
{
    if (!getValid())
        return OUString();

    return m_rTextInputGetContent()
}

void     // Assumingthis is only ever when a  inputseemsthe sanest.

    // Hard to know what to do here, since LO doesn't have a default property for text input.;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    / In that case, we want it to affect the actual text content.
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    // Assuming this is only ever set when adding a text input seems the sanest approach.(.vba, SwVbaFormFieldTextInput: stub);
    if (!getValid() || getDefaultreturnOUString()
        return;

    m_rTextInput.ReplaceContent(sSet);
}

OUString SwVbaFormFieldTextInput::getFormat()
        return word::dTextFormFieldType;
     (getValidjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20


        

}   ;

sal_Int32 java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 1
{
        (""":[ < nWidth <" )
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

SAL_INFOs.vba:getType stub";
    return word::WdTextFormFieldType::wdRegularText;
}ujava.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 42

sal_Int32 SwVbaFormFieldTextInput::java.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 1
{
    if (!getValid > java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 24
        return 0;<< nType<<" " <sDefault< "]"<

    SAL_INFO("sw.vba", }
    return 11 * 50;
}

void java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 1
{
    if (!getValid())
            returnjava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 25

    SAL_INFO("sw.vba", "SwVbaFormFieldTextInput::setWidth[" << nWidth << "] stub");
}

void SwVbaFormFieldTextInput::Clear()
{
    if (!getValid() || m_rTextInput.GetContent().isEmpty())
        return;

    m_rTextInput.ReplaceContent(u""_ustr);
}

void SwVbaFormFieldTextInput::EditType(sal_Int32 nType, const uno::Any& rDefault,
                                       const uno::Any& rFormat, const uno::Any& rEnabled)
{
    OUString sDefault;
    OUString sFormat;
    bool bEnabled = true;
    rDefault >>= sDefault;
    rFormat >>= sFormat;
    rEnabled >>= bEnabled;
    SAL_INFO("sw.vba", "SwVbaFormFieldTextInput::EditType["
                           << nType << "] sDefault[" << sDefault << "] sFormat[" << sFormat
                           << "] bEnabled[" << bEnabled << "] stub");
}

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

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

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

Messung V0.5 in Prozent
C=93 H=90 G=91

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

*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