LibreOffice Module vcl (master)
1
|
#include <tools/stream.hxx>
#include <tools/vcompat.hxx>
#include <tools/gen.hxx>
#include <unotools/fontcfg.hxx>
#include <unotools/fontdefs.hxx>
#include <vcl/font.hxx>
#include <vcl/svapp.hxx>
#include <vcl/outdev.hxx>
#include <vcl/virdev.hxx>
#include <impfont.hxx>
#include <fontattributes.hxx>
#include <sft.hxx>
#include <algorithm>
#include <string_view>
#include <rtl/instance.hxx>
#include <vcl/TypeSerializer.hxx>
Go to the source code of this file.
Functions | |
SvStream & | ReadImplFont (SvStream &rIStm, ImplFont &rImplFont, tools::Long &rnNormedFontScaling) |
SvStream & | WriteImplFont (SvStream &rOStm, const ImplFont &rImplFont, const tools::Long &rnNormedFontScaling) |
SvStream & | ReadFont (SvStream &rIStm, vcl::Font &rFont) |
SvStream & | WriteFont (SvStream &rOStm, const vcl::Font &rFont) |
Definition at line 514 of file font/font.cxx.
References basegfx::fround(), vcl::Font::GetAverageFontWidth(), Application::GetDefaultDevice(), vcl::Font::GetFontSize(), Size::getHeight(), Size::getWidth(), vcl::Font::mpImplFont, ReadImplFont(), and vcl::Font::SetAverageFontWidth().
SvStream& ReadImplFont | ( | SvStream & | rIStm, |
ImplFont & | rImplFont, | ||
tools::Long & | rnNormedFontScaling | ||
) |
Definition at line 415 of file font/font.cxx.
References SvStream::GetStreamCharSet(), ImplFont::maAverageFontSize, ImplFont::maCJKLanguageTag, ImplFont::maLanguageTag, ImplFont::maStyleName, ImplFont::mbOutline, ImplFont::mbShadow, ImplFont::mbVertical, ImplFont::mbWordLine, ImplFont::meEmphasisMark, ImplFont::meKerning, ImplFont::meOverline, ImplFont::meRelief, ImplFont::meStrikeout, ImplFont::meUnderline, ImplFont::meWidthType, ImplFont::mnOrientation, SvStream::ReadCharAsBool(), SvStream::ReadInt16(), SvStream::ReadInt32(), tools::GenericTypeSerializer::readSize(), SvStream::ReadUChar(), SvStream::ReadUInt16(), SvStream::ReadUniOrByteString(), LanguageTag::reset(), ImplFont::SetCharSet(), ImplFont::SetFamilyName(), ImplFont::SetFamilyType(), ImplFont::SetItalic(), ImplFont::SetPitch(), and ImplFont::SetWeight().
Referenced by ReadFont().
Definition at line 572 of file font/font.cxx.
References vcl::Font::GetAverageFontWidth(), Application::GetDefaultDevice(), vcl::Font::GetFontSize(), Size::getHeight(), Size::getWidth(), vcl::Font::mpImplFont, vcl::Font::SetAverageFontWidth(), and WriteImplFont().
SvStream& WriteImplFont | ( | SvStream & | rOStm, |
const ImplFont & | rImplFont, | ||
const tools::Long & | rnNormedFontScaling | ||
) |
Definition at line 472 of file font/font.cxx.
References o3tl::strong_int< UNDERLYING_TYPE, PHANTOM_TYPE >::get(), ImplFont::GetCharSet(), ImplFont::GetFamilyName(), ImplFont::GetFamilyTypeNoAsk(), ImplFont::GetItalicNoAsk(), LanguageTag::getLanguageType(), ImplFont::GetPitchNoAsk(), GetStoreCharSet(), SvStream::GetStreamCharSet(), ImplFont::GetStyleName(), ImplFont::GetWeightNoAsk(), ImplFont::GetWidthTypeNoAsk(), ImplFont::maAverageFontSize, ImplFont::maCJKLanguageTag, ImplFont::maLanguageTag, ImplFont::mbOutline, ImplFont::mbShadow, ImplFont::mbVertical, ImplFont::mbWordLine, ImplFont::meEmphasisMark, ImplFont::meKerning, ImplFont::meOverline, ImplFont::meRelief, ImplFont::meStrikeout, ImplFont::meUnderline, ImplFont::mnOrientation, SvStream::WriteBool(), SvStream::WriteInt16(), SvStream::WriteInt32(), tools::GenericTypeSerializer::writeSize(), SvStream::WriteUChar(), SvStream::WriteUInt16(), and SvStream::WriteUniOrByteString().
Referenced by WriteFont().