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
13
class
CFX_CSSOutputTextBuf
{
14
public
:
15
CFX_CSSOutputTextBuf
();
16
~
CFX_CSSOutputTextBuf
();
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
:
24
DataVector
<
wchar_t
>
m_Buffer
;
25
};
26
27
#
endif
// CORE_FXCRT_CSS_CFX_CSSOUTPUTTEXTBUF_H_
CFX_CSSOutputTextBuf
Definition
cfx_cssoutputtextbuf.h:13
CFX_CSSOutputTextBuf::m_Buffer
DataVector< wchar_t > m_Buffer
Definition
cfx_cssoutputtextbuf.h:24
CFX_CSSOutputTextBuf::CFX_CSSOutputTextBuf
CFX_CSSOutputTextBuf()
Definition
cfx_cssoutputtextbuf.cpp:9
CFX_CSSOutputTextBuf::GetTrailingBlankTrimmedString
WideStringView GetTrailingBlankTrimmedString() const
Definition
cfx_cssoutputtextbuf.cpp:22
CFX_CSSOutputTextBuf::AppendCharIfNotLeadingBlank
void AppendCharIfNotLeadingBlank(wchar_t wch)
Definition
cfx_cssoutputtextbuf.cpp:15
CFX_CSSOutputTextBuf::IsEmpty
bool IsEmpty() const
Definition
cfx_cssoutputtextbuf.h:19
CFX_CSSOutputTextBuf::~CFX_CSSOutputTextBuf
~CFX_CSSOutputTextBuf()
CFX_CSSOutputTextBuf::Clear
void Clear()
Definition
cfx_cssoutputtextbuf.h:18
qtwebengine
src
3rdparty
chromium
third_party
pdfium
core
fxcrt
css
cfx_cssoutputtextbuf.h
Generated on Sat Sep 21 2024 00:55:12 for Qt by
1.12.0