Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  EmbeddedFontListContext.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/.
 */


#pragma once

#include <vector>

#include <com/sun/star/beans/XPropertySet.hpp>
#include <oox/core/contexthandler.hxx>
#include <oox/core/fragmenthandler2.hxx>
#include <vcl/embeddedfontshelper.hxx>
#include <rtl/ustring.hxx>
#include <sal/types.h>
#include <optional>

namespace oox
{
class AttributeList;
}

namespace oox::ppt
{
/** Imported embedded font information */
struct EmbeddedFont
{
    OUString aTypeface;
    OUString aPanose;
    sal_Int32 nPitchFamily = -1;
    sal_Int32 nCharset = -1;

    OUString aRegularID;
    OUString aBoldID;
    OUString aItalicID;
    OUString aBoldItalicID;
};

/** Import context handling the embedded font list (p:embeddedFontLst) */
class EmbeddedFontListContext final : public ::oox::core::FragmentHandler2
{
    std::optional<EmbeddedFont> moCurrentFont;
    EmbeddedFontsHelper maEmbeddedFontHelper;
    bool mbEmbedTrueType = false;
    css::uno::Reference<css::beans::XPropertySet> mxDocSettings;

public:
    EmbeddedFontListContext(oox::core::FragmentHandler2 const& rParent, bool bEmbedTrueType,
                            css::uno::Reference<css::beans::XPropertySet> const& rxDocSettings);
    ~EmbeddedFontListContext() override;

    oox::core::ContextHandlerRef onCreateContext(sal_Int32 aElementToken,
                                                 const AttributeList& rAttribs) override;
    void onEndElement() override;
};
}

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

Messung V0.5 in Prozent
C=88 H=99 G=93

¤ Dauer der Verarbeitung: 0.17 Sekunden  (vorverarbeitet am  2026-06-10) ¤

*© 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=277311
#Domains=752002