LibreOffice Module sw (master) 1
|
#include <wrtww8.hxx>
Public Member Functions | |
SwWW8WrGrf (WW8Export &rW) | |
void | Insert (const ww8::Frame &rFly) |
void | Write () |
sal_uLong | GetFPos () |
Private Member Functions | |
void | WriteGraphicNode (SvStream &rStrm, const GraphicDetails &rItem) |
void | WriteGrfFromGrfNode (SvStream &rStrm, const SwGrfNode &rNd, const ww8::Frame &rFly, sal_uInt16 nWidth, sal_uInt16 nHeight) |
void | WriteGrfForBullet (SvStream &rStrm, const Graphic &rGrf, sal_uInt16 nWidth, sal_uInt16 nHeight) |
SwWW8WrGrf (const SwWW8WrGrf &)=delete | |
SwWW8WrGrf & | operator= (const SwWW8WrGrf &)=delete |
Static Private Member Functions | |
static void | WritePICFHeader (SvStream &rStrm, const ww8::Frame &rFly, sal_uInt16 mm, sal_uInt16 nWidth, sal_uInt16 nHeight, const SwAttrSet *pAttrSet=nullptr) |
static void | WritePICBulletFHeader (SvStream &rStrm, const Graphic &rGrf, sal_uInt16 mm, sal_uInt16 nWidth, sal_uInt16 nHeight) |
Private Attributes | |
WW8Export & | m_rWrt |
for access to the variables More... | |
std::vector< GraphicDetails > | maDetails |
sal_uInt16 | mnIdx |
Definition at line 1411 of file wrtww8.hxx.
|
privatedelete |
|
inlineexplicit |
Definition at line 1433 of file wrtww8.hxx.
|
inline |
Definition at line 1436 of file wrtww8.hxx.
References maDetails, and mnIdx.
Referenced by WW8_WrFkp::Write().
void SwWW8WrGrf::Insert | ( | const ww8::Frame & | rFly | ) |
Definition at line 466 of file wrtww8gr.cxx.
References ww8::Frame::GetLayoutSize(), Size::Height(), maDetails, and Size::Width().
|
privatedelete |
void SwWW8WrGrf::Write | ( | ) |
Definition at line 849 of file wrtww8gr.cxx.
References SwWW8Writer::FillCount(), WW8Export::m_pDataStrm, m_rWrt, maDetails, nPos, rStrm, SvStream::Tell(), and WriteGraphicNode().
|
private |
Definition at line 744 of file wrtww8gr.cxx.
References ww8::Frame::eBulletGrf, ww8::Frame::eDrawing, ww8::Frame::eFormControl, ww8::Frame::eGraphic, ww8::Frame::eOle, ww8::Frame::eTextBox, ww8::Frame::GetContent(), Application::GetDefaultDevice(), SwNode::GetDoc(), SwDoc::GetDocStorage(), ww8::Frame::GetFrameFormat(), Graphic::GetGDIMetaFile(), ww8::Frame::GetGraphic(), SwNode::GetGrfNode(), SwNode::GetOLENode(), SwOLENode::GetOLEObj(), GDIMetaFile::GetPrefSize(), SwContentNode::GetpSwAttrSet(), ww8::Frame::GetWriterType(), ww8::Frame::HasGraphic(), m_rWrt, GraphicDetails::maFly, GraphicDetails::mnHei, GraphicDetails::mnWid, nPos, GDIMetaFile::Play(), rStrm, SvStream::Seek(), SvStream::Tell(), GDIMetaFile::WindStart(), SwBasicEscherEx::WriteEmptyFlyFrame(), WriteGrfForBullet(), WriteGrfFromGrfNode(), SwBasicEscherEx::WriteOLEFlyFrame(), WritePICFHeader(), SwBasicEscherEx::WritePictures(), SvStream::WriteUInt32(), and WriteWindowMetafileBits().
Referenced by Write().
|
private |
Definition at line 736 of file wrtww8gr.cxx.
References m_rWrt, rStrm, SwBasicEscherEx::WriteGrfBullet(), WritePICBulletFHeader(), and SwBasicEscherEx::WritePictures().
Referenced by WriteGraphicNode().
|
private |
Definition at line 624 of file wrtww8gr.cxx.
References SwGrfNode::GetFileFilterNms(), ww8::Frame::GetFrameFormat(), SwContentNode::GetpSwAttrSet(), SwGrfNode::IsLinkedFile(), m_rWrt, mm, rStrm, SwBasicEscherEx::WriteGrfFlyFrame(), WritePICFHeader(), SwBasicEscherEx::WritePictures(), SwWW8Writer::WriteString8(), and SvStream::WriteUChar().
Referenced by WriteGraphicNode().
|
staticprivate |
Definition at line 650 of file wrtww8gr.cxx.
References sw::sidebar::aArr, WW8_BRC::aBits1, WW8_BRC::aBits2, convertTwipToMm100(), WW8_BRC::DetermineBorderProperties(), Graphic::GetPrefSize(), Size::Height(), i, Size::IsEmpty(), mm, rStrm, Set_UInt16(), Size::setHeight(), Size::setWidth(), Size::Width(), and SvStream::WriteBytes().
Referenced by WriteGrfForBullet().
|
staticprivate |
Definition at line 474 of file wrtww8gr.cxx.
References sw::sidebar::aArr, WW8_BRC::aBits1, WW8_BRC::aBits2, msfilter::util::BGRToRGB(), WW8_BRCVer9::brcType(), convertTwipToMm100(), WW8_BRCVer9::cv(), WW8_BRC::DetermineBorderProperties(), WW8_BRCVer9::dptLineWidth(), WW8_BRCVer9::dptSpace(), WW8_BRCVer9::fFrame(), WW8_BRCVer9::fShadow(), SwFormat::GetAttrSet(), SvxGrfCrop::GetBottom(), ww8::Frame::GetFrameFormat(), SfxItemSet::GetItem(), SfxItemSet::GetItemIfSet(), SvxGrfCrop::GetLeft(), SvxGrfCrop::GetRight(), ww8::Frame::GetSize(), SvxGrfCrop::GetTop(), Size::Height(), i, Size::IsEmpty(), mm, RES_BOX(), RES_GRFATR_CROPGRF(), RES_SHADOW(), rStrm, Set_UInt16(), Size::setHeight(), Size::setWidth(), msfilter::util::TransColToIco(), WW8Export::TranslateBorderLine(), Size::Width(), and SvStream::WriteBytes().
Referenced by WriteGraphicNode(), and WriteGrfFromGrfNode().
|
private |
for access to the variables
Definition at line 1415 of file wrtww8.hxx.
Referenced by Write(), WriteGraphicNode(), WriteGrfForBullet(), and WriteGrfFromGrfNode().
|
private |
Definition at line 1417 of file wrtww8.hxx.
|
private |
Definition at line 1418 of file wrtww8.hxx.
Referenced by GetFPos().