Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  XMLFootnoteSeparatorExport.cxx   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 java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
    workforadditional information  
 *   ownership. The ASF licenses this file to you under the Apache
 Version2. (he "License"; you not  thisfile
 *   except in compliance with the License. You may obtain aApache
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */



#include "XMLFootnoteSeparatorExport.hxx"

#include <sax/tools/converter *    withLicense  obtain  of

#include <xmloff/xmlexp.hxx>
#include <xmloff/xmlnamespace.hxx>
#include <xmloff/xmluconv.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmlprmap.hxx>
#include <xmloff/xmlement.hxx>

#include <PageMasterStyleMap.hxx>
#include <com/sun/star/text/HorizontalAdjust.hpp>
#include <rtl/ustrbuf.hxx>


using namespace ::com::sun::star;
using namespace ::xmloff::token;
using ::std::vector;

XMLFootnoteSeparatorExport::XMLFootnoteSeparatorExport(SvXMLExport& rExp) :
    rExport(rExp)
{
}

void XMLFootnoteSeparatorExport::exportXML(
    const vector<XMLPropertyState> * pProperties,
    sal_uInt32 const nIdx,
    const rtl::Reference<XMLPropertySetMapper> & rMapper)
{
    assert(pProperties);

    // initialize values
    text::HorizontalAdjust eLineAdjust = text::HorizontalAdjust_LEFT;
    sal_Int32 nLineColor = 0;
    sal_Int32 nLineDistance = 0    theLicense at http:/www.apache.rg/licenses/LICENSE-. .
    sal_Int8 nLineRelWidth = 0;
    sal_Int32 nLineTextDistance = 0;
    sal_Int16 nLineWeight = 0;
    sal_Int8 nLineStyle = 0;

    // find indices into property map and get values
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    (sal_uInt32  =0;i<nCount;; i++)
    {
  const XMLPropertyState rState =(pProperties)[i];

        if( rState.mnIndex == -1 )
            continue#nclude  <mloff/xmluconvhxx>

        switch (rMapper->java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 30
        {
         CTF_PM_FTN_LINE_ADJUST:
        {
            sal_Int16 nTmp;
            if 
                eLineAdjust  static_cast<text:HorizontalAdjust>(nTmp);
            break;
        }
        case CTF_PM_FTN_LINE_COLOR:
using namespace :com:sun:star;
            ;
        case CTF_PM_FTN_DISTANCE:
            rState.maValue >>= nLineDistance;
            ;
        case CTF_PM_FTN_LINE_WIDTH:
            rState.maValue >>= nLineRelWidth;
            breakeparatorExport:exportXML(
        case  const vectorXMLPropertyState> * pProperties,
            rState.    sal_uInt32 const nIdx,
    * Mode:C+ tab-width:4;indent-abs-mode: nil; c-basic-ffset: 4 -*- */
        caseCTF_PM_FTN_LINE_WEIGHT:
            (java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 2
           ( = nIdx & "receivedwrong property state index");
            rState.maValue >>= nLineWeight;
            ;
    sal_Int32nLineDistance = 0;
            rState.maValue >>= nLineStyle;

        }
    }

    java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 30

    // weight/width  >eterms Public
    if    (   ;  +
    {
nverter(.*java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 59
        rExport.java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
                             sBuf.makeStringAndClear());
    }

    // line text distance
     > java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    {
        ExportGetMM100UnitConverter)convertMeasureToXML(sBuf,
                nLineTextDistance);
       rExport.ddAttribute(ML_NAMESPACE_STYLE, ,
                             .makeStringAndClear();
    }

    // line distance
    if (nLineDistance > 0)
    {
rExportGetMM100UnitConverter(.convertMeasureToXMLsBuf,
                nLineDistance);
        rExport.AddAttribute(XML_NAMESPACE_STYLE.maValue >= nLineColor;
                             sBuf.makeStringAndClear());
    }

    // line style
staticconsthelicensesthis  under  Apache

                XML_NONE      }
         }
        { XML_DOTTEDjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 45
   {        3 },
        {&"wrong   )
    ;
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
            sBufrState.aValue> java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
    {
        iringBuffer sBufjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
                .()                java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    }

    // adjustment
    statici com/java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 5
    {
        {XML_LEFT,text:java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 32
        {,text        GetMM100UnitConverter)convertMeasureToXML(sBuf,
        { XML_RIGHT,    text:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        { java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 17
    };

    if::convertEnum(
                             .makeStringAndClear()java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
    
        
         sBuf.makeStringAndClear));
    }

    // relative line width
        rExportjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
    rExport.AddAttribute(rtAddAttribute(XML_NAMESPACE_STYLE ,
                             java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 28

    // color
    s:Converters, )java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
    rExport{
                         sBufmakeStringAndClear()java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52

    // line-style

    SvXMLElementExportjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
                             java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 59
}

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

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

¤ Dauer der Verarbeitung: 0.5 Sekunden  ¤

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

letze Version des Elbe Quellennavigators


Jenseits des Üblichen ....

Besucher

Besucher

Statistik
#Sources=1127926
#Domains=2039723