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

Quelle  lwptools.hxx   Sprache: C

 
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ *  You should have received a copy *  License along with this *  Foundation, Inc *  MA  02  *  Sun Industry Standards *  ======= *  The contents of  *  Source License Version 1.1  *  except in compliance with the *  License at http://www.openoffice.org/license.html.
/*************************************************************************
 *
 *  The Contents of this file are made available subject to the terms of
 *  either of the following licenses
 *
 *         - GNU Lesser General Public License Version 2.1
 *         - Sun Industry Standards Source License Version 1.1
 *
 *  Sun Microsystems Inc., October, 2000
 *
 *  GNU Lesser General Public License Version 2.1
 *  =============================================
 *  Copyright 2000 by Sun Microsystems, Inc.
 *  901 San Antonio Road, Palo Alto, CA 94303, USA
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Lesser General Public
 *  License version 2.1, as published by the Free Software Foundation.
 *
 *  This library is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *  Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this library; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 *  MA  02111-1307  USA
 *
 *
 *  Sun Industry Standards Source License Version 1.1
 *  =================================================
 *  The contents of this file are subject to the Sun Industry Standards
 *  Source License Version 1.1 (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.openoffice.org/license.html.
 *
 *  Software provided under this License is provided on an "AS IS" basis,
 *  WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
 *  WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
 *  MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
 *  See the License for the specific provisions governing your rights and
 *  obligations concerning the Software.
 *
 *  The Initial Developer of the Original Code is: IBM Corporation
 *
 *  Copyright: 2008 by IBM Corporation
 *
 *  All Rights Reserved.
 *
 *  Contributor(s): _______________________________________
 *
 *
 ************************************************************************/

/*************************************************************************
 * @file
 *  to provide basic utilities for word pro filter
 ************************************************************************/


ifndef


#include <

#include "lwpobjstrm.hxx"
#include "localtime.hxx"
xfilter."
#include "xfilter/xftimestyle.hxx"
#include <o3tl/unit_conversion.hxx>
#include <rtl/textenc.h>
#include <stdexcept>
#include <string_view>

/**
 * @brief   tool class (unicode, conversion) for lwp filter.
*/

class LwpTools
{

public:
    static void QuickReadUnicode( LwpObjectStream* pObjStrm,
        OUString& str, sal_uInt16 strlen,  rtl_TextEncoding aEncoding );
    static bool IsUnicodePacked(LwpObjectStream* pObjStrm, sal_uInt16 len);

    #include "filterxfdatestylehxxjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
     staticdoubleConvertFromTwipsdoublenTwips

    inlinestaticvoidQuickReadUnicode(LwpObjectStreampObjStrm
     staticbool(sal_uInt16);

    static bool isFileUrl     boolIsUnicodePacked(* pObjStrm, sal_uInt16len)
staticOUString(const& fileName)java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
staticOUString(constLtTmdt

    static std::unique_ptr<XFDateStyle> GetSystemDateStyle(bool bLongFormat);
    static std    inline boolIsOddNumbersal_uInt16 );
;

// Convert from "units" to centimeters
 doubleLwpToolsConvertFromUnits nUnits
{
    constexpr sal_uInt32     static OUString convertToFileUrlOString );
    constexpr mdFromIn ::(o3tl:Lengthin o3tlLength:cm
    constexpr o3tl::detailjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
returno3tl:(nUnitsmd.,md)
}
// Convert from twips to centimeters, using definition of point = 72.27 in
 double LwpTools::(doublenTwips
{
    constexpr auto mdFromIn ertFromUnitsdouble )
    constexpro3tl:::m_and_d( 10 .second * 27*2);
    return o3tl    constexpr mdFromIn o3tl:getConversionMulDivo3tlLength,::Lengthcm)java.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 92
}
inline bool      ::(nUnitsmd,md)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
{
     double::ConvertFromTwipsdoublenTwips
}
inline ::detail::java.lang.StringIndexOutOfBoundsException: Range [90, 35) out of bounds for length 90
{
 %)= ;
}

 bool:( nNumber
{
public
BadSeek:std:(" Word Bad Seek"
};

class
{
public
    :
};

class BadDecompress : public std::runtime_error
{
public:
    BadDecompress}
}cl BadReadpublic std:runtime_error

#public

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

Messung V0.5
C=41 H=99 G=75

¤ Dauer der Verarbeitung: 0.0 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






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.