LibreOffice Module sw (master) 1
|
#include <config_java.h>
#include <hintids.hxx>
#include <rtl/strbuf.hxx>
#include <sal/log.hxx>
#include <svl/urihelper.hxx>
#include <vcl/svapp.hxx>
#include <sfx2/frmhtml.hxx>
#include <sfx2/frmhtmlw.hxx>
#include <sfx2/frmdescr.hxx>
#include <sot/storage.hxx>
#include <svx/xoutbmp.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/lrspitem.hxx>
#include <svtools/htmlout.hxx>
#include <svtools/htmlkywd.hxx>
#include <svtools/htmltokn.h>
#include <comphelper/diagnose_ex.hxx>
#include <IDocumentContentOperations.hxx>
#include <SwAppletImpl.hxx>
#include <fmtornt.hxx>
#include <fmtfsize.hxx>
#include <fmtsrnd.hxx>
#include <fmtanchr.hxx>
#include <fmtcntnt.hxx>
#include <frmfmt.hxx>
#include <svl/ownlist.hxx>
#include <unotools/mediadescriptor.hxx>
#include <unotools/streamwrap.hxx>
#include <pam.hxx>
#include <doc.hxx>
#include <swerror.h>
#include <ndole.hxx>
#include <docsh.hxx>
#include "swhtml.hxx"
#include "wrthtml.hxx"
#include "htmlfly.hxx"
#include "swcss1.hxx"
#include "htmlreqifreader.hxx"
#include <unoframe.hxx>
#include <com/sun/star/embed/XClassifiedObject.hpp>
#include <com/sun/star/embed/Aspects.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/frame/XStorable.hpp>
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/io/XActiveDataStreamer.hpp>
#include <com/sun/star/embed/XEmbedPersist2.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <comphelper/embeddedobjectcontainer.hxx>
#include <comphelper/classids.hxx>
#include <rtl/uri.hxx>
#include <comphelper/storagehelper.hxx>
#include <vcl/graphicfilter.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <comphelper/propertysequence.hxx>
#include <filter/msfilter/msoleexp.hxx>
#include <comphelper/fileurl.hxx>
#include <o3tl/safeint.hxx>
#include <osl/file.hxx>
#include <comphelper/propertyvalue.hxx>
#include <svtools/HtmlWriter.hxx>
Go to the source code of this file.
Macros | |
#define | HTML_DFLT_EMBED_WIDTH (o3tl::toTwips(125, o3tl::Length::mm10)) |
#define | HTML_DFLT_EMBED_HEIGHT (o3tl::toTwips(125, o3tl::Length::mm10)) |
#define | HTML_DFLT_APPLET_WIDTH (o3tl::toTwips(125, o3tl::Length::mm10)) |
#define | HTML_DFLT_APPLET_HEIGHT (o3tl::toTwips(125, o3tl::Length::mm10)) |
Functions | |
SwHTMLWriter & | OutHTML_FrameFormatOLENode (SwHTMLWriter &rWrt, const SwFrameFormat &rFrameFormat, bool bInCntnr) |
SwHTMLWriter & | OutHTML_FrameFormatOLENodeGrf (SwHTMLWriter &rWrt, const SwFrameFormat &rFrameFormat, bool bInCntnr, bool bWriteReplacementGraphic) |
Variables | |
const HtmlFrmOpts | HTML_FRMOPTS_EMBED_ALL |
const HtmlFrmOpts | HTML_FRMOPTS_EMBED_CNTNR |
const HtmlFrmOpts | HTML_FRMOPTS_EMBED |
const HtmlFrmOpts | HTML_FRMOPTS_HIDDEN_EMBED |
const HtmlFrmOpts | HTML_FRMOPTS_APPLET_ALL |
const HtmlFrmOpts | HTML_FRMOPTS_APPLET_CNTNR |
const HtmlFrmOpts | HTML_FRMOPTS_APPLET |
const HtmlFrmOpts | HTML_FRMOPTS_IFRAME_ALL |
const HtmlFrmOpts | HTML_FRMOPTS_IFRAME_CNTNR |
const HtmlFrmOpts | HTML_FRMOPTS_IFRAME |
const HtmlFrmOpts | HTML_FRMOPTS_OLE_CSS1 |
#define HTML_DFLT_APPLET_HEIGHT (o3tl::toTwips(125, o3tl::Length::mm10)) |
Definition at line 91 of file htmlplug.cxx.
#define HTML_DFLT_APPLET_WIDTH (o3tl::toTwips(125, o3tl::Length::mm10)) |
Definition at line 90 of file htmlplug.cxx.
#define HTML_DFLT_EMBED_HEIGHT (o3tl::toTwips(125, o3tl::Length::mm10)) |
Definition at line 88 of file htmlplug.cxx.
#define HTML_DFLT_EMBED_WIDTH (o3tl::toTwips(125, o3tl::Length::mm10)) |
Definition at line 87 of file htmlplug.cxx.
SwHTMLWriter & OutHTML_FrameFormatOLENode | ( | SwHTMLWriter & | rWrt, |
const SwFrameFormat & | rFrameFormat, | ||
bool | bInCntnr | ||
) |
Definition at line 1221 of file htmlplug.cxx.
References aStr, aURL, SwHTMLWriter::DecIndentLevel(), SvCommandList::FillFromSequence(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SvCommand::GetArgument(), Writer::GetBaseURL(), SvCommand::GetCommand(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwNodeIndex::GetIndex(), SwFormat::GetName(), SwHTMLWriter::GetNamespace(), SwDoc::GetNodes(), SwOLENode::GetOLEObj(), SwOLEObj::GetOleRef(), SwApplet_Impl::GetOptionType(), SwFormatSurround::GetSurround(), SwFormat::GetSurround(), SwNoTextNode::GetTitle(), HTML_FRMOPTS_APPLET, HTML_FRMOPTS_APPLET_CNTNR, HTML_FRMOPTS_EMBED, HTML_FRMOPTS_EMBED_CNTNR, HTML_FRMOPTS_HIDDEN_EMBED, HTML_FRMOPTS_IFRAME, HTML_FRMOPTS_IFRAME_CNTNR, HTML_FRMOPTS_OLE_CSS1, HTMLMODE_ABS_POS_FLY, i, SwHTMLWriter::IncIndentLevel(), SwHTMLWriter::IsHTMLMode(), SwHTMLWriter::m_bLFPossible, Writer::m_pDoc, nType, OOO_STRING_SVTOOLS_HTML_applet, OOO_STRING_SVTOOLS_HTML_embed, OOO_STRING_SVTOOLS_HTML_iframe, OOO_STRING_SVTOOLS_HTML_O_code, OOO_STRING_SVTOOLS_HTML_O_codebase, OOO_STRING_SVTOOLS_HTML_O_mayscript, OOO_STRING_SVTOOLS_HTML_O_name, OOO_STRING_SVTOOLS_HTML_O_src, OOO_STRING_SVTOOLS_HTML_O_type, OOO_STRING_SVTOOLS_HTML_O_value, OOO_STRING_SVTOOLS_HTML_param, OOO_STRING_SW_HTML_O_Hidden, HTMLOutFuncs::Out_AsciiTag(), SfxFrameHTMLWriter::Out_FrameDescriptor(), HTMLOutFuncs::Out_String(), SwHTMLWriter::OutCSS1_FrameFormatOptions(), SwHTMLWriter::OutFrameFormatOptions(), SwHTMLWriter::OutImplicitMark(), SwHTMLWriter::OutNewLine(), PARAM, URIHelper::simpleNormalizedMakeRelative(), SvCommandList::size(), SO3_APPLET_CLASSID, SO3_PLUGIN_CLASSID, Writer::Strm(), TAG, svt::EmbeddedObjectRef::TryRunningState(), SvStream::WriteChar(), and SvStream::WriteOString().
Referenced by SwHTMLWriter::OutFrameFormat().
SwHTMLWriter & OutHTML_FrameFormatOLENodeGrf | ( | SwHTMLWriter & | rWrt, |
const SwFrameFormat & | rFrameFormat, | ||
bool | bInCntnr, | ||
bool | bWriteReplacementGraphic | ||
) |
Definition at line 1487 of file htmlplug.cxx.
References SL::aData, aMimeType, comphelper::OStorageHelper::CopyInputToOutput(), utl::UcbStreamHelper::CreateStream(), SwXTextEmbeddedObject::CreateXTextEmbeddedObject(), SvxMSExportOLEObjects::ExportOLEObject(), GenImgAllMask, GenImgMask, Writer::GetBaseURL(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwOLEObj::GetCurrentPersistName(), SvMemoryStream::GetData(), SwDoc::GetDocShell(), SwOLENode::GetGraphic(), SwNodeIndex::GetIndex(), URIHelper::GetMaybeFileHdl(), SwHTMLWriter::GetNamespace(), SwDoc::GetNodes(), SwOLEObj::GetObject(), SwOLENode::GetOLEObj(), SwOLEObj::GetOleRef(), Writer::GetOrigFileName(), SvMemoryStream::GetSize(), SfxObjectShell::GetStorage(), SwNoTextNode::GetTitle(), SwOLENode::GetTwipSize(), Graphic::GetType(), SwHTMLWriter::m_aRTFOLEMimeType, SwHTMLWriter::m_bLFPossible, SwHTMLWriter::m_nWarn, Writer::m_pDoc, o3tl::make_unsigned(), SwHTMLWriter::maNamespace, SwHTMLWriter::mbEmbedImages, SwHTMLWriter::mbSkipImages, SwHTMLWriter::mbXHTML, OOO_STRING_SVTOOLS_HTML_object, OOO_STRING_SVTOOLS_HTML_span, HTMLOutFuncs::Out_AsciiTag(), OutHTML_ImageEnd(), OutHTML_ImageStart(), SwHTMLWriter::OutNewLine(), Replacement, SAL_MAX_INT32, SAL_WARN, SAL_WARN_IF, SvStream::Seek(), URIHelper::simpleNormalizedMakeRelative(), URIHelper::SmartRel2Abs(), Writer::Strm(), TOOLS_WARN_EXCEPTION, u, WARN_SWG_POOR_LOAD, SwReqIfReader::WrapOleInRtf(), XOutBitmap::WriteGraphic(), SvStream::WriteOString(), and xStream.
Referenced by SwHTMLWriter::OutFrameFormat(), and SwHTMLWriter::WriteStream().
const HtmlFrmOpts HTML_FRMOPTS_APPLET |
Definition at line 117 of file htmlplug.cxx.
Referenced by OutHTML_FrameFormatOLENode().
const HtmlFrmOpts HTML_FRMOPTS_APPLET_ALL |
Definition at line 111 of file htmlplug.cxx.
const HtmlFrmOpts HTML_FRMOPTS_APPLET_CNTNR |
Definition at line 114 of file htmlplug.cxx.
Referenced by OutHTML_FrameFormatOLENode().
const HtmlFrmOpts HTML_FRMOPTS_EMBED |
Definition at line 101 of file htmlplug.cxx.
Referenced by OutHTML_FrameFormatOLENode().
const HtmlFrmOpts HTML_FRMOPTS_EMBED_ALL |
Definition at line 94 of file htmlplug.cxx.
const HtmlFrmOpts HTML_FRMOPTS_EMBED_CNTNR |
Definition at line 98 of file htmlplug.cxx.
Referenced by OutHTML_FrameFormatOLENode().
const HtmlFrmOpts HTML_FRMOPTS_HIDDEN_EMBED |
Definition at line 107 of file htmlplug.cxx.
Referenced by OutHTML_FrameFormatOLENode().
const HtmlFrmOpts HTML_FRMOPTS_IFRAME |
Definition at line 129 of file htmlplug.cxx.
Referenced by OutHTML_FrameFormatOLENode().
const HtmlFrmOpts HTML_FRMOPTS_IFRAME_ALL |
Definition at line 123 of file htmlplug.cxx.
const HtmlFrmOpts HTML_FRMOPTS_IFRAME_CNTNR |
Definition at line 126 of file htmlplug.cxx.
Referenced by OutHTML_FrameFormatOLENode().
const HtmlFrmOpts HTML_FRMOPTS_OLE_CSS1 |
Definition at line 136 of file htmlplug.cxx.
Referenced by OutHTML_FrameFormatOLENode().