Antenna House PDF Tool API (C++) 8.0
PtlFieldChoice.h
1
2// PtlFieldChoice.h
3// Copyright (C) 2024-2025 Antenna House,Inc.
4// All rights reserved.
6#ifndef PDFTK_PTLFIELD_CHOICE_H_
7#define PDFTK_PTLFIELD_CHOICE_H_
8
9#include "PtlField.h"
10
11namespace PdfTk {
12
13class PtlParamFont;
14class PtlParamString;
16
21
22class PDFTK_API PtlFieldChoice : public PtlField
23{
24public:
30
31protected:
37
45
46public:
51
52public:
60
61public:
67 void setFont(const PtlParamFont& font);
68
75
84
90 void setValue(const PtlParamString& value);
91
99 void setDefaultValue(const PtlParamString& value);
100
101};
102
103} // namespace PdfTk
104
105#endif // PDFTK_PTLFIELD_CHOICE_H_
PtlFieldChoice(FIELD_TYPE type)
コンストラクタ
PtlFieldChoice(const PtlFieldChoice &obj)
コピーコンストラクタ alias copy
const PtlParamString & getValue()
フィールドに設定されている文字を取得。
PtlFieldChoice & operator=(const PtlFieldChoice &obj)
コピーオペレータ alias copy
void setFont(const PtlParamFont &font)
選択オプションのフォントの設定。
PtlFieldOptItems & getOptItems()
選択オプションのオプションアイテムコンテナを取得。
~PtlFieldChoice()
デストラクタ
PtlFieldChoice()
コンストラクタ
void setDefaultValue(const PtlParamString &value)
フィールドにデフォルト値を設定。
void setValue(const PtlParamString &value)
フィールドに値を設定。
PtlField(FIELD_TYPE type)
コンストラクタ