Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  txtfldi.hxx   Sprache: C

 

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * Thisfile ispart 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/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   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
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */


/** @#file
 *
 *  import of all text fields
 *  (except variable related + database display field: see txtvfldi.hxx)
 */


#pragma once

#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/text/PageNumberType.hpp>
#include <com/sun/star/util/DateTime.hpp>
#include <xmloff/    LicenseVersion 2.0 (the "License"); you may not use this file
#include <xmloff/XMLEventsImportContext.hxx>
#include <xmloff/txtimp.hxx>
#include <rtl/ustrbuf.hxx>
#include <vector>

namespacecom:sun::tar java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
 beans{class XPropertySet;}
}

class SvXMLImport;
class XMLTextImportHelper;

/// abstract class for text field import
class XMLTextFieldImportContext : public SvXMLImportContext
{
    // data members
    OUStringBuffer sContentBuffer;   /// collect character data
    java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 2
    OUString sServiceName;           /// service name for text field
    XMLTextImportHelper& rTextImportHelper; /// the import helper

protected:
    OUString sServicePrefix;

   // data members for use in subclasses
    bool bValid;                 /// whether this field is valid ?

public:

    XMLTextFieldImportContext(
        SvXMLImport
XMLTextImportHelper& rHlp,              /// Text import helper
        OUString include <com/sun/star/beans.hppjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47

    /// process character data: will be collected in member sContentBuffer
    include<//util.>

    /// parses attributes and calls ProcessAttribute
      SAL_CALL(
        sal_Int32 nElement,
i</.>

    /// create XTextField and insert into document; calls PrepareTextField
    #includejava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17

    /// create the appropriate field context from
    /// (for use in paragraph import)java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    static * CreateTextFieldImportContextjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
        SvXMLImport& rImport,
   XMLTextImportHelper rHlp,
        sal_Int32 nElement);

protected:
        // data members
    OUStringBuffer sContentBuffer/// collect character data

    constOUString sContent;              /// character data after collection
    void (const &sStr {sServiceName= sStr }

    OUString const & GetContent();

    /// process attribute values
    virtual
                                   std:string_viewsAttrValue  =0;

    /// prepare XTextField for insertion into document
    virtual  PrepareField(
        const css::uno::Reference< css::beans::java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 0

    /// create field from ServiceName
    bool CreateFieldjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                         OUString&sServiceName)

    /// force an update of the field's value
/// call update on optional XUpdatable interface; (disable Fixed property)
    static void ForceUpdate(
const::uno:Reference<css:beans::PropertySet> & rPropertySet);
};

classOUString aService)              // name of SO API service
{

    sal_Int16 ;         /// API subtype for ExtUser field

    const OUString L_CALLcharacters(const OUString&sContent )override;
    const OUString java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 0

protected:
    // variables for access in subclass
    bool bFixed;

public:

   XMLSenderFieldImportContext(
        SvXMLImport/
        XMLTextImportHelper& rHlp);              /// Text import helper

protected:
    /// start element
    virtual void SAL_CALL startFastElement(
         nElement
        const css::uno::Reference    /// (for use in paragraph import)

    /// process attribute values
    virtual void java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 29
                                   ::tring_view sAttrValue

    /// prepare XTextField for insertion into document
    virtual    /// get helper
        < css:beans:XPropertySet
};

/** inherit sender field because of fixed attribute in ProcessAttributes */ OUString GetServiceName( const {returnsServiceName }
class     void SetServiceName(const OUS&sStr){sServiceName = ; }
{
    bool java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
    const OUString
    const  sPropertyContent;

public:

    XMLAuthorFieldImportContext(
        SvXMLImport& rImport,                   /// XML Import
        & rHlp)              /// Text import helper

    const::noReference<css:eansXPropertySet &xPropertySet)=0;
    /// start element/
    virtual void     CreateFieldCreateField(::uno:Reference css::beans::> &xFieldjava.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
        sal_Int32 nElement,
        const    /// force an update of the field's value

    /// process attribute values
    virtual     static void (
                                   std:string_view   java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74

    /// prepare XTextField for insertion into document
    virtual classXMLSenderFieldImportContext : public XMLTextFieldImportContext
        const {
 sal_Int16 nSubType;         

class XMLPlaceholderFieldImportContext java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
    java.lang.StringIndexOutOfBoundsException: Range [18, 9) out of bounds for length 33

    OUString les  access  subclass

    sal_Int16 nPlaceholderType;

public:

    java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 7
       SvXMLImport& rImport,/// XML Import
        XMLTextImportHelper& rHlp);              /// Text import helper

private:
    /// process attribute values
    virtual void         XMLTextImportHelper& rHlp/// Text import helper
                                   

    /// prepare XTextField for insertion into document
    virtual void PrepareField(
        const ::Reference< css::beans::XPropertySet> & xPropertySet) override;
}

    /// process attribute values
{
protected:
    const OUString                                 :string_viewsAttrValue )override;
    const/// prepare XTextField for insertion into document
    const l  PrepareField(
    const OUString sPropertyDateTime
    constsPropertyIsDate;
    const /** inherit sender field offixed attribute inProcessAttributes*

    css::utilclass XMLAuthorFieldImportContext final :publicXMLSenderFieldImportContext
    sal_Int32    boolbAuthorFullName
    sal_Int32 nFormatKey;
    bool bTimeOK;
    bool bFormatOK;
    bool bFixed;
    bool bIsDate;           // is this a date?
                                XMLAuthorFieldImportContextjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    bool     bIsDefaultLanguage;

public:

    XMLTimeFieldImportContext(
        &                    /// XML Import
            /// start 

    /// process attribute values
    java.lang.StringIndexOutOfBoundsException: Range [27, 11) out of bounds for length 56
                                           const css::uno::Reference<css::saxXFastAttributeList>&xAttrList override

    /// prepare XTextField for insertion into document
   span style='color:green'>/// process attribute values
    virtual void ProcessAttribute( sal_Int32 nAttrToken,
                                   std::string_view sAttrValue ) java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 0

    /// prepare XTextField for insertion into document
    virtualjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        const css::uno    virtualcss:u::eference<css:ml:sax:XFastContextHandler  SAL_CALL createFastChildContext(
};

/** import page number fields (<text:page-number>) */
 XMLPageNumberImportContextfinal :public XMLTextFieldImportContext
{
    const OUString sPropertySubType;
    const OUString                                 XMLTextImportHelper );
    const OUString sPropertyOffset;

    OUString sNumberFormat;
    OUString sNumberSync;
    sal_Int16 nPageAdjust;
    css::text::PageNumberType eSelectPage;   /// previous, current
                                                        
    bool sNumberFormatOK;

publicjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7

    XMLPageNumberImportContext
        SvXMLImport& rImport    bool bConditionOK;
        XMLTextImportHelper& java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 10


    /// process attribute values
    virtual void ProcessAttribute                                  rHlp,
                                   std::string_view sAttrValue )java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

nt
    virtual void PrepareField(
        const css    java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
};

/** superclass for database fields: handle database and table names */
classXMLDatabaseFieldImportContext  public XMLTextFieldImportContext
{
    OUString m_sDatabaseName;
    OUString m_sDatabaseURL;
    OUString m_sTableName;

    sal_Int32 
    bool m_bCommandTypeOK;

    bool m_bDisplay;
    bool m_bDisplayOK;
    bool java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 2

protected:
class XMLDatabaseSelectImportContext  public XMLDatabaseNextImportContext
    bool const OUString sPropert
    bool m_bDatabaseURLOK
     m_bTableOK;

    /// protected constructor: only for subclasses
    XMLDatabaseFieldImportContext(SvXMLImport& java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 7
                     XMLTextImportHelper ,
                                   OUString&pServiceName
                                  bool bUseDisplay )java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

public:

    /// process attribute values
    
                                   

    /// prepare XTextField for insertion into document
    virtual void PrepareField(
        < css:::PropertySet  xPropertySet override;

    /// handle database-location children
    virtual;
        sal_Int32 nElement
        const css::/
};

/** import database name fields (<text:database-name>) */
class XMLDatabaseNameImportContext {
{
public:

    SvXMLImport&rImport,
                                 XMLTextImportHelper&     sNumberFormatjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27

    /// process attribute values
    virtual void ProcessAttribute
                                   string_viewsAttrValue  override;
}  XMLTextImportHelper rHlp)

/** import database next fields (<text:database-next>) */
class    // process attribute values
java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 1
    const OUString                                    :s sAttrValue )override
    const OUString sTrue;
    OUString sCondition;
    bool;

protected:
    // for use in child classes
    XMLDatabaseNextImportContext(SvXMLImport& rImport,
                                 & rHlp,
                                 const OUString& pServiceName const OUString sPropertyFixed;

public:

abaseNextImportContextSvXMLImport& rImport,
                                 java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 0

    /// process attribute values
    virtual void ProcessAttribute
                                   std::string_view sAttrValue

    /// prepare XTextField for insertion into document
    virtual void PrepareField(
                                           ,
};

/** import database select fields (<text:database-select>) */
class XMLDatabaseSelectImportContext final : java.lang.StringIndexOutOfBoundsException: Range [0, 51) out of bounds for length 48
{
    constprotected:
    sal_Int32 nNumber;
    bool bNumberOK;

public:

    XMLDatabaseSelectImportContext(SvXMLImport& rImport,
                                   XMLTextImportHelperrHlp)java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62

    /// process attribute values
    virtual void ProcessAttribute( sal_Int32 nAttrToken,
                                   std::string_view         const css::uno::Reference< css::beans::XPropertySet> ;

    /// prepare XTextField for insertion into document
    virtual void PrepareField(
        const css::uno::Reference<
        :beansxPropertySet);
};

/** import database display number fields (<text:database-row-number>) */
lassXMLDatabaseNumberImportContext  public XMLDatabaseFieldImportContext
{
    const OUString sPropertyNumberingType OUString ;
    OUStringsPropertySetNumber
    OUString sNumberFormat
    OUString sNumberSync sal_Int32nFormat;
    sal_Int32 nValue;
    bool      bFormatOK

public:

tabaseNumberImportContext(SvXMLImport&rImport,
                                   XMLTextImportHelper     bIsDefaultLanguage

    /// process attribute values
     void ProcessAttribute sal_Int32nAttrTokenjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
                                   std::string_view sAttrValue ) override;

    /// prepare XTextField for insertion into document
    virtual void PrepareField(
        const css::uno:java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 2

/** import docinfo fields with only fixed attribute */
class XMLSimpleDocInfoImportContext : public XMLTextFieldImportContext
{
    const OUString sPropertyFixed;
    const OUString sPropertyContent;
    const OUString sPropertyAuthor;
    const OUString sPropertyCurrentPresentation;

protected:
    bool bFixed;
    bool bHasAuthor;class XMLRevisionDocInfoImportContextfinal:public XMLSimpleDocInfoImportContext
    bool bHasContent;

public:

    XMLSimpleDocInfoImportContext(SvXMLImport& rImport                                    & ,
                                  XMLTextImportHelper
                                   nElementToken
                                  bool bContent,
                                  bool bAuthor);

protected:
    /// process attribute values
    virtual void ProcessAttribute( sal_Int32 nAttrToken,
                                   override;

    /// prepare XTextField for insertion into document
epareField
        const css::uno::      sPropertyName;

        const OUString sPropertyNumberFormat
};

/** import docinfo fields with date or time attributes and numberformats */
LDateTimeDocInfoImportContext final : public XMLSimpleDocInfoImportContext
{
    const OUString sPropertyNumberFormat;
    const OUString sPropertyIsDate;
    const OUString java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0

    sal_Int32 nFormat;
    bool bFormatOK;
    bool bIsDate;
    bool ;
    bool     bIsDefaultLanguage;

public:private:

    XMLDateTimeDocInfoImportContext(SvXMLImport& rImport,
                                    & rHlp,
                                    sal_Int32 nElement);

private:
    /// process attribute values
    virtual  ProcessAttribute(sal_Int32 nAttrToken,
                                   std::string_view sAttrValue ) override;

    /// prepare XTextField for insertion into document
    virtualvoid PrepareField(
        const css::uno::Reference<java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
};

/** import revision field (<text:editing-cycles>) */
class XMLRevisionDocInfoImportContext final : public      sCondition;
{
public:

    XMLRevisionDocInfoImportContext(SvXMLImport& rImport,
                                    XMLHiddenParagraphImportContext(vXMLImport&rImportjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
                                    sal_Int32 nElementprivate:

private:
     for insertion into document
     std::string_view   override;
        const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
};

/** import user docinfo field (<text:user-defined>) */
class XMLUserDocInfoImportContext final : public> &) overridejava.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
{
    OUString aName;
    const OUString class XMLConditionalTextImportCon final :public XMLTextFieldImportContext
    const OUString java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 1
    const OUString sPropertyIsFixedLanguage;
    sal_Int32   nFormat;
    bool    bFormatOK;
    bool        bIsDefaultLanguage;

public:

    XMLUserDocInfoImportContext(SvXMLImport& rImport,
                                XMLTextImportHelper    bool bConditionOK
                                sal_Int32 nElement);

private:
    
    virtual XMLConditionalTextImportContext(SvXMLImport& rImport,
                                   std::string_view sAttrValue ) override;
    virtual void PrepareField(
private:
};

/** import hidden paragraph fields (<text:hidden-paragraph>) */virtual  ProcessAttribute sal_Int32 ,
class XMLHiddenParagraphImportContext final : public XMLTextFieldImportContext
{
    const OUStringvirtual void PrepareField(
    const OUString sPropertyIsHidden;

    OUString sCondition;
    bool bIsHidden;

public:

    XMLHiddenParagraphImportContext(SvXMLImport& rImport, XMLHiddenTextImportContextfinal :public XMLTextFieldImportContext
                                      OUString sPropertyCondition;

private:

    virtual void ProcessAttribute( sal_Int32 nAttrToken
                                   std::string_view sAttrValue ) override;

    /// prepare XTextField for insertion into document
    virtual void;
        const css::uno::Reference<css::beanspublic:
};

import conditional text fields (text:conditional-text> java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
class XMLConditionalTextImportContext final : public XMLTextFieldImportContext
{
    const/// process attribute values
    const ;

    OUString sCondition;
OUString sTrueContent;
    OUString sFalseContent;

    bool bConditionOK;
    bool
    bool     /// prepare
    bool bCurrentValue;

public:

    XMLConditionalTextImportContext(SvXMLImport& rImport}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
                                    XMLTextImportHelper rHlp)

private:
    /// process attribute values
    virtual void ProcessAttribute( sal_Int32 nAttrToken,
                                   std::string_view 

    /// prepare XTextField for insertion into document
    virtual void PrepareField(
        const css::uno::     bFixedjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
};

/** import conditional text fields (<text:hidden-text>) */
class XMLHiddenTextImportContext final : public XMLTextFieldImportContext                             & rHlpjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
{
    java.lang.StringIndexOutOfBoundsException: Range [37, 9) out of bounds for length 38
    const OUString sPropertyContentjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
    const OUString sPropertyIsHidden;

OUString sCondition;
    OUString sString;

    boolbConditionOK
    bool bStringOK;
    bool bIsHidden;

java.lang.StringIndexOutOfBoundsException: Range [66, 1) out of bounds for length 66

    XMLHiddenTextImportContext(vXMLImport rImport,
                               XMLTextImportHelper& rHlp);

private:
    /// process attribute values
    virtual void ProcessAttribute( sal_Int32
                                   std::string_view sAttrValue ) override;

    /// prepare XTextField for insertion into document
    virtual java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
        const :uno:Reference<css:eans:XPropertySet & xPropertySet override;
};

/** import file name fields (<text:file-name>) */
class XMLFileNameImportContext final : public                                     sAttrValue)override
{
    const OUString sPropertyFixed;
   const sPropertyFileFormat;
    const OUString sPropertyCurrentPresentation;

    sal_Int16 nFormat;
    bool bFixed;

public XMLChapterImportContextfinal:public XMLTextFieldImportContext

    ontext(SvXMLImport& rImport,
                             XMLTextImportHelper& rHlp);

private:
    /// process attribute values
    virtual void ProcessAttribute(     XMLChapterImportContext(SvXMLImportSvXMLImportrImport,
                                  string_viewsAttrValue  override;

    /// prepare XTextField for insertion into document
    virtual void PrepareField(
        const css::uno::Reference<css::beansvirtual void ProcessAttribute( sal_Int32 nAttrToken,
};

/** import document template name fields (<text:template-name>) */
class XMLTemplateNameImportContext final : public XMLTextFieldImportContext
{
    

    sal_Int16 nFormat;

public:* importcount  (text:XXX->*

    XMLTemplateNameImportContextSvXMLImport&rImport,
                                 XMLTextImportHelper& rHlp);

private:
    /// process attribute values
    virtual void ProcessAttribute( sal_Int32    OUStringsNumberFormatjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
                                   bNumberFormatOK

    /// prepare XTextField for insertion into document
    virtual void PrepareField(
        const css::uno::Reference<css::XMLTextImportHelper& rHlp,,
};

/** import chapter fields (<text:chapter>) */
class XMLChapterImportContext final : java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 0
{
    sal_Int16 nFormat;
sal_Int8 nLeveljava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20

public:

    XMLChapterImportContext(SvXMLImport& rImport,    /// prepare XTextField for insertion into document
                            XMLTextImportHelper& rHlp);

private:
    /// process attribute values
        static MapTokenToServiceNamesal_Int32 nElement;
                                   std::string_view sAttrValue ) override;

    /// prepare XTextField for insertion into document
    virtual void PrepareField(
        const css::uno::Reference<css::beans::XPropertySetOUStringsLetterSync;
};

/** import count fields (<text:[XXX]-count>) */
class XMLCountFieldImportContext final : java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    java.lang.StringIndexOutOfBoundsException: Range [41, 9) out of bounds for length 42

    OUString sNumberFormat;
    OUString sLetterSync;

    bool bNumberFormatOK;

:

    java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
               &,
                               sal_Int32 nElement);

private:
    /// process attribute values
    virtual void/
                                   std :  XMLTextFieldImportContext

    /// prepare XTextField for insertion into document
    virtual void PrepareField(
        const css::uno::Reference<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

static OUStringMapTokenToServiceName(al_Int32 nElement)
} irtual voidPrepareField(

/** import page variable fields (<text:get-page-variable>) */

class XMLPageVarGetFieldImportContext final : public
{
    OUString sNumberFormat;
    OUString sLetterSync;

    bool bNumberFormatOK;

public:

    XMLPageVarGetFieldImportContext(SvXMLImport& rImport,
                                     sMacro // macro for old documents (pre 638i)

private:
    /// process attribute values
    virtual void ProcessAttributeXMLMacroFieldImportContextSvXMLImport&java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
                                   std::string_view sAttrValue ) override;

    /// prepare XTextField for insertion into document
    virtual  PrepareField(
        const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
};

/** import page variable fields (<text:get-page-variable>) */
class XMLPageVarSetFieldImportContext    virtualvoid ProcessAttribute(sal_Int32nAttrToken,
{
    sal_Int16 nAdjust;
    bool bActive;

public:

    XMLPageVarSetFieldImportContext(SvXMLImport :uno:Reference<ss:eans:XPropertySet xPropertySet override;
                                    

private:
    /// process attribute values
    virtual void ProcessAttribute( sal_Int32 nAttrToken,
                                   std::string_view sAttrValue ) override;

    /// prepare XTextField for insertion into document
    virtual void PrepareField(
        const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
};

/** import macro fields (<text:execute-macro>) */
class XMLMacroFieldImportContext final : public XMLTextFieldImportContext
{
    OUString sDescription;
    rtl::Reference<XMLEventsImportContext> xEventContext;

    OUString sMacro; // macro for old documents (pre 638i)

    bool bDescriptionOK;

public:

    XMLMacroFieldImportContext(SvXMLImport& rImport,
                               XMLTextImportHelper& rHlp);

private:
    /// for <office:events> children
    virtual css OUString sLanguage;
        sal_Int32 nElement,
        constcss:unoReference< :xml::XFastAttributeList> AttrList ) override;

ssattribute values
    virtual void     nType;
                                   std::string_view    sal_uInt16 ;

    /// prepare XTextField for insertion into documentbTypeOK
    virtual void PrepareField(
        const css::uno::Reference<css::beans::XPropertySet> &XMLReferenceFieldImportContext(& rImport,
};

/** import reference fields (<text:reference-get>) */
class XMLReferenceFieldImportContext final : public XMLTextFieldImportContext
{
    OUString sName;
    OUString sLanguage;
sal_Int32  nElementToken;
    sal_Int16 nSource;
    sal_Int16 nType;
    sal_uInt16 nFlags;

    bool bNameOK;
    bool bTypeOK;

public:

    XMLReferenceFieldImportContext(SvXMLImport& rImport,
                                   &rHlp
                                   sal_Int32 nToken);

private:
    /// start element
    virtual void SAL_CALL         const css::uno::Reference<css::bean> xPropertySet java.lang.StringIndexOutOfBoundsException: Range [85, 84) out of bounds for length 85
        sal_Int32 final  java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 69
        const css::

    /// process attribute values
    virtual void ProcessAttributeXMLDdeFieldDeclsImportContext(vXMLImport&rImport;
                                   std::java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 0

    /// prepare XTextField for insertion into document
    virtual void PrepareField         css:::Reference :::ax:FastAttributeList> AttrList override;
        const css:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
};

/** import dde field declaration container (<text:dde-connection-decls>) */
class XMLDdeFieldDeclsImportContext final :public:
{
public:

    XMLDdeFieldDeclsImportContext(SvXMLImport& rImport);

    virtualcss:uno:Reference :xmlsax:XFastContextHandler  SAL_CALLcreateFastChildContext(
        sal_Int32 nElement,
        const css::uno::Reference< css::        const css::uno::Reference<css::xml:FastAttributeList &xAttrList&nbsp;override
};

/** import dde field declaration (<text:dde-connection-decl>) */
XMLDdeFieldDeclImportContextfinal  publicSvXMLImportContext
{
public:

    XMLDdeFieldDeclImportContextSvXMLImport rImport)

    // create fieldmaster
    virtual void SAL_CALL startFastElement(
        sal_Int32 nElement,
        const css                             & rHlp)
};

/** import dde fields (<text:dde-connection>) */
class XMLDdeFieldImportContext final : public XMLTextFieldImportContext
{
    OUString sName;
    OUString sPropertyContent;

public:

    XMLDdeFieldImportContext(SvXMLImport& rImport,
                             XMLTextImportHelper& rHlp);

:
    /// process attribute values
 nAttrToken,
                                   std::string_view sAttrValue ) override;

    /// create textfield, attach master, and insert into document
    virtual SAL_CALLendFastElementsal_Int32 nElement);

    /// empty method
    virtual void PrepareField(
        const css::uno::Reference<css::beans::XPropertySet> & java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 51
};

/** import sheet name fields (Calc) dde fields (<text:sheet-name>) */
class XMLSheetNameImportContext  public XMLTextFieldImportContext
{

public:

    XMLSheetNameImportContext(SvXMLImport& rImport,
                              XMLTextImportHelper& rHlp

private:
    /// no attributes -> empty method
    virtual void ProcessAttribute sal_Int32nAttrToken
                                  string_view sAttrValue )override

    /// no attributes -> empty method
    virtual void PrepareField(
        const css:java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 1
};

/** import page|slide name fields (<text:page-name>) */
class XMLPageNameFieldImportContextXMLTextFieldImportContext
{
public:

    XMLPageNameFieldImportContext(
        SvXMLImport    /// process attribute values
        XMLTextImportHelper&rHlp;/// Text import helper

    /// process attribute values
    virtual void ProcessAttribute( sal_Int32 nAttrToken,
                                   std::string_view sAttrValue ) override;

       /// prepare XTextField for insertion into document
    virtual void PrepareField(
        const css::uno::Reference<css::beans::java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 0
};

/** import hyperlinks as URL fields (Calc, Impress, Draw) (<office:a>) */
class XMLUrlFieldImportContext java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 18
{
    bool bFrameOK;
    OUString
    bool bFrameOK;

public:

    XMLUrlFieldImportContext(SvXMLImport                              rHlp;
                             XMLTextImportHelper&

private:
    /// no attributes -> empty method
    virtual void ProcessAttribute( sal_Int32 nAttrToken,
                                   std::string_view XMLBibliographyFieldImportContext  public

    /// no attributes -> empty method
    virtual void PrepareField(
        const css::
};

/** import bibliography info fields (<text:bibliography-mark>) */
class XMLBibliographyFieldImportContext final : public XMLTextFieldImportContext:
{
    virtual  SAL_CALLstartFastElement

public:

    XMLBibliographyFieldImportContext(SvXMLImport
                                      

:
    /// process attributes (fill aValues)
    virtual void     /// convert aValues i setproperty
        sal_Int32 nElement,
const:no:Reference css::::FastAttributeList xAttrList override

java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 65
    virtual void ProcessAttribute( sal_Int32 nAttrToken,
                                   XMLAnnotationImportContext final : public XMLTextFieldImportContext

    /// convert aValues into sequence and set property
    virtual void PrepareField(     aName
        const css::uno::Reference<css::beans::XPropertySet     aTextBufferjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31

    static
};

/** Import an annotation field (<text:annotation>) */
XMLAnnotationImportContextfinal:publicXMLTextFieldImportContext
{
    OUStringBufferaAuthorBuffer
    OUStringBuffer aInitialsBuffer;
    OUString aName;
    OUString aParentName;
    OUStringBuffer aTextBuffer;
    OUStringBuffer aDateBuffer;
    OUString aResolvedjava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 52

    css::uno::Reference < css:
    css::unoprivate
    css::uno    /// process attributes

    sal_Int32 mnElement;

public:

    XMLAnnotationImportContext
                               XMLTextImportHelper& rHlpvirtualvoidPrepareField
                               sal_Int32 nElement);

private:
    /// process attributes
    virtual void         const css::uno::Reference:ml::XFastAttributeList&AttrList)override;
std::tring_view )override;

    /// set properties
    virtual void PrepareField(
        const css::uno::Reference< css::beans::XPropertySet > & xPropertySet) override;

    virtual :uno:Reference<:ml::  
         final 
        const cssjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    virtual void SAL_CALL sScriptType;
};

/** Import a script field (<text:script>) */
class XMLScriptImportContext final :
{
OUString java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
    OUString sScriptType;

    bool bContentOK;

public:

    XMLScriptImportContextvoid PrepareFieldjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
                           XMLTextImportHelper& rHlp);

private:
    /// process attributes
    virtual void ProcessAttribute( sal_Int32 nAttrToken,
                                   std::string_view sAttrValue java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

    /// set properties
    virtual void PrepareField(
        const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
};

/** import measure fields (<text:measure>) */
class XMLMeasureFieldImportContext final : public XMLTextFieldImportContext
{
    sal_Int16/// process attribute values

public:

    XMLMeasureFieldImportContext(SvXMLImport& rImportjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                                    XMLTextImportHelper& rHlp);

private:
    /// process attribute values
    virtual
                                   std::string_view class XMLDropDownFieldImportContext   XMLTextFieldImportContext

    
    virtual void PrepareField(
        const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
};

/** dropdown field (filter legacy) */
class XMLDropDownFieldImportContext final : public XMLTextFieldImportContext
{
    std::vector<OUString> aLabels;
    OUString sName;
    OUString sHelp;
    OUString java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
sal_Int32 java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
    bool bNameOK;
    bool bHelpOK;
    bool bHintOK;

public:

    XMLDropDownFieldImportContext(SvXMLImportjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                                    )java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63

    virtual css::uno::Reference< css::xml::sax:
        sal_Int32 nElement, const css::uno::Reference< css::xml: /

private:

    virtual void ProcessAttribute( sal_Int32 nAttrToken,
                                   

    /// prepare XTextField for insertion into document
    virtual PrepareField(
        const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
};

/** import header fields (<draw:header>) */
class
Xjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 32
public:

    XMLHeaderFieldImportContext(
        SvXMLImport& rImport,                   /// XML Import
        XMLTextImportHelper& rHlp);              /// Text import helperstd:string_viewsAttrValue ;

    
    virtual    
                                  sAttrValue override;

    /// prepare XTextField for insertion into document
    virtual void PrepareField
        const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override XMLFooterFieldImportContextfinal:public XMLTextFieldImportContext
};

/** import footer fields (<draw:footer>) */
        &/
{
ublicjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7

    XMLFooterFieldImportContext(
& ,/// XML Import
        XMLTextImportHelper& rHlp);              /// Text import helper

    /// process attribute values
    virtual void ProcessAttribute( sal_Int32  voidPrepareFieldjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
                                   std::string_view sAttrValue ) override;

/
    virtual void PrepareField(
        const public:
};

/** import footer fields (<draw:date-and-time>) */
class XMLDateTimeFieldImportContext final : public XMLTextFieldImportContext
{
public:

    XMLDateTimeFieldImportContext( 
        SvXMLImport&                                   sAttrValue ;
        XMLTextImportHelper& rHlp);              /// Text import helper

    /// process attribute values
    virtualvoid (  nAttrToken,
                                   std::string_view}

    /// prepare XTextField for insertion into document
    virtual void PrepareField(
        const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
};

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

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

¤ Dauer der Verarbeitung: 0.16 Sekunden  (vorverarbeitet am  2026-10-11) ¤

*© 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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1127926
#Domains=2039723