LibreOffice Module oox (master) 1
|
#include <drawingml/chart/objectformatter.hxx>
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
#include <com/sun/star/util/XNumberFormatTypes.hpp>
#include <osl/thread.h>
#include <osl/diagnose.h>
#include <rtl/strbuf.hxx>
#include <oox/core/xmlfilterbase.hxx>
#include <drawingml/fillproperties.hxx>
#include <drawingml/lineproperties.hxx>
#include <oox/drawingml/shapepropertymap.hxx>
#include <drawingml/textbody.hxx>
#include <drawingml/textparagraph.hxx>
#include <oox/drawingml/theme.hxx>
#include <drawingml/chart/chartspacemodel.hxx>
#include <oox/helper/modelobjecthelper.hxx>
#include <oox/helper/graphichelper.hxx>
#include <oox/token/properties.hxx>
#include <oox/token/tokens.hxx>
#include <unotools/mediadescriptor.hxx>
Go to the source code of this file.
Classes | |
struct | oox::drawingml::chart::ObjectFormatterData |
Namespaces | |
namespace | oox |
namespace | oox::drawingml |
namespace | oox::drawingml::chart |
Macros | |
#define | AUTOFORMAT_PATTERN_COLOR(color_token) { color_token, XML_TOKEN_INVALID, 0 } |
#define | AUTOFORMAT_PATTERN_COLORMOD(color_token, mod_token, mod_value) { color_token, mod_token, mod_value } |
#define | AUTOFORMAT_PATTERN_END() AUTOFORMAT_PATTERN_COLOR( XML_TOKEN_INVALID ) |
#define | AUTOFORMAT_COLOR(first, last, themed_style, color_token) { first, last, themed_style, color_token, XML_TOKEN_INVALID, 0, 100, nullptr, false } |
#define | AUTOFORMAT_COLORMOD(first, last, themed_style, color_token, mod_token, mod_value) { first, last, themed_style, color_token, mod_token, mod_value, 100, nullptr, false } |
#define | AUTOFORMAT_ACCENTSMOD(first, themed_style, mod_token, mod_value) |
#define | AUTOFORMAT_PATTERN(first, last, themed_style, line_width, pattern) { first, last, themed_style, XML_TOKEN_INVALID, XML_TOKEN_INVALID, 0, line_width, pattern, false } |
#define | AUTOFORMAT_FADED(first, last, themed_style, color_token, line_width) { first, last, themed_style, color_token, XML_TOKEN_INVALID, 0, line_width, nullptr, true } |
#define | AUTOFORMAT_FADEDACCENTS(first, themed_style, line_width) |
#define | AUTOFORMAT_INVISIBLE(first, last) AUTOFORMAT_COLOR( first, last, -1, XML_TOKEN_INVALID ) |
#define | AUTOFORMAT_END() AUTOFORMAT_INVISIBLE( -1, -1 ) |
#define | AUTOTEXT_COLOR(first, last, themed_font, color_token, def_font_size, rel_font_size, bold) { first, last, themed_font, color_token, def_font_size, rel_font_size, bold } |
#define | AUTOTEXT_END() AUTOTEXT_COLOR( -1, -1, XML_none, XML_TOKEN_INVALID, 1000, 100, false ) |
#define | TYPEFORMAT_FRAME(obj_type, prop_type, auto_texts, auto_lines, auto_fills) { obj_type, prop_type, auto_lines, auto_fills, auto_texts, true } |
#define | TYPEFORMAT_LINE(obj_type, prop_type, auto_texts, auto_lines) { obj_type, prop_type, auto_lines, nullptr, auto_texts, false } |
#define AUTOFORMAT_ACCENTSMOD | ( | first, | |
themed_style, | |||
mod_token, | |||
mod_value | |||
) |
Definition at line 139 of file objectformatter.cxx.
#define AUTOFORMAT_COLOR | ( | first, | |
last, | |||
themed_style, | |||
color_token | |||
) | { first, last, themed_style, color_token, XML_TOKEN_INVALID, 0, 100, nullptr, false } |
Definition at line 133 of file objectformatter.cxx.
#define AUTOFORMAT_COLORMOD | ( | first, | |
last, | |||
themed_style, | |||
color_token, | |||
mod_token, | |||
mod_value | |||
) | { first, last, themed_style, color_token, mod_token, mod_value, 100, nullptr, false } |
Definition at line 136 of file objectformatter.cxx.
#define AUTOFORMAT_END | ( | ) | AUTOFORMAT_INVISIBLE( -1, -1 ) |
Definition at line 164 of file objectformatter.cxx.
#define AUTOFORMAT_FADED | ( | first, | |
last, | |||
themed_style, | |||
color_token, | |||
line_width | |||
) | { first, last, themed_style, color_token, XML_TOKEN_INVALID, 0, line_width, nullptr, true } |
Definition at line 150 of file objectformatter.cxx.
#define AUTOFORMAT_FADEDACCENTS | ( | first, | |
themed_style, | |||
line_width | |||
) |
Definition at line 153 of file objectformatter.cxx.
#define AUTOFORMAT_INVISIBLE | ( | first, | |
last | |||
) | AUTOFORMAT_COLOR( first, last, -1, XML_TOKEN_INVALID ) |
Definition at line 161 of file objectformatter.cxx.
#define AUTOFORMAT_PATTERN | ( | first, | |
last, | |||
themed_style, | |||
line_width, | |||
pattern | |||
) | { first, last, themed_style, XML_TOKEN_INVALID, XML_TOKEN_INVALID, 0, line_width, pattern, false } |
Definition at line 147 of file objectformatter.cxx.
#define AUTOFORMAT_PATTERN_COLOR | ( | color_token | ) | { color_token, XML_TOKEN_INVALID, 0 } |
Definition at line 63 of file objectformatter.cxx.
#define AUTOFORMAT_PATTERN_COLORMOD | ( | color_token, | |
mod_token, | |||
mod_value | |||
) | { color_token, mod_token, mod_value } |
Definition at line 66 of file objectformatter.cxx.
#define AUTOFORMAT_PATTERN_END | ( | ) | AUTOFORMAT_PATTERN_COLOR( XML_TOKEN_INVALID ) |
Definition at line 69 of file objectformatter.cxx.
#define AUTOTEXT_COLOR | ( | first, | |
last, | |||
themed_font, | |||
color_token, | |||
def_font_size, | |||
rel_font_size, | |||
bold | |||
) | { first, last, themed_font, color_token, def_font_size, rel_font_size, bold } |
Definition at line 408 of file objectformatter.cxx.
#define AUTOTEXT_END | ( | ) | AUTOTEXT_COLOR( -1, -1, XML_none, XML_TOKEN_INVALID, 1000, 100, false ) |
Definition at line 411 of file objectformatter.cxx.
#define TYPEFORMAT_FRAME | ( | obj_type, | |
prop_type, | |||
auto_texts, | |||
auto_lines, | |||
auto_fills | |||
) | { obj_type, prop_type, auto_lines, auto_fills, auto_texts, true } |
Definition at line 528 of file objectformatter.cxx.
#define TYPEFORMAT_LINE | ( | obj_type, | |
prop_type, | |||
auto_texts, | |||
auto_lines | |||
) | { obj_type, prop_type, auto_lines, nullptr, auto_texts, false } |
Definition at line 531 of file objectformatter.cxx.
|
protected |
RGB placeholder color for themed style.
Definition at line 603 of file objectformatter.cxx.
|
private |
Converter for line formatting.
Definition at line 704 of file objectformatter.cxx.
|
private |
Definition at line 703 of file objectformatter.cxx.
|
private |
Converter for fill formatting.
Definition at line 705 of file objectformatter.cxx.
bool mbBold |
Font size relative to chart global font (percent).
Definition at line 405 of file objectformatter.cxx.
bool mbFadedColor |
Color cycling pattern for data series.
Definition at line 130 of file objectformatter.cxx.
bool mbIsFrame |
Automatic text attributes for all chart styles.
Definition at line 517 of file objectformatter.cxx.
ObjectType meObjType |
Definition at line 512 of file objectformatter.cxx.
sal_Int32 mnColorToken |
sal_Int32 mnDefFontSize |
Theme color token.
Definition at line 403 of file objectformatter.cxx.
sal_Int32 mnFirstStyleIdx |
Definition at line 122 of file objectformatter.cxx.
sal_Int32 mnLastStyleIdx |
First chart style index.
Definition at line 123 of file objectformatter.cxx.
sal_Int32 mnModToken |
Theme color token.
Definition at line 59 of file objectformatter.cxx.
sal_Int32 mnModValue |
Color modification token.
Definition at line 60 of file objectformatter.cxx.
|
protected |
Shared formatter data.
Definition at line 602 of file objectformatter.cxx.
sal_Int32 mnRelFontSize |
Default font size (1/100 points).
Definition at line 404 of file objectformatter.cxx.
sal_Int32 mnRelLineWidth |
Color modification value.
Definition at line 128 of file objectformatter.cxx.
sal_Int32 mnThemedFont |
Last chart style index.
Definition at line 401 of file objectformatter.cxx.
sal_Int32 mnThemedIdx |
Last chart style index.
Definition at line 124 of file objectformatter.cxx.
const AutoFormatEntry* mpAutoFills |
Automatic line formatting for all chart styles.
Definition at line 515 of file objectformatter.cxx.
const AutoFormatEntry* mpAutoLines |
Property info for the ShapePropertyMap class.
Definition at line 514 of file objectformatter.cxx.
const AutoTextEntry* mpAutoTexts |
Automatic fill formatting for all chart styles.
Definition at line 516 of file objectformatter.cxx.
const AutoFormatPatternEntry* mpPattern |
Relative line width (percent).
Definition at line 129 of file objectformatter.cxx.
|
protected |
Definition at line 601 of file objectformatter.cxx.
|
private |
Helper for named drawing formatting.
Definition at line 707 of file objectformatter.cxx.
|
private |
Converter for text formatting.
Definition at line 706 of file objectformatter.cxx.
const ShapePropertyInfo& mrPropInfo |
Object type for automatic format.
Definition at line 513 of file objectformatter.cxx.
|
private |
Definition at line 640 of file objectformatter.cxx.
|
private |
Definition at line 621 of file objectformatter.cxx.
|
private |
Definition at line 661 of file objectformatter.cxx.