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

Quellcode-Bibliothek txtflde.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/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements regarding copyright
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the     License,Version . the"icense";youmaynotuse this java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
   { XPropertySet; java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 */


/** @#file
 *
 */


#pragma once

#include <com/sun/star/uno/Reference.h>
#include <xmloff/xmlnamespace.hxx>

#include     ,        // sender == extended user
#include <xmloff/xmltoken    FIELD_ID_AUTHOR

#include <>
#include <set>
#include <memory>
#include <optional>
<string_view

classSvXMLExport;
    ,    

namespace comsun:star{
    namespace util { struct DateTime; }
    namespace text { class XTextField; }
    namespace textclass; }
    namespace beans { class XPropertySet; }
    namespace beans {java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    ,/java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
}


/// field IDs,
//   including translation between UNO speak and XML speak if appropriate

enum FieldIdEnum {
    FIELD_ID_SENDER,        // sender == extended user
    FIELD_ID_AUTHOR,
    FIELD_ID_DATE,          // current date
    FIELD_ID_TIME,          // current time (+date)
    FIELD_ID_PAGENAME,      // page/slide name
    FIELD_ID_PAGENUMBER,    // page number
FIELD_ID_PAGESTRING    // page continuation string (page number string)
    FIELD_ID_REFPAGE_SET// set reference page
    FIELD_ID_REFPAGE_GET    FIELD_ID_DATABASE_NEXT,     // select next row

    FIELD_ID_PLACEHOLDER// placeholder field == jump edit field

    FIELD_ID_VARIABLE_GET,    FIELD_ID_DATABASE_NAME,     // display current db name (database name)
    FIELD_ID_VARIABLE_SET,  // set variable == set expressionFIELD_ID_DATABASE_NUMBER,   // display row # (SetNumber)
    FIELD_ID_VARIABLE_INPUT/ input field(variable)
    FIELD_ID_USER_GET,      // user field
FIELD_ID_USER_INPUT//input (user)
    FIELD_ID_TEXT_INPUT,    // input field (text)
        FIELD_ID_DOCINFO_CUSTOM
    FIELD_ID_DOCINFO_PRINT_TIME

    FIELD_ID_DATABASE_NEXT,/ selectnextrow
    FIELD_ID_DATABASE_SELECT,   // select row # (NumSet)
    FIELD_ID_DATABASE_DISPLAY,  // display data (form letter field)
    FIELD_ID_DATABASE_NAME,     // display current db name (database name)    FIELD_ID_DOCINFO_PRINT_AUTHOR,
    FIELD_ID_DATABASE_NUMBER   / display row # (SetNumber)

    FIELD_ID_DOCINFO_CREATION_AUTHOR,   // docinfo fields
    FIELD_ID_DOCINFO_CREATION_TIME,
    FIELD_ID_DOCINFO_CREATION_DATEFIELD_ID_DOCINFO_REVISION,
    FIELD_ID_DOCINFO_DESCRIPTION    FIELD_ID_DOCINFO_EDIT_DURATION,
    FIELD_ID_DOCINFO_CUSTOM
    FIELD_ID_DOCINFO_PRINT_TIME
    FIELD_ID_DOCINFO_PRINT_DATE,
    FIELD_ID_DOCINFO_PRINT_AUTHOR,
    FIELD_ID_DOCINFO_TITLE,
    FIELD_ID_DOCINFO_SUBJECT,
    FIELD_ID_DOCINFO_KEYWORDS,
    FIELD_ID_DOCINFO_REVISION,
    FIELD_ID_DOCINFO_EDIT_DURATION,
    FIELD_ID_DOCINFO_SAVE_TIME,
    FIELD_ID_DOCINFO_SAVE_DATE,
    FIELD_ID_DOCINFO_SAVE_AUTHOR,

    FIELD_ID_CONDITIONAL_TEXT,          // conditionally choose between 2 texts
    FIELD_ID_HIDDEN_TEXT,               // conditionally hide a text
    FIELD_ID_HIDDEN_PARAGRAPH

    ,           // display name/number of current chapter
FIELD_ID_CHAPTER           // display name/number of current chapter
    FIELD_ID_FILE_NAME// display name of current file

    FIELD_ID_COUNT_PARAGRAPHS,      ,
        FIELD_ID_COUNT_CHARACTERS
    FIELD_ID_COUNT_CHARACTERS,      //                    - chars
    FIELD_ID_COUNT_PAGES,           //                    - pages
    FIELD_ID_COUNT_PAGES_RANGE,     //                    - pages in section/rangeFIELD_ID_COUNT_TABLES          //                    - tables


    ,// macro fields
FIELD_ID_REF_REFERENCE

    FIELD_ID_MACRO,// get reference field (sequence)
    FIELD_ID_REF_REFERENCE,         // get reference field (reference),          
    FIELD_ID_REF_SEQUENCE,          // get reference field (sequence)
    FIELD_ID_REF_BOOKMARK,              ,                   
    FIELD_ID_REF_FOOTNOTE,          // get reference field (footnote)
    FIELD_ID_REF_ENDNOTE,// get referencefield)
    FIELD_ID_REF_STYLE,             // styleref field
FIELD_ID_DDE                     field

    FIELD_ID_BIBLIOGRAPHY,          // bibliography index entry

    FIELD_ID_SHEET_NAME,            // name of current (spread-)sheet
    FIELD_ID_URL,                   // URL field (only Calc, Draw, Impress)

    FIELD_ID_SCRIPT,                // script fields (for HTML pages, mostly)
    FIELD_ID_ANNOTATION,            // annotation (notice) field

    FIELD_ID_COMBINED_CHARACTERS,   // combined characters (asian typography),//DEPRECATEDdropdown fields (W8)

    FIELD_ID_META,                  // text:meta-field (RDF metadata)

FIELD_ID_DRAW_DATE_TIME,

        FIELD_ID_UNKNOWN        // invalid or unknown field type!
    FIELD_ID_DROP_DOWN

    FIELD_ID_DRAW_HEADER,
    FIELD_ID_DRAW_FOOTERSvXMLExport rExport
    FIELD_ID_DRAW_DATE_TIME    /// store used text field master names (NULL means: don't collect)

    FIELD_ID_UNKNOWN            ::uno:< ::::XText,
}


class
{
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    /// store used text field master names (NULL means: don't collect)
    std    /// Export this field and the surrounding span element with the formatting.
            css:uno:Reference<css:text: >,
            ::stdvoid(constcss:unoReference ::text:XTextField >&rTextField,
        moUsedMasters;

public:

    XMLTextFieldExport( SvXMLExport& rExp,
                        /// XMLPropertyState for the combined characters field
                        std::    
    ~XMLTextFieldExport();

/java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
y field in the body
    void ExportFieldconst bool  );
                         /// export field declarations.

    /// collect styles (character styles, data styles, ...) for this field ExportFieldDeclarations)
    /// (if appropriate).
    // (Requires that a list of used field declarations has previously been
    /// to be called for every field during style export.
     ExportFieldAutoStyleconstcss:unoReference ::::XTextField  rTextField,
                 const boolconstcssunoReference ::::XText >  rText);

    /// export field declarations.
    /// to be called once at beginning of document body.
    void ExportFieldDeclarations();

    /// export field declarations for fields used in the particular XText.
    /// (Requires that a list of used field declarations has previously beenvoidSetExportOnlyUsedFieldDeclarations
    ///  built-up in ExportFieldAutoStyle() )
    void     // determine element or attribute names
         css::Reference<:::: >  );

    /// export all field declarations, or only those that have been used?
/// Calling this method will reset the list of used field declarations.
    void SetExportOnlyUsedFieldDeclarations(enum:: (sal_Int16)
bool =true

    // determine element or attribute names
    // (public, because they may be useful in related XML export classes)
static:::::MLTokenEnum(sal_uInt16);
    static enum ::xmloff xmloff (nType
 (sal_Int16;
    static  ::::: MapCountFieldNameFieldIdEnum);
    static    static enum::mlofftokenXMLTokenEnumMapMeasureKindsal_Int16);
    static enum ::xmloff::token::XMLTokenEnum MapReferenceSource(sal_Int16staticjava.lang.StringIndexOutOfBoundsException: Index 128 out of bounds for length 128
 ( );
    static  xmloff:XMLTokenEnum(const::::< ::beans >&xPropSet;
    static enum ::xmloff::token::java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
static :::token: MapMeasureKind nKind;
    static enum ::xmloff::token::XMLTokenEnum
                      &nOffset  
    static enum ::xmloff::token::XMLTokenEnum MapAuthorFieldName(    voidExportFieldHelper(
    static :xmlofftoken MapSenderFieldName ::<css:XPropertySet xPropSetjava.lang.StringIndexOutOfBoundsException: Index 131 out of bounds for length 131

private:

    SvXMLExport,

/
     ExportFieldHelperjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
 ::Reference:::XTextField ,
        const css::uno::ReferenceboolbAddSpace=false;
        const css:uno:Reference< ::beansXPropertySet &rRangePropSet,
        enum FieldIdEnum nToken,
        bool     
             ExportElement::::: eElement/// element token

    /// export an empty element
    void(enum:::token: eElement
                       bool bAddSpace = false);
                                                        

    // export text:meta-field (RDF metadata)
     ExportElement :::token:XMLTokenEnumeElement,
                       const OUString& sContent,
                       sal_uInt16 nNamespace = XML_NAMESPACE_TEXT); /// element content

    
    void ExportMacro ProcessBoolean
constrContent

    /// export text:meta-field (RDF metadata)
bool
                           ) 
                           &rPrevCharIsSpace


             ::::: eXmlName/
        enum ::         ,     /// attribute value
        bool bBool
        bool bDefault ProcessInteger
sal_uInt16nPrefix;

    /// export a boolean attribute
    void ProcessBoolean(
        enum ::xmloff
        boolbBool,    /// attribute value
        boolenum:::token: eXmlNamejava.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 92

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    void(
        enumenum:xmloff: ,        
        OUString,  

    /// export an integer attribute, omit if default  =false
void(
        enum :java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 ,/// attribute value
        sal_Int32 nDefault);        /// default value

    /// export a string attribute
    
enum:::: eXmlName/// attribute token (namespace text)
        const OUString& sValue,void(
lse
        sal_uInt16 nPrefix = XML_NAMESPACE_TEXT         OUString sValue,  // attribute value

    /// export a string attribute that gets a QName value
    void ProcessString(
            void ProcessString(
        sal_uInt16 nValuePrefix,
        const OUString&         nValuePrefix


    /// export a string attribute, omit if default
    void(
        enum :    voidProcessString
const&,  
        std::         :xmlofftoken:XMLTokenEnumeValue          /// attribute token

    /// export a string attribute, omit if default
void
                xmloff ,
        :: ,java.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
        const OUString&sValue
        stdvoidProcessParagraphSequence(

    /// export a string attribute
    void ProcessString(
        enum ::xmloff        
         ::xmloff:::XMLTokenEnumeValue/// attribute token
        java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0


    void
        enumProcessValueAndType
        enum ::xmloff::token         nFormatKey/
LTokenEnum)       

    /// export a string as a sequence of paragraphs
    void ProcessParagraphSequence(
        
        std::u16string_view sParagraphSequence ,/java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64

    // export a numbering format (numeric, roman, alphabetic, etc.)
    void ProcessNumberingType(
        sal_Int16        bool bTimeStyle=);/java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61

    /// export display attribute (value, formula, none)
 ProcessDisplay/// is visible?
                        bool bIsCommand);    /// is show command/show name?

    /// export all data-style related attributes
    void ProcessValueAndType(
do processstring number
        sal_Int32 nFormatKey,        sal_uInt16 =XML_NAMESPACE_TEXT   java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
        const OUString ProcessDateTime
        ::u16string_view sDefault,/// default string
        double         nMinutes/// date/time value in minutes
        bool bExportValue  /// export value attribute?
        bool bExportValueType,  /// export value-type attribute?
        bool bExportStyle,  /// export style-attribute?
        boolenum:xmlofftoken eXMLName/// attribute token
        bool bTimeStyle =false/

    /// export times, dates and durations according to ISO 8601
    void ProcessDateTimevoid ProcessTimeOrDateTimejava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
        enum         cssutil&rTime/// date/time value
/
        bool bIsDate,           /// export as date (rather than date/time)?
         bIsDuration,/// export as duration
        bool bOmitDurationIfZerocss::::XPropertySet 
sal_uInt16 XML_NAMESPACE_TEXT/// attribute name prefix

    /// export a date, time, or duration
 ProcessDateTime
         ::token ,    java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
        sal_Int32 nMinutes,             /// date/time value in minutes
        bool bIsDate,           /// export as date?
        bool bIsDuration);       /// export as duration?

    /// export times, dates and durations according to ISO 8601
    void java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        enum ::xmloffconstcss::equenceOUString&rSequence
        const css::java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    /// export time or dateTime
void(
        enum ::xmloff & ,
         ::::DateTime rTime  // date/time value

    /// export all attributes for bibliography data fields
    void
            
  cssbeansXPropertySet&rPropertySet;

    (const:::: <::::XTextField  );
    void/
        sal_Int32staticboolGetDependentFieldPropertySet

    voidcss::< ::eansXPropertySet  xField
        const css:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0


    void ProcessStringSequence(
uence> rSequence
java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 30

    /// export attributes that describe a data source
    void ExportDataBaseElement(
         :::tokenXMLTokenEnumjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
        const OUString& sContent
    
        const css::uno     void(

    /// for XDependentTextFields, get PropertySet of FieldMaster
    static css        & sFieldType        
GetMasterPropertySet( cssuno: <css::XTextField>&rTextFieldjava.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91

    /// get PropertySet of (any) DependentTextField for this FieldMaster
    static boolstd:string_viewrSeqName
        const css::uno
        cssuno< ::::XPropertySet  xField;


    /// get field ID from XTextField (and it's Property-Set)
    static
                          const /java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51

    /// get field ID from XTextField service name (and it's PropertySet)
    static enum FieldIdEnum MapFieldName(std::u16string_view sFieldName,
                            const css::uno::Reference < css::beans::XPropertySet> & xPropSet);

    /// determine, whether field has string or numeric content
    static bool IsStringField(FieldIdEnum nFieldType,  /// field ID
                           const css::uno::Reference < css::beans::XPropertySet > & xPropSet);


    /// explode a field master name into field type and field name
    static void ExplodeFieldMasterName(
        std::u16string_view sMasterName, /// name as returned by SO API
        OUString& sFieldType,        /// out: field type
        OUString& sVarName);         /// out: variable name

    /// make reference name for a foot- or endnote
    static OUString MakeFootnoteRefName(sal_Int16 nSeqNo);

    /// make reference name for a sequence field
    static OUString MakeSequenceRefName(sal_Int16 nSeqNo,
                                              std::u16string_view rSeqName);

    std::unique_ptr<XMLPropertyState> pCombinedCharactersPropertyState;

};


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

Messung V0.5 in Prozent
C=64 H=100 G=83

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

*Bot Zugriff






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.