Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cfx_cssoutputtextbuf.h
Go to the documentation of this file.
1// Copyright 2017 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#ifndef CORE_FXCRT_CSS_CFX_CSSOUTPUTTEXTBUF_H_
8#define CORE_FXCRT_CSS_CFX_CSSOUTPUTTEXTBUF_H_
9
10#include "core/fxcrt/data_vector.h"
11#include "core/fxcrt/widestring.h"
12
14 public:
17
18 void Clear() { m_Buffer.clear(); }
19 bool IsEmpty() const { return m_Buffer.empty(); }
20 void AppendCharIfNotLeadingBlank(wchar_t wch);
21 WideStringView GetTrailingBlankTrimmedString() const;
22
23 protected:
25};
26
27#endif // CORE_FXCRT_CSS_CFX_CSSOUTPUTTEXTBUF_H_
DataVector< wchar_t > m_Buffer
WideStringView GetTrailingBlankTrimmedString() const
void AppendCharIfNotLeadingBlank(wchar_t wch)