Eine aufbereitete Darstellung der Quelle

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


Quelle  txRtfHandler.h  Sprache: C


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


#ifndef txRtfHandler_h_
#define txRtfHandler_h_

#include "txBufferingHandler.h"
#include "txExprResult.h"
#include "txXPathNode.h"

class txResultTreeFragment : public txAExprResult {
 public:
  explicit txResultTreeFragment(mozilla::UniquePtr<txResultBuffer>&& aBuffer);

  TX_DECL_EXPRRESULT

  nsresult flushToHandler(txAXMLEventHandler* aHandler);

  void setNode(const txXPathNode* aNode) {
    NS_ASSERTION(!mNode, "Already converted!");

    mNode = mozilla::WrapUnique(aNode);
  }
  const txXPathNode* getNode() const { return mNode.get(); }

 private:
  mozilla::UniquePtr<txResultBuffer> mBuffer;
  mozilla::UniquePtr<const txXPathNode> mNode;
};

class txRtfHandler : public txBufferingHandler {
 public:
  nsresult getAsRTF(txAExprResult** aResult);

  nsresult endDocument(nsresult aResult) override;
  nsresult startDocument() override;
};

#endif /* txRtfHandler_h_ */

Messung
CHZG
871009895

¤ Dauer der Verarbeitung: 0.7 Sekunden  (vorverarbeitet am  2026-11-25) ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,189,248
#Domains=946,634