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_csscustomproperty.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_CSSCUSTOMPROPERTY_H_
8#define CORE_FXCRT_CSS_CFX_CSSCUSTOMPROPERTY_H_
9
10#include "core/fxcrt/widestring.h"
11
13 public:
14 CFX_CSSCustomProperty(const WideString& name, const WideString& value);
17
18 WideString name() const { return name_; }
19 WideString value() const { return value_; }
20
21 private:
22 WideString name_;
23 WideString value_;
24};
25
26#endif // CORE_FXCRT_CSS_CFX_CSSCUSTOMPROPERTY_H_
CFX_CSSFontVariant
Definition cfx_css.h:82
CFX_CSSFontStyle
Definition cfx_css.h:57
CFX_CSSDisplay
Definition cfx_css.h:48
CFX_CSSVerticalAlign
Definition cfx_css.h:70
CFX_CSSTextAlign
Definition cfx_css.h:62
CFX_CSSLengthUnit
Definition cfx_css.h:40
CFX_CSSTEXTDECORATION
Definition cfx_css.h:87
RetainPtr< CFX_CSSValueList > m_pFontFamily
Mask< CFX_CSSTEXTDECORATION > m_dwTextDecoration
void SetTextAlign(CFX_CSSTextAlign eTextAlign)
void SetNumberVerticalAlign(float fAlign)
void SetMarginWidth(const CFX_CSSRect &rect)
void SetTextDecoration(Mask< CFX_CSSTEXTDECORATION > dwTextDecoration)
void SetTextIndent(const CFX_CSSLength &textIndent)
const CFX_CSSRect * GetBorderWidth() const
void SetPaddingWidth(const CFX_CSSRect &rect)
void SetFontWeight(uint16_t wFontWeight)
void SetFontVariant(CFX_CSSFontVariant eFontVariant)
void SetFontStyle(CFX_CSSFontStyle eFontStyle)
void SetColor(FX_ARGB dwFontColor)
void SetFontSize(float fFontSize)
const CFX_CSSLength & GetTextIndent() const
void AddCustomStyle(const CFX_CSSCustomProperty &prop)
NonInheritedData m_NonInheritedData
CFX_CSSVerticalAlign GetVerticalAlign() const
Mask< CFX_CSSTEXTDECORATION > GetTextDecoration() const
CFX_CSSFontStyle GetFontStyle() const
CFX_CSSFontVariant GetFontVariant() const
const CFX_CSSRect * GetMarginWidth() const
absl::optional< WideString > GetLastFontFamily() const
~CFX_CSSComputedStyle() override
const CFX_CSSLength & GetLetterSpacing() const
CFX_CSSTextAlign GetTextAlign() const
bool GetCustomStyle(const WideString &wsName, WideString *pValue) const
CFX_CSSDisplay GetDisplay() const
void SetLetterSpacing(const CFX_CSSLength &letterSpacing)
const CFX_CSSRect * GetPaddingWidth() const
void SetLineHeight(float fLineHeight)
CFX_CSSCustomProperty(const WideString &name, const WideString &value)
CFX_CSSCustomProperty(const CFX_CSSCustomProperty &prop)
CFX_CSSLength(CFX_CSSLengthUnit eUnit, float fValue)
Definition cfx_css.h:100
CFX_CSSRect(CFX_CSSLengthUnit eUnit, float val)
Definition cfx_css.h:128
#define CONSTRUCT_VIA_MAKE_RETAIN
Definition retain_ptr.h:224