LibreOffice Module sw (master) 1
|
#include <sal/config.h>
#include <string_view>
#include <hintids.hxx>
#include <comphelper/string.hxx>
#include <comphelper/xmlencode.hxx>
#include <vcl/svapp.hxx>
#include <svl/whiter.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/crossedoutitem.hxx>
#include <editeng/blinkitem.hxx>
#include <editeng/cmapitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/postitem.hxx>
#include <editeng/kernitem.hxx>
#include <editeng/wghtitem.hxx>
#include <editeng/lspcitem.hxx>
#include <editeng/adjustitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/formatbreakitem.hxx>
#include <editeng/keepitem.hxx>
#include <editeng/widwitem.hxx>
#include <editeng/spltitem.hxx>
#include <editeng/orphitem.hxx>
#include <editeng/charhiddenitem.hxx>
#include <svx/xoutbmp.hxx>
#include <svx/svdobj.hxx>
#include <editeng/langitem.hxx>
#include <editeng/frmdiritem.hxx>
#include <svtools/htmlout.hxx>
#include <svtools/htmlkywd.hxx>
#include <svl/urihelper.hxx>
#include <unotools/charclass.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <charfmt.hxx>
#include <fmtclds.hxx>
#include <fmtcol.hxx>
#include <fmtfsize.hxx>
#include <fmtornt.hxx>
#include <fmtpdsc.hxx>
#include <fmtlsplt.hxx>
#include <pagedesc.hxx>
#include <fmtanchr.hxx>
#include <docary.hxx>
#include <pam.hxx>
#include <viewsh.hxx>
#include <viewopt.hxx>
#include <swtable.hxx>
#include <ftninfo.hxx>
#include <ftnidx.hxx>
#include <txtftn.hxx>
#include <fmtftn.hxx>
#include <doc.hxx>
#include <IDocumentSettingAccess.hxx>
#include <IDocumentLayoutAccess.hxx>
#include <swerror.h>
#include <paratr.hxx>
#include <frmatr.hxx>
#include <poolfmt.hxx>
#include "css1kywd.hxx"
#include "wrthtml.hxx"
#include "htmlnum.hxx"
#include "css1atr.hxx"
#include <IDocumentStylePoolAccess.hxx>
#include <numrule.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <o3tl/unit_conversion.hxx>
#include <rtl/strbuf.hxx>
#include <osl/diagnose.h>
Go to the source code of this file.
Classes | |
struct | o3tl::typed_flags< Css1FrameSize > |
Namespaces | |
namespace | o3tl |
Macros | |
#define | HTML_HEADSPACE (12*20) |
#define | DOT_LEADERS_MAX_WIDTH 18 |
Variables | |
SwAttrFnTab const | aCSS1AttrFnTab |
#define DOT_LEADERS_MAX_WIDTH 18 |
Definition at line 121 of file css1atr.cxx.
#define HTML_HEADSPACE (12*20) |
Definition at line 103 of file css1atr.cxx.
|
static |
Definition at line 384 of file css1atr.cxx.
References o3tl::cm, o3tl::convert(), o3tl::in, o3tl::mm, o3tl::pc, o3tl::pt, sCSS1_UNIT_cm, sCSS1_UNIT_inch, sCSS1_UNIT_mm, sCSS1_UNIT_pc, sCSS1_UNIT_pt, and o3tl::twip.
Referenced by OutCSS1_SvxBox(), OutCSS1_SwPageDesc(), and SwHTMLWriter::OutCSS1_UnitProperty().
OString GetCSS1_Color | ( | const Color & | rColor | ) |
Definition at line 225 of file css1atr.cxx.
References Color::GetBlue(), Color::GetGreen(), and Color::GetRed().
Referenced by SwHTMLWriter::OutCSS1_FrameFormatBackground(), OutCSS1_SvxBorderLine(), OutCSS1_SvxBrush(), OutCSS1_SvxColor(), and OutHTML_SwFormatField().
|
static |
Definition at line 914 of file css1atr.cxx.
References SwHTMLWriter::GetCSS1Selector().
Referenced by OutCSS1_SwFormat().
bool IgnorePropertyForReqIF | ( | bool | bReqIF, |
std::string_view | rProperty, | ||
std::string_view | rValue, | ||
std::optional< sw::Css1Background > | oMode | ||
) |
Determines if rProperty with a given rValue has to be suppressed due to ReqIF mode.
Definition at line 189 of file css1atr.cxx.
References sCSS1_P_background, sCSS1_P_color, sCSS1_P_text_decoration, and sw::TableCell.
Referenced by SwHTMLWriter::OutCSS1_Property(), OutHTML_SvxFont(), and OutHTML_SvxFontHeight().
SwHTMLWriter & OutCSS1_BodyTagStyleOpt | ( | SwHTMLWriter & | rWrt, |
const SfxItemSet & | rItemSet | ||
) |
Definition at line 1753 of file css1atr.cxx.
References CSS1_OUTMODE_BODY, CSS1_OUTMODE_ENCODE, CSS1_OUTMODE_STYLE_OPT_ON, SfxItemSet::GetItemState(), SwHTMLWriter::m_bFirstCSS1Property, OutCSS1_SvxBox(), OutCSS1_SvxBrush(), sw::Page, RES_BACKGROUND(), RES_BOX(), Writer::Strm(), and SvStream::WriteChar().
Referenced by SwHTMLWriter::MakeHeader().
|
static |
output brush of frame format, if its background color is not "no fill"/"auto fill" or it has a background graphic.
Definition at line 2112 of file css1atr.cxx.
References COL_TRANSPARENT(), sw::Fly, SvxBrushItem::GetColor(), SvxBrushItem::GetGraphicLink(), SvxBrushItem::GetGraphicPos(), and OutCSS1_SvxBrush().
Referenced by SwHTMLWriter::OutCSS1_FrameFormatBackground().
SwHTMLWriter & OutCSS1_HintSpanTag | ( | SwHTMLWriter & | rWrt, |
const SfxPoolItem & | rHt | ||
) |
Definition at line 3635 of file css1atr.cxx.
References aCSS1AttrFnTab, CSS1_OUTMODE_ENCODE, CSS1_OUTMODE_HINT, CSS1_OUTMODE_SPAN_TAG, SwHTMLWriter::m_bFirstCSS1Property, SwHTMLWriter::m_bTagOn, Out(), Writer::Strm(), and SvStream::WriteOString().
Referenced by OutHTML_CSS1Attr(), OutHTML_SvxEscapement(), OutHTML_SwBlink(), OutHTML_SwCrossedOut(), OutHTML_SwPosture(), OutHTML_SwUnderline(), and OutHTML_SwWeight().
SwHTMLWriter & OutCSS1_HintStyleOpt | ( | SwHTMLWriter & | rWrt, |
const SfxPoolItem & | rHt | ||
) |
Definition at line 3648 of file css1atr.cxx.
References aCSS1AttrFnTab, CSS1_OUTMODE_ENCODE, CSS1_OUTMODE_HINT, CSS1_OUTMODE_STYLE_OPT_ON, SwHTMLWriter::m_bFirstCSS1Property, Out(), Writer::Strm(), and SvStream::WriteChar().
Referenced by OutHTML_SvxFontHeight().
SwHTMLWriter & OutCSS1_NumberBulletListStyleOpt | ( | SwHTMLWriter & | rWrt, |
const SwNumRule & | rNumRule, | ||
sal_uInt8 | nLevel | ||
) |
Definition at line 1808 of file css1atr.cxx.
References CSS1_OUTMODE_ENCODE, CSS1_OUTMODE_PARA, CSS1_OUTMODE_STYLE_OPT, SwNumRule::Get(), SvxNumberFormat::GetAbsLSpace(), SvxNumberFormat::GetFirstLineOffset(), HTML_NUMBER_BULLET_INDENT, HTML_NUMBER_BULLET_MARGINLEFT, HTMLMODE_FRSTLINE_IN_NUMBER_BULLET, HTMLMODE_LSPACE_IN_NUMBER_BULLET, SwHTMLWriter::IsHTMLMode(), SwHTMLWriter::m_bFirstCSS1Property, nFirstLineOffset, SwHTMLWriter::OutCSS1_UnitProperty(), sCSS1_P_margin_left, sCSS1_P_text_indent, Writer::Strm(), and SvStream::WriteChar().
Referenced by OutHTML_NumberBulletListStart().
SwHTMLWriter & OutCSS1_ParaTagStyleOpt | ( | SwHTMLWriter & | rWrt, |
const SfxItemSet & | rItemSet | ||
) |
Definition at line 1786 of file css1atr.cxx.
References CSS1_OUTMODE_ENCODE, CSS1_OUTMODE_PARA, CSS1_OUTMODE_STYLE_OPT, SwHTMLWriter::m_nCSS1Script, and SwHTMLWriter::OutCSS1_SfxItemSet().
Referenced by OutHTML_SwFormat().
|
static |
Definition at line 2658 of file css1atr.cxx.
References CSS1_OUTMODE_PARA, SwHTMLWriter::IsCSS1Source(), SwHTMLWriter::m_bNoAlign, SwHTMLWriter::OutCSS1_PropertyAscii(), sCSS1_P_text_align, sCSS1_PV_center, sCSS1_PV_justify, sCSS1_PV_left, and sCSS1_PV_right.
|
static |
Definition at line 2594 of file css1atr.cxx.
References CSS1_OUTMODE_HINT, SwHTMLWriter::IsCSS1Source(), and OutCSS1_SvxTextLn_SvxCrOut_SvxBlink().
|
static |
Definition at line 3225 of file css1atr.cxx.
References editeng::SvxBorderLine::GetBorderLineStyle(), editeng::SvxBorderLine::GetColor(), GetCSS1_Color(), Application::GetDefaultDevice(), editeng::SvxBorderLine::GetWidth(), editeng::SvxBorderLine::isEmpty(), SwHTMLWriter::OutCSS1_PropertyAscii(), sCSS1_PV_dashed, sCSS1_PV_dotted, sCSS1_PV_double, sCSS1_PV_groove, sCSS1_PV_inset, sCSS1_PV_none, sCSS1_PV_outset, sCSS1_PV_ridge, sCSS1_PV_solid, sCSS1_UNIT_pt, and Width.
Referenced by OutCSS1_SvxBox().
SwHTMLWriter & OutCSS1_SvxBox | ( | SwHTMLWriter & | rWrt, |
const SfxPoolItem & | rHt | ||
) |
Definition at line 3300 of file css1atr.cxx.
References AddUnitPropertyValue(), CSS1_OUTMODE_PARA, SvxBoxItem::GetBottom(), SwHTMLWriter::GetCSS1Unit(), SvxBoxItem::GetDistance(), SvxBoxItem::GetLeft(), SwHTMLWriter::GetNamespace(), SvxBoxItem::GetRight(), SvxBoxItem::GetTop(), SwHTMLWriter::IsCSS1Source(), SwHTMLWriter::m_bTagOn, OOO_STRING_SVTOOLS_HTML_span, HTMLOutFuncs::Out_AsciiTag(), SwHTMLWriter::OutCSS1_PropertyAscii(), OutCSS1_SvxBorderLine(), SwHTMLWriter::OutCSS1_UnitProperty(), rBoxItem, RES_CHRATR_BOX(), RES_CHRATR_END(), sCSS1_P_border, sCSS1_P_border_bottom, sCSS1_P_border_left, sCSS1_P_border_right, sCSS1_P_border_top, sCSS1_P_display, sCSS1_P_padding, sCSS1_P_padding_bottom, sCSS1_P_padding_left, sCSS1_P_padding_right, sCSS1_P_padding_top, Writer::Strm(), and SfxPoolItem::Which().
Referenced by OutCSS1_BodyTagStyleOpt(), SwHTMLWriter::OutCSS1_FrameFormatOptions(), and SwHTMLWriter::OutCSS1_TableCellBordersAndBG().
|
static |
Definition at line 3035 of file css1atr.cxx.
References sw::Attr, and OutCSS1_SvxBrush().
|
static |
set <bTransparent> to true, if color is "no fill"/"auto fill"
Definition at line 3041 of file css1atr.cxx.
References COL_TRANSPARENT(), Writer::CopyLocalFileToINet(), CSS1_OUTMODE_PARA, ePos, sw::Fly, Writer::GetBaseURL(), GetCSS1_Color(), GPOS_LB, GPOS_LM, GPOS_LT, GPOS_MB, GPOS_MM, GPOS_MT, GPOS_RB, GPOS_RM, GPOS_RT, GPOS_TILED, XOutBitmap::GraphicToBase64(), SwHTMLWriter::IsCSS1Source(), SwHTMLWriter::m_bCfgCpyLinkedGrfs, SwHTMLWriter::m_nWarn, SwHTMLWriter::mbEmbedImages, OOO_STRING_SVTOOLS_HTML_O_data, SwHTMLWriter::OutCSS1_Property(), sw::Page, RES_CHRATR_END(), sCSS1_P_background, sCSS1_PV_bottom, sCSS1_PV_center, sCSS1_PV_left, sCSS1_PV_middle, sCSS1_PV_no_repeat, sCSS1_PV_repeat, sCSS1_PV_right, sCSS1_PV_scroll, sCSS1_PV_top, sCSS1_PV_transparent, sCSS1_url, URIHelper::simpleNormalizedMakeRelative(), sw::Table, sw::TableRow, WARN_SWG_POOR_LOAD, and SfxPoolItem::Which().
Referenced by OutCSS1_BodyTagStyleOpt(), OutCSS1_FrameFormatBrush(), SwHTMLWriter::OutCSS1_SectionFormatOptions(), OutCSS1_SvxBrush(), OutCSS1_TableBGStyleOpt(), SwHTMLWriter::OutCSS1_TableCellBordersAndBG(), and SwHTMLWriter::OutCSS1_TableFrameFormatOptions().
|
static |
Definition at line 2318 of file css1atr.cxx.
References GetCaseMap(), SwHTMLWriter::OutCSS1_PropertyAscii(), sCSS1_P_font_variant, sCSS1_P_text_transform, sCSS1_PV_capitalize, sCSS1_PV_lowercase, sCSS1_PV_normal, sCSS1_PV_small_caps, and sCSS1_PV_uppercase.
|
static |
Definition at line 2344 of file css1atr.cxx.
References COL_AUTO(), COL_BLACK(), CSS1_OUTMODE_HINT, CSS1_OUTMODE_PARA, GetCSS1_Color(), GetValue, SwHTMLWriter::IsCSS1Source(), SwHTMLWriter::m_bCfgPreferStyles, SwHTMLWriter::OutCSS1_PropertyAscii(), and sCSS1_P_color.
|
static |
Definition at line 2362 of file css1atr.cxx.
References CSS1_OUTMODE_HINT, SwHTMLWriter::IsCSS1Source(), and OutCSS1_SvxTextLn_SvxCrOut_SvxBlink().
|
static |
Definition at line 2795 of file css1atr.cxx.
References SvxFirstLineIndentItem::GetTextFirstLineOffset(), if(), SwHTMLWriter::m_nDfltFirstLineIndent, SwHTMLWriter::m_nFirstLineIndent, SwHTMLWriter::OutCSS1_UnitProperty(), and sCSS1_P_text_indent.
|
static |
Definition at line 2374 of file css1atr.cxx.
References CSS1_OUTMODE_ANY_ON, CSS1_OUTMODE_CJK, CSS1_OUTMODE_CTL, CSS1_OUTMODE_HINT, CSS1_OUTMODE_PARA, CSS1_OUTMODE_RULE_ON, CSS1_OUTMODE_WESTERN, SwHTMLWriter::IsCSS1Script(), SwHTMLWriter::IsCSS1Source(), SwHTMLWriter::m_nCSS1OutMode, SwHTMLWriter::OutCSS1_Property(), SwHTMLWriter::PrepareFontList(), RES_CHRATR_CJK_FONT(), RES_CHRATR_CTL_FONT(), sCSS1_P_font_family, and SfxPoolItem::Which().
|
static |
Definition at line 2404 of file css1atr.cxx.
References CSS1_OUTMODE_CJK, CSS1_OUTMODE_CTL, CSS1_OUTMODE_DROPCAP, CSS1_OUTMODE_PARA, CSS1_OUTMODE_WESTERN, SwHTMLWriter::IsCSS1Script(), SwHTMLWriter::IsCSS1Source(), SwHTMLWriter::OutCSS1_PropertyAscii(), RES_CHRATR_CJK_FONTSIZE(), RES_CHRATR_CTL_FONTSIZE(), sCSS1_P_font_size, sCSS1_UNIT_pt, and SfxPoolItem::Which().
|
static |
Definition at line 2554 of file css1atr.cxx.
References CSS1_OUTMODE_CJK, CSS1_OUTMODE_CTL, CSS1_OUTMODE_HINT, CSS1_OUTMODE_PARA, CSS1_OUTMODE_WESTERN, SwHTMLWriter::IsCSS1Script(), SwHTMLWriter::IsCSS1Source(), SwHTMLWriter::OutCSS1_PropertyAscii(), RES_CHRATR_CJK_WEIGHT(), RES_CHRATR_CTL_WEIGHT(), sCSS1_P_font_weight, sCSS1_PV_bold, sCSS1_PV_demi_bold, sCSS1_PV_demi_light, sCSS1_PV_extra_bold, sCSS1_PV_extra_light, sCSS1_PV_light, sCSS1_PV_normal, WEIGHT_BOLD, WEIGHT_LIGHT, WEIGHT_NORMAL, WEIGHT_SEMIBOLD, WEIGHT_SEMILIGHT, WEIGHT_ULTRABOLD, WEIGHT_ULTRALIGHT, and SfxPoolItem::Which().
|
static |
Definition at line 3012 of file css1atr.cxx.
References CSS1_OUTMODE_PARA, SwNodeIndex::GetIndex(), SfxItemSet::GetItemIfSet(), SwHTMLWriter::IsCSS1Source(), SwHTMLWriter::m_bCSS1IgnoreFirstPageDesc, Writer::m_pCurrentPam, SwHTMLWriter::m_pStartNdIdx, OutCSS1_SvxFormatBreak_SwFormatPDesc_SvxFormatKeep(), RES_BREAK(), RES_KEEP(), and RES_PAGEDESC().
Referenced by SwHTMLWriter::OutCSS1_SfxItemSet(), OutCSS1_SvxFormatBreak_SwFormatPDesc_SvxFormatKeep(), and SwHTMLWriter::OutCSS1_TableFrameFormatOptions().
|
static |
Definition at line 2943 of file css1atr.cxx.
References SvxFormatBreakItem::GetBreak(), SwFormatPageDesc::GetPageDesc(), SwPageDesc::GetPoolFormatId(), HTMLMODE_PRINT_EXT, SwHTMLWriter::IsHTMLMode(), SwHTMLWriter::mbSkipHeaderFooter, SwHTMLWriter::OutCSS1_PropertyAscii(), RES_POOLPAGE_LEFT, RES_POOLPAGE_RIGHT, sCSS1_P_page_break_after, sCSS1_P_page_break_before, sCSS1_PV_always, sCSS1_PV_auto, sCSS1_PV_avoid, sCSS1_PV_left, and sCSS1_PV_right.
|
static |
Definition at line 2682 of file css1atr.cxx.
References GetValue, SwHTMLWriter::OutCSS1_PropertyAscii(), sCSS1_P_page_break_inside, sCSS1_PV_auto, and sCSS1_PV_avoid.
|
static |
Definition at line 3371 of file css1atr.cxx.
References CSS1_OUTMODE_TEMPLATE, GetValue, SwHTMLWriter::IsCSS1Source(), SwHTMLWriter::OutCSS1_PropertyAscii(), sCSS1_P_direction, sCSS1_PV_inherit, sCSS1_PV_ltr, and sCSS1_PV_rtl.
|
static |
Definition at line 2546 of file css1atr.cxx.
References GetValue, SwHTMLWriter::OutCSS1_PropertyAscii(), sCSS1_P_display, and sCSS1_PV_none.
|
static |
Definition at line 2464 of file css1atr.cxx.
References GetValue, nValue, SwHTMLWriter::OutCSS1_PropertyAscii(), sCSS1_P_letter_spacing, sCSS1_PV_normal, and sCSS1_UNIT_pt.
|
static |
Definition at line 2493 of file css1atr.cxx.
References LanguageTag::convertToBcp47(), CSS1_OUTMODE_CJK, CSS1_OUTMODE_CTL, CSS1_OUTMODE_HINT, CSS1_OUTMODE_PARA, CSS1_OUTMODE_WESTERN, SwLangHelper::GetLanguage(), SwHTMLWriter::IsCSS1Script(), SwHTMLWriter::IsCSS1Source(), LANGUAGE_DONTKNOW, SwHTMLWriter::OutCSS1_Property(), RES_CHRATR_CJK_LANGUAGE(), RES_CHRATR_CTL_LANGUAGE(), sCSS1_P_so_language, and SfxPoolItem::Which().
|
static |
Definition at line 2606 of file css1atr.cxx.
References SvxLineSpacingItem::GetInterLineSpaceRule(), SvxLineSpacingItem::GetLineHeight(), SvxLineSpacingItem::GetLineSpaceRule(), SvxLineSpacingItem::GetPropLineSpace(), SwHTMLWriter::m_bCfgNetscape4, SwHTMLWriter::m_bOutTable, SwHTMLWriter::m_bParaDotLeaders, SwHTMLWriter::OutCSS1_PropertyAscii(), SwHTMLWriter::OutCSS1_UnitProperty(), and sCSS1_P_line_height.
|
static |
Definition at line 2850 of file css1atr.cxx.
References DOT_LEADERS_MAX_WIDTH, SvxLRSpaceItem::GetRight(), SvxLRSpaceItem::GetTextFirstLineOffset(), SvxLRSpaceItem::GetTextLeft(), SwHTMLWriter::m_bParaDotLeaders, SwHTMLWriter::m_nDfltFirstLineIndent, SwHTMLWriter::m_nDfltLeftMargin, SwHTMLWriter::m_nDfltRightMargin, SwHTMLWriter::m_nFirstLineIndent, SwHTMLWriter::m_nLeftMargin, nLeftMargin, SwHTMLWriter::OutCSS1_UnitProperty(), sCSS1_P_margin_left, sCSS1_P_margin_right, sCSS1_P_max_width, and sCSS1_P_text_indent.
Referenced by OutCSS1_SvxULSpace_SvxLRSpace().
|
static |
Definition at line 2710 of file css1atr.cxx.
References aStr, GetValue, SwHTMLWriter::OutCSS1_PropertyAscii(), and sCSS1_P_orphans.
|
static |
Definition at line 2534 of file css1atr.cxx.
References CSS1_OUTMODE_HINT, SwHTMLWriter::IsCSS1Source(), and OutCSS1_SvxTextLn_SvxCrOut_SvxBlink().
|
static |
Definition at line 2428 of file css1atr.cxx.
References CSS1_OUTMODE_CJK, CSS1_OUTMODE_CTL, CSS1_OUTMODE_HINT, CSS1_OUTMODE_PARA, CSS1_OUTMODE_WESTERN, SwHTMLWriter::IsCSS1Script(), SwHTMLWriter::IsCSS1Source(), ITALIC_NONE, ITALIC_NORMAL, ITALIC_OBLIQUE, SwHTMLWriter::OutCSS1_PropertyAscii(), RES_CHRATR_CJK_POSTURE(), RES_CHRATR_CTL_POSTURE(), sCSS1_P_font_style, sCSS1_PV_italic, sCSS1_PV_normal, sCSS1_PV_oblique, and SfxPoolItem::Which().
|
static |
Definition at line 2835 of file css1atr.cxx.
References SvxRightMarginItem::GetRight(), SwHTMLWriter::m_nDfltRightMargin, SwHTMLWriter::OutCSS1_UnitProperty(), and sCSS1_P_margin_right.
|
static |
Definition at line 2813 of file css1atr.cxx.
References DOT_LEADERS_MAX_WIDTH, SvxTextLeftMarginItem::GetTextLeft(), SwHTMLWriter::m_bParaDotLeaders, SwHTMLWriter::m_nDfltLeftMargin, SwHTMLWriter::m_nLeftMargin, nLeftMargin, SwHTMLWriter::OutCSS1_UnitProperty(), sCSS1_P_margin_left, and sCSS1_P_max_width.
|
static |
Definition at line 2213 of file css1atr.cxx.
References CSS1_OUTMODE_HINT, CSS1_OUTMODE_PARA, SvxTextLineItem::GetLineStyle(), SvxCrossedOutItem::GetStrikeout(), SwHTMLWriter::IsCSS1Source(), LINESTYLE_DONTKNOW, LINESTYLE_NONE, SwHTMLWriter::mbReqIF, SwHTMLWriter::OutCSS1_PropertyAscii(), sCSS1_P_text_decoration, sCSS1_PV_blink, sCSS1_PV_line_through, sCSS1_PV_none, sCSS1_PV_overline, sCSS1_PV_underline, STRIKEOUT_DONTKNOW, and STRIKEOUT_NONE.
Referenced by SwHTMLWriter::OutCSS1_SfxItemSet(), OutCSS1_SvxBlink(), OutCSS1_SvxCrossedOut(), OutCSS1_SvxOverline(), and OutCSS1_SvxUnderline().
|
static |
Definition at line 2886 of file css1atr.cxx.
References SvxULSpaceItem::GetLower(), SvxULSpaceItem::GetUpper(), SwHTMLWriter::m_nDfltBottomMargin, SwHTMLWriter::m_nDfltTopMargin, SwHTMLWriter::OutCSS1_UnitProperty(), sCSS1_P_margin_bottom, and sCSS1_P_margin_top.
Referenced by OutCSS1_SvxULSpace_SvxLRSpace().
|
static |
Definition at line 2931 of file css1atr.cxx.
References SfxItemSet::GetItemIfSet(), OutCSS1_SvxULSpace_SvxLRSpace(), RES_LR_SPACE(), and RES_UL_SPACE().
|
static |
Definition at line 2905 of file css1atr.cxx.
References SvxLRSpaceItem::GetLeft(), SvxULSpaceItem::GetLower(), SvxLRSpaceItem::GetRight(), SvxULSpaceItem::GetUpper(), SwHTMLWriter::m_nDfltBottomMargin, SwHTMLWriter::m_nDfltLeftMargin, SwHTMLWriter::m_nDfltRightMargin, SwHTMLWriter::m_nDfltTopMargin, OutCSS1_SvxLRSpace(), OutCSS1_SvxULSpace(), SwHTMLWriter::OutCSS1_UnitProperty(), and sCSS1_P_margin.
Referenced by SwHTMLWriter::OutCSS1_FrameFormatOptions(), OutCSS1_SvxULSpace_SvxLRSpace(), and OutCSS1_SwPageDesc().
|
static |
Definition at line 2522 of file css1atr.cxx.
References CSS1_OUTMODE_HINT, SwHTMLWriter::IsCSS1Source(), and OutCSS1_SvxTextLn_SvxCrOut_SvxBlink().
|
static |
Definition at line 2702 of file css1atr.cxx.
References aStr, GetValue, SwHTMLWriter::OutCSS1_PropertyAscii(), and sCSS1_P_widows.
|
static |
Definition at line 1703 of file css1atr.cxx.
References SfxItemSet::Count(), CSS1_OUTMODE_RULE, CSS1_OUTMODE_TEMPLATE, SwFormat::GetAttrSet(), SwEndNoteInfo::GetCharFormat(), SwFormat::GetName(), SfxItemSet::GetPool(), SfxItemSet::GetRanges(), SwHTMLWriter::m_aScriptTextStyles, SwHTMLWriter::m_xTemplate, OOO_STRING_SVTOOLS_HTML_anchor, OOO_STRING_SVTOOLS_HTML_sdendnote_anc, OOO_STRING_SVTOOLS_HTML_sdendnote_sym, OOO_STRING_SVTOOLS_HTML_sdfootnote_anc, OOO_STRING_SVTOOLS_HTML_sdfootnote_sym, SwHTMLWriter::OutCSS1_PropertyAscii(), OutCSS1Rule(), RES_POOLCHR_ENDNOTE, RES_POOLCHR_FOOTNOTE, sCSS1_P_font_size, SfxItemSet::Set(), Writer::Strm(), SwHTMLWriter::SubtractItemSet(), u, and SvStream::WriteOString().
Referenced by SwHTMLWriter::OutStyleSheet().
|
static |
Definition at line 1436 of file css1atr.cxx.
References SfxItemSet::Count(), CSS1_FMT_CMPREF, CSS1_FMT_ISTAG, SwFormat::GetAttrSet(), GetCSS1Selector(), SwDoc::getIDocumentStylePoolAccess(), SfxItemSet::GetItemIfSet(), SvxULSpaceItem::GetLower(), SwFormat::GetName(), SwHTMLWriter::GetParentFormat(), SfxItemSet::GetPool(), SwFormat::GetPoolFormatId(), SfxItemSet::GetRanges(), SwHTMLWriter::GetTemplateFormat(), IDocumentStylePoolAccess::GetTextCollFromPool(), SwFormat::GetULSpace(), SvxULSpaceItem::GetUpper(), HTML_HEADSPACE, HTML_PARSPACE, SwHTMLWriter::m_aScriptParaStyles, SwHTMLWriter::m_aScriptTextStyles, SwHTMLWriter::m_nDfltBottomMargin, SwHTMLWriter::m_nDfltTopMargin, OOO_STRING_SVTOOLS_HTML_listing, OOO_STRING_SVTOOLS_HTML_preformtxt, OOO_STRING_SVTOOLS_HTML_xmp, OutCSS1DropCapRule(), OutCSS1Rule(), RES_CHRFMT(), RES_CONDTXTFMTCOLL(), RES_PARATR_DROP(), RES_POOLCHR_INET_NORMAL, RES_POOLCHR_INET_VISIT, RES_POOLCOLL_HEADLINE1, RES_POOLCOLL_HEADLINE2, RES_POOLCOLL_HEADLINE3, RES_POOLCOLL_HEADLINE4, RES_POOLCOLL_HEADLINE5, RES_POOLCOLL_HEADLINE6, RES_POOLCOLL_HTML_DD, RES_POOLCOLL_HTML_DT, RES_POOLCOLL_HTML_PRE, RES_POOLCOLL_SEND_ADDRESS, RES_POOLCOLL_STANDARD, RES_POOLCOLL_TEXT, RES_TXTFMTCOLL(), sCSS1_first_letter, SfxItemSet::Set(), SwHTMLWriter::SubtractItemSet(), USER_FMT, and SwFormat::Which().
Referenced by SwHTMLWriter::OutStyleSheet().
|
static |
Definition at line 2744 of file css1atr.cxx.
References CSS1_OUTMODE_DROPCAP, CSS1_OUTMODE_ENCODE, CSS1_OUTMODE_HINT, CSS1_OUTMODE_SPAN_TAG1_ON, SwHTMLWriter::GetNamespace(), SwHTMLWriter::IsCSS1Source(), SwHTMLWriter::m_bTagOn, SwHTMLWriter::m_nCSS1Script, OOO_STRING_SVTOOLS_HTML_span, HTMLOutFuncs::Out_AsciiTag(), OutCSS1_SwFormatDropAttrs(), and Writer::Strm().
|
static |
Definition at line 2718 of file css1atr.cxx.
References CSS1_OUTMODE_ANY_OFF, CSS1_OUTMODE_RULE_OFF, SwFormat::GetAttrSet(), SwFormatDrop::GetCharFormat(), SwFormatDrop::GetDistance(), SwFormatDrop::GetLines(), SwHTMLWriter::m_nCSS1OutMode, SwHTMLWriter::OutCSS1_PropertyAscii(), SwHTMLWriter::OutCSS1_SfxItemSet(), SwHTMLWriter::OutCSS1_UnitProperty(), sCSS1_P_float, sCSS1_P_font_size, sCSS1_P_margin_right, sCSS1_PV_left, Writer::Strm(), and SvStream::WriteOString().
Referenced by OutCSS1_SwFormatDrop(), and OutCSS1DropCapRule().
|
static |
Definition at line 2767 of file css1atr.cxx.
References SvxSizeItem::GetSize(), SwFormatFrameSize::GetWidthPercent(), SwHTMLWriter::OutCSS1_PixelProperty(), SwHTMLWriter::OutCSS1_PropertyAscii(), SwHTMLWriter::OutCSS1_UnitProperty(), sCSS1_P_width, and Size::Width().
Referenced by SwHTMLWriter::OutCSS1_FrameFormatOptions().
|
static |
Definition at line 2692 of file css1atr.cxx.
References GetValue, SwHTMLWriter::OutCSS1_PropertyAscii(), sCSS1_P_page_break_inside, sCSS1_PV_auto, and sCSS1_PV_avoid.
Referenced by SwHTMLWriter::OutCSS1_TableFrameFormatOptions().
|
static |
Definition at line 1602 of file css1atr.cxx.
References abs(), AddUnitPropertyValue(), CSS1_OUTMODE_RULE_ON, CSS1_OUTMODE_TEMPLATE, SwFormat::GetAttrSet(), SwHTMLWriter::GetCSS1Unit(), SwFormat::GetFrameSize(), SwDoc::getIDocumentStylePoolAccess(), SwPageDesc::GetLandscape(), SwPageDesc::GetMaster(), IDocumentStylePoolAccess::GetPageDescFromPool(), SwAttrSet::GetPool(), SwPageDesc::GetPoolFormatId(), SvxSizeItem::GetSize(), Size::Height(), SwHTMLWriter::m_bFirstCSS1Property, OUStringToOString(), SwHTMLWriter::OutCSS1_PropertyAscii(), OutCSS1_SvxULSpace_SvxLRSpace(), SwHTMLWriter::OutNewLine(), RES_POOLPAGE_FIRST, RES_POOLPAGE_LEFT, RES_POOLPAGE_RIGHT, sCSS1_first, sCSS1_left, sCSS1_P_size, sCSS1_page, sCSS1_PV_landscape, sCSS1_PV_portrait, sCSS1_right, SfxItemSet::Set(), Size::setHeight(), Size::setWidth(), Writer::Strm(), SwHTMLWriter::SubtractItemSet(), Size::Width(), and SvStream::WriteOString().
Referenced by SwHTMLWriter::OutStyleSheet().
SwHTMLWriter & OutCSS1_TableBGStyleOpt | ( | SwHTMLWriter & | rWrt, |
const SfxPoolItem & | rHt | ||
) |
Writes the background of table rows.
Definition at line 1795 of file css1atr.cxx.
References CSS1_OUTMODE_ENCODE, CSS1_OUTMODE_STYLE_OPT_ON, CSS1_OUTMODE_TABLEBOX, SwHTMLWriter::m_bFirstCSS1Property, OutCSS1_SvxBrush(), Writer::Strm(), sw::TableRow, and SvStream::WriteChar().
|
static |
Definition at line 1337 of file css1atr.cxx.
References CSS1_OUTMODE_CJK, CSS1_OUTMODE_CTL, CSS1_OUTMODE_DROPCAP, CSS1_OUTMODE_NO_SCRIPT, CSS1_OUTMODE_RULE, CSS1_OUTMODE_WESTERN, SwDoc::GetAttrPool(), SwFormat::GetAttrSet(), SwFormatDrop::GetCharFormat(), SwHTMLWriter::HasScriptDependentItems(), SwHTMLWriter::m_nCSS1Script, Writer::m_pDoc, nPos, OutCSS1_SwFormatDropAttrs(), RES_CHRATR_CJK_FONT(), RES_CHRATR_CTL_WEIGHT(), RES_CHRATR_FONT(), RES_CHRATR_FONTSIZE(), RES_CHRATR_LANGUAGE(), RES_CHRATR_POSTURE(), and RES_CHRATR_WEIGHT().
Referenced by OutCSS1_SwFormat().
|
static |
Definition at line 1233 of file css1atr.cxx.
References CSS1_OUTMODE_CJK, CSS1_OUTMODE_CTL, CSS1_OUTMODE_NO_SCRIPT, CSS1_OUTMODE_RULE, CSS1_OUTMODE_TEMPLATE, CSS1_OUTMODE_WESTERN, SfxItemSet::GetPool(), SwHTMLWriter::HasScriptDependentItems(), SwHTMLWriter::m_nCSS1Script, nPos, SwHTMLWriter::OutCSS1_SfxItemSet(), RES_CHRATR_CJK_FONT(), RES_CHRATR_CTL_WEIGHT(), RES_CHRATR_FONT(), RES_CHRATR_FONTSIZE(), RES_CHRATR_LANGUAGE(), RES_CHRATR_POSTURE(), and RES_CHRATR_WEIGHT().
Referenced by OutCSS1_SwFootnoteInfo(), and OutCSS1_SwFormat().
bool swhtml_css1atr_equalFontItems | ( | const SfxPoolItem & | r1, |
const SfxPoolItem & | r2 | ||
) |
Definition at line 976 of file css1atr.cxx.
Referenced by SwHTMLParser::AppendTextNode(), SwHTMLWriter::HasScriptDependentItems(), OutHTML_SwField(), RemoveScriptItems(), and SwHTMLWriter::SubtractItemSet().
SwAttrFnTab const aCSS1AttrFnTab |
Definition at line 3408 of file css1atr.cxx.
Referenced by OutCSS1_HintSpanTag(), OutCSS1_HintStyleOpt(), and SwHTMLWriter::OutCSS1_SfxItemSet().