FLImaging 6.10.23.2
GUIPropertyItemMultiLineText.h
1
7#pragma once
8#include "GUIPropertyItemBase.h"
9
11namespace FLImaging
12{
14 namespace GUI
15 {
32 {
33 public:
42
51
61 virtual Base::CFLString<wchar_t> GetValue() const override;
62
72 virtual void SetHeight(int32_t i32Height = 100);
73
83 virtual int32_t GetHeight() const;
84
85 virtual CMFCPropertyGridProperty* CreateGridProperty() override;
86
101
113 static Base::CFLString<wchar_t> ConvertSingleToMultiLine(const wchar_t* strSingleLine);
114
126 virtual bool Load(const Base::CFLString<wchar_t>& strFilePath) override;
127
139 virtual bool Load(const Base::CFLArray<Base::CFLString<wchar_t>>& flaData) override;
140
152 virtual bool Save(const Base::CFLString<wchar_t>& strFilePath) const override;
153
165 virtual bool Save(Base::CFLArray<Base::CFLString<wchar_t>>& flaData) const override;
166
178 virtual bool SetHScroll(bool bHorzScroll);
179
189 virtual bool IsHScroll() const;
190
200 virtual void Enable(bool bEnable) override;
201
202 virtual bool SetValue(Base::CFLString<wchar_t> strValue, bool bInvokeCallback = true) override;
203 virtual bool SetBufferValue(Base::CFLString<wchar_t> strValue) override;
204 virtual bool SetOrigValue(const Base::CFLString<wchar_t>& strValue) override;
205 virtual void SetDefaultValue(const Base::CFLString<wchar_t>& strDefaultValue) override;
206
207 protected:
208 int32_t m_i32Height; // \~English Editor height (px). \~Korean 편집 높이(픽셀).
209 bool m_bHScroll; // \~English Horizontal scroll flag. \~Korean 가로 스크롤 사용 여부.
210 };
211 }
212}
Template type 의 배열 클래스.
Definition FLArray.h:53
Template type 의 문자열 클래스
Definition FLString.h:34
virtual Base::CFLString< wchar_t > GetValue() const override
현재 텍스트 값(다중 행)을 반환합니다.
virtual bool Load(const Base::CFLString< wchar_t > &strFilePath) override
파일에서 텍스트를 로드합니다.
virtual bool SetBufferValue(Base::CFLString< wchar_t > strValue) override
this의 버퍼 값을 설정합니다.
static Base::CFLString< wchar_t > ConvertSingleToMultiLine(const wchar_t *strSingleLine)
저장/로드 가능한 단일 행 표현을 일반 다중 행 문자열로 복원합니다.
virtual void SetHeight(int32_t i32Height=100)
편집기 높이(픽셀)를 설정합니다.
virtual bool Load(const Base::CFLArray< Base::CFLString< wchar_t > > &flaData) override
배열 버퍼에서 텍스트를 로드합니다(예: 직렬화된 라인).
virtual void SetDefaultValue(const Base::CFLString< wchar_t > &strDefaultValue) override
this의 기본값을 설정합니다.
virtual bool SetValue(Base::CFLString< wchar_t > strValue, bool bInvokeCallback=true) override
this에 값을 설정합니다.
virtual bool IsHScroll() const
가로 스크롤 사용 여부를 반환합니다.
virtual bool Save(Base::CFLArray< Base::CFLString< wchar_t > > &flaData) const override
텍스트를 배열 버퍼로 저장합니다(예: 직렬화 라인).
virtual bool SetOrigValue(const Base::CFLString< wchar_t > &strValue) override
this의 원래 값을 설정합니다.
virtual CMFCPropertyGridProperty * CreateGridProperty() override
이 아이템에 대한 MFC 그리드 프로퍼티를 생성 후 리턴합니다. 만약 이미 생성된 객체가 있다면 그 객체를 리턴합니다.
static Base::CFLString< wchar_t > ConvertMultiToSingleLine(const Base::CFLString< wchar_t > &strMultiLine)
일반 다중 행 문자열을 저장/로드 가능한 단일 행 표현으로 변환합니다. (예: 줄바꿈을 이스케이프 등)
virtual bool SetHScroll(bool bHorzScroll)
편집기에서 가로 스크롤 사용 여부를 설정합니다.
virtual bool Save(const Base::CFLString< wchar_t > &strFilePath) const override
텍스트를 파일로 저장합니다.
virtual int32_t GetHeight() const
편집기 높이(픽셀)를 반환합니다.
virtual void Enable(bool bEnable) override
이 프로퍼티 아이템의 사용 가능 여부(편집 가능)를 설정합니다.
Definition D2DObject.h:12