12 #ifndef DOCWIRE_ATTRIBUTES_H
13 #define DOCWIRE_ATTRIBUTES_H
48 std::chrono::sys_seconds
date;
50 std::optional<std::string>
to;
82 {tag.styling} -> std::convertible_to<styling>;
90 std::optional<double>
x;
91 std::optional<double>
y;
concept WithStyling
Concept for types that have styling information.
The main namespace for the DocWire SDK.
requires(!string_method_equipped< T >) struct stringifier< T >
Specialization for types that are streamable to std::ostream.
std::optional< std::string > sender
The sender's name or address.
std::optional< std::string > reply_to
The email address to reply to.
std::chrono::sys_seconds date
The date and time the email was sent.
std::optional< std::string > subject
The subject of the email.
std::string from
The sender's email address.
std::optional< std::string > to
The recipient's email address.
Represents the geometric position and dimensions of an element.
std::optional< double > x
Optional x-coordinate of the bottom-left corner.
std::optional< double > height
Optional height of the element.
std::optional< double > y
Optional y-coordinate of the bottom-left corner.
std::optional< double > width
Optional width of the element.
Represents CSS-like styling information for document elements.
std::vector< std::string > classes
List of CSS classes.
std::string id
Unique identifier for the element.
std::string style
Inline style string.