Stroika Library 3.0d18
 
Loading...
Searching...
No Matches
StyledTextIO_MIMETextEnriched.h
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3 */
4#ifndef _Stroika_Frameworks_Led_StyledTextIO_MIMETextEnriched_h_
5#define _Stroika_Frameworks_Led_StyledTextIO_MIMETextEnriched_h_ 1
6
7/*
8@MODULE: StyledTextIO_MIMETextEnriched
9@DESCRIPTION:
10 */
11#include "Stroika/Frameworks/StroikaPreComp.h"
12
13#include "Stroika/Frameworks/Led/StyledTextIO/StyledTextIO.h"
14
15namespace Stroika::Frameworks::Led::StyledTextIO {
16
17 /*
18 @CLASS: StyledTextIOReader_MIMETextEnriched
19 @BASES: @'StyledTextIOReader'
20 @DESCRIPTION:
21 */
22 class StyledTextIOReader_MIMETextEnriched : public StyledTextIOReader {
23 public:
24 StyledTextIOReader_MIMETextEnriched (SrcStream* srcStream, SinkStream* sinkStream);
25
26 public:
27 virtual void Read () override;
28 virtual bool QuickLookAppearsToBeRightFormat () override;
29
30 private:
31 nonvirtual void SkipWhitespace ();
32 nonvirtual void SkipOneLine ();
33 nonvirtual bool ScanFor (const char* matchMe, bool ignoreCase = true);
34 nonvirtual bool LookingAt (const char* matchMe, bool ignoreCase = true);
35
36 private:
37 nonvirtual FontSpecification GetAdjustedCurrentFontSpec () const;
38
39 int fBoldMode; // non-zero means YES - can be nested
40 int fItalicMode; // ""
41 int fUnderlineMode; // ""
42 int fFixedWidthMode; // ""
43 int fFontSizeAdjust; // ""
44 int fNoFillMode; // ""
45 };
46
47 /*
48 ********************************************************************************
49 ***************************** Implementation Details ***************************
50 ********************************************************************************
51 */
52
53}
54
55#endif /*_Stroika_Frameworks_Led_StyledTextIO_MIMETextEnriched_h_*/