LibreOffice Module sd (master) 1
|
this class exports an Impress Document as a HTML Presentation. More...
#include <htmlex.hxx>
Public Member Functions | |
HtmlExport (OUString aPath, const css::uno::Sequence< css::beans::PropertyValue > &rParams, SdDrawDocument *pExpDoc, sd::DrawDocShell *pDocShell) | |
~HtmlExport () | |
Static Public Member Functions | |
static OUString | ColorToHTMLString (Color aColor) |
static OUString | StringToHTMLString (const OUString &rString) |
Private Member Functions | |
void | SetDocColors (SdPage *pPage=nullptr) |
bool | CreateImagesForPresPages (bool bThumbnails=false) |
bool | CreateHtmlTextForPresPages () |
bool | CreateHtmlForPresPages () |
bool | CreateContentPage () |
void | CreateFileNames () |
void | CreateBitmaps () |
bool | CreateOutlinePages () |
bool | CreateFrames () |
bool | CreateNotesPages () |
bool | CreateNavBarFrames () |
bool | CreateASPScripts () |
creates and saves the ASP scripts for WebShow More... | |
bool | CreatePERLScripts () |
bool | CreateImageFileList () |
bool | CreateImageNumberFile () |
bool | checkForExistingFiles () |
bool | checkFileExists (css::uno::Reference< css::ucb::XSimpleFileAccess3 > const &xFileAccess, std::u16string_view aFileName) |
OUString const & | getDocumentTitle () |
bool | SavePresentation () |
OUString | CreateNavBar (sal_uInt16 nSdPage, bool bIsText) const |
OUString | CreateBodyTag () const |
OUString | ParagraphToHTMLString (SdrOutliner const *pOutliner, sal_Int32 nPara, const Color &rBackgroundColor) |
OUString | TextAttribToHTMLString (SfxItemSet const *pSet, HtmlState *pState, const Color &rBackgroundColor) |
OUString | CreateTextForTitle (SdrOutliner *pOutliner, SdPage *pPage, const Color &rBackgroundColor) |
creates an outliner text for the title objects of a page More... | |
OUString | CreateTextForPage (SdrOutliner *pOutliner, SdPage const *pPage, bool bHeadLine, const Color &rBackgroundColor) |
OUString | CreateTextForNotesPage (SdrOutliner *pOutliner, SdPage *pPage, const Color &rBackgroundColor) |
OUString | CreatePageURL (sal_uInt16 nPgNum) |
OUString | InsertSound (const OUString &rSoundFile) |
bool | CopyFile (const OUString &rSourceFile, const OUString &rDestFile) |
bool | CopyScript (std::u16string_view rPath, const OUString &rSource, const OUString &rDest, bool bUnix=false) |
void | InitProgress (sal_uInt16 nProgrCount) |
void | ResetProgress () |
OUString | DocumentMetadata () const |
Output document metadata. More... | |
void | InitExportParameters (const css::uno::Sequence< css::beans::PropertyValue > &rParams) |
void | ExportHtml () |
void | ExportKiosk () |
void | ExportWebCast () |
void | ExportSingleDocument () |
bool | WriteHtml (const OUString &rFileName, bool bAddExtension, std::u16string_view rHtmlData) |
exports the given html data into a non unicode file in the current export path with the given filename More... | |
void | WriteOutlinerParagraph (OUStringBuffer &aStr, SdrOutliner *pOutliner, OutlinerParaObject const *pOutlinerParagraphObject, const Color &rBackgroundColor, bool bHeadLine) |
void | WriteObjectGroup (OUStringBuffer &aStr, SdrObjGroup const *pObjectGroup, SdrOutliner *pOutliner, const Color &rBackgroundColor, bool bHeadLine) |
void | WriteTable (OUStringBuffer &aStr, sdr::table::SdrTableObj const *pTableObject, SdrOutliner *pOutliner, const Color &rBackgroundColor) |
Static Private Member Functions | |
static SdrTextObj * | GetLayoutTextObject (SdrPage const *pPage) |
static OUString | CreateLink (std::u16string_view aLink, std::u16string_view aText, std::u16string_view aTarget=std::u16string_view()) |
static OUString | CreateImage (std::u16string_view aImage, std::u16string_view aAltText) |
static OUString | CreateHTMLCircleArea (sal_uLong nRadius, sal_uLong nCenterX, sal_uLong nCenterY, std::u16string_view rHRef) |
static OUString | CreateHTMLPolygonArea (const ::basegfx::B2DPolyPolygon &rPolyPoly, Size aShift, double fFactor, std::u16string_view rHRef) |
static OUString | CreateHTMLRectArea (const ::tools::Rectangle &rRect, std::u16string_view rHRef) |
static OUString | CreateMetaCharset () |
Output only the charset metadata, title etc. will be handled separately. More... | |
static OUString | GetButtonName (int nButton) |
this class exports an Impress Document as a HTML Presentation.
Definition at line 81 of file htmlex.hxx.
HtmlExport::HtmlExport | ( | OUString | aPath, |
const css::uno::Sequence< css::beans::PropertyValue > & | rParams, | ||
SdDrawDocument * | pExpDoc, | ||
sd::DrawDocShell * | pDocShell | ||
) |
Definition at line 346 of file htmlex.cxx.
References COL_BLACK(), COL_WHITE(), ExportHtml(), ExportKiosk(), ExportSingleDocument(), ExportWebCast(), gaHTMLExtension, InitExportParameters(), SdrModel::IsChanged(), maIndexUrl, maPath, meMode, meMode, mpDoc, PUBLISH_FRAMES, PUBLISH_HTML, PUBLISH_KIOSK, PUBLISH_SINGLE_DOCUMENT, PUBLISH_WEBCAST, and SdDrawDocument::SetChanged().
HtmlExport::~HtmlExport | ( | ) |
Definition at line 398 of file htmlex.cxx.
|
private |
Definition at line 3007 of file htmlex.cxx.
References maExportPath, and TOOLS_WARN_EXCEPTION.
Referenced by checkForExistingFiles().
|
private |
Definition at line 3022 of file htmlex.cxx.
References checkFileExists(), Application::CreateMessageDialog(), Exception, maDocFileName, maExportPath, maFramePage, maHTMLFiles, maImageFiles, maPageNames, maTextFiles, maThumbnailFiles, mbDownload, mbFrames, mnSdPageCount, RET_NO, RET_YES, SdResId(), and TOOLS_WARN_EXCEPTION.
Referenced by ExportHtml(), ExportKiosk(), and ExportWebCast().
|
static |
Definition at line 2714 of file htmlex.cxx.
References aStr, Color::GetBlue(), Color::GetGreen(), and Color::GetRed().
Referenced by CreateBodyTag(), and HtmlState::SetColor().
|
private |
Definition at line 2991 of file htmlex.cxx.
References Error, ErrorHandler::HandleError(), meEC, and HtmlErrorContext::SetContext().
Referenced by InsertSound().
|
private |
Definition at line 2816 of file htmlex.cxx.
References aStr, aURL, utl::UcbStreamHelper::CreateStream(), ERRCODE_NONE, getDocumentTitle(), ErrorHandler::HandleError(), maCGIPath, meEC, mnHeightPixel, mnPagesWritten, mnWidthPixel, mpProgress, INetURLObject::NONE, OUStringToOString(), RESTOHTML, HtmlErrorContext::SetContext(), u, and SvStream::WriteOString().
Referenced by CreateASPScripts(), and CreatePERLScripts().
|
private |
creates and saves the ASP scripts for WebShow
Definition at line 2891 of file htmlex.cxx.
References ASP_Scripts, CopyScript(), maExportPath, maIndex, and p.
Referenced by ExportWebCast().
|
private |
Definition at line 2631 of file htmlex.cxx.
References BTN_LESS, BTN_MORE, BTN_TEXT, GetButtonName(), maExportPath, mbFrames, mbImpress, mnButtonThema, mpButtonSet, pButtonNames, and SAL_N_ELEMENTS.
Referenced by ExportHtml().
|
private |
Definition at line 2650 of file htmlex.cxx.
References aStr, COL_AUTO(), COL_BLACK(), ColorToHTMLString(), Color::IsDark(), maALinkColor, maBackColor, maLinkColor, maTextColor, maVLinkColor, mbDocColors, and mbUserAttr.
Referenced by CreateContentPage(), CreateFrames(), CreateHtmlForPresPages(), CreateHtmlTextForPresPages(), CreateNavBarFrames(), CreateNotesPages(), CreateOutlinePages(), and ExportSingleDocument().
|
private |
Definition at line 1887 of file htmlex.cxx.
References aStr, CreateBodyTag(), CreateLink(), CreateMetaCharset(), gaHTMLHeader(), getDocumentTitle(), maAuthor, maDocFileName, maEMail, maFramePage, maHomePage, maHTMLFiles, maIndex, maInfo, maPageNames, maThumbnailFiles, mbDocColors, mbDownload, mbFrames, mbHeader, mnPagesWritten, mnSdPageCount, mpProgress, RESTOHTML, SetDocColors(), StringToHTMLString(), and WriteHtml().
Referenced by ExportHtml().
|
private |
Definition at line 2115 of file htmlex.cxx.
References FORMAT_GIF, FORMAT_JPG, gaHTMLExtension, SdPage::GetName(), maFramePage, maHTMLFiles, maImageFiles, maIndex, maPageNames, maPages, maTextFiles, maThumbnailFiles, mbContentsPage, mbFrames, mbHeader, meFormat, and mnSdPageCount.
Referenced by ExportHtml(), ExportKiosk(), and ExportWebCast().
|
private |
Definition at line 2260 of file htmlex.cxx.
References aStr, CreateBodyTag(), CreateMetaCharset(), gaHTMLExtension, JS_CollapseOutline, JS_ExpandOutline, JS_NavigateAbs, JS_NavigateRel, maFramePage, maHTMLFiles, maPageNames, mbImpress, mbNotes, mnPagesWritten, mnSdPageCount, mnWidthPixel, mpProgress, RESTOHTML, StringToHTMLString(), and WriteHtml().
Referenced by ExportHtml().
|
staticprivate |
Definition at line 2729 of file htmlex.cxx.
References aStr.
Referenced by CreateHtmlForPresPages().
|
private |
insert areas into Imagemap of the object, if the object has such an Imagemap
if there is a presentation::ClickAction, determine bookmark and create area for the whole object
Definition at line 1518 of file htmlex.cxx.
References aStr, aURL, tools::Rectangle::Bottom(), CreateBodyTag(), CreateHTMLCircleArea(), CreateHTMLPolygonArea(), CreateHTMLRectArea(), CreateMetaCharset(), CreateNavBar(), CreatePageURL(), CreateTextForNotesPage(), gaHTMLHeader(), SdDrawDocument::GetAnimationInfo(), tools::Polygon::getB2DPolygon(), SdAnimationInfo::GetBookmark(), tools::Rectangle::GetHeight(), SvxIMapInfo::GetImageMap(), SvxIMapInfo::GetIMapInfo(), ImageMap::GetIMapObject(), ImageMap::GetIMapObjectCount(), SdDrawDocument::GetInternalOutliner(), SdrPage::GetLeftBorder(), SdDrawDocument::GetObj(), SdDrawDocument::GetPageByName(), SdrPage::GetPageNum(), SdPage::GetPresChange(), SdDrawDocument::getPresentationSettings(), SdrPage::GetRightBorder(), SdrObject::getSdrPageFromSdrObject(), SdrPage::GetSize(), SdPage::GetSoundFile(), SdPage::GetTime(), IMapObject::GetType(), SdrPage::GetUpperBorder(), IMapObject::GetURL(), tools::Rectangle::GetWidth(), InsertSound(), SdrPage::IsMasterPage(), SdPage::IsSoundOn(), tools::Rectangle::Left(), maBackColor, maHTMLFiles, maImageFiles, maNotesPages, Manual, maPageNames, maPages, mbAutoSlide, mbDocColors, sd::PresentationSettings::mbEndless, mbEndless, mbFrames, mbNotes, mbSlideSound, SdAnimationInfo::meClickAction, meMode, mfSlideDuration, mnPagesWritten, mnSdPageCount, mnWidthPixel, tools::Rectangle::Move(), mpDoc, mpProgress, SdrObjListIter::Next(), nType, pObject, PUBLISH_KIOSK, RESTOHTML, tools::Rectangle::Right(), SAL_INFO, SDRPAGE_NOTFOUND, tools::Rectangle::SetBottom(), SetDocColors(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), Point::setX(), Point::setY(), StringToHTMLString(), tools::Rectangle::Top(), tools::Rectangle::TopLeft(), SdrPage::TRG_GetMasterPage(), Size::Width(), WriteHtml(), Point::X(), and Point::Y().
Referenced by ExportHtml(), and ExportKiosk().
|
staticprivate |
Definition at line 2745 of file htmlex.cxx.
References aStr, FRound(), Size::Height(), Point::Move(), Point::setX(), Point::setY(), Size::Width(), Point::X(), and Point::Y().
Referenced by CreateHtmlForPresPages().
|
staticprivate |
Definition at line 2780 of file htmlex.cxx.
References aStr.
Referenced by CreateHtmlForPresPages().
|
private |
Definition at line 1075 of file htmlex.cxx.
References aStr, CreateBodyTag(), CreateMetaCharset(), CreateNavBar(), CreateTextForNotesPage(), CreateTextForPage(), CreateTextForTitle(), gaHTMLHeader(), SdDrawDocument::GetInternalOutliner(), SdrPage::GetPageBackgroundColor(), maBackColor, maNotesPages, maPageNames, maPages, maTextFiles, mbDocColors, mbNotes, mnPagesWritten, mnSdPageCount, mpDoc, mpProgress, RESTOHTML, SetDocColors(), StringToHTMLString(), u, and WriteHtml().
Referenced by ExportHtml().
|
staticprivate |
Definition at line 2694 of file htmlex.cxx.
References aStr.
Referenced by CreateNavBar(), and CreateNavBarFrames().
|
private |
Definition at line 2927 of file htmlex.cxx.
References aStr, maImageFiles, maURLPath, mnPagesWritten, mnSdPageCount, mpProgress, and WriteHtml().
Referenced by ExportWebCast().
|
private |
Definition at line 2949 of file htmlex.cxx.
References ERRCODE_NONE, ErrorHandler::HandleError(), maExportPath, meEC, mnPagesWritten, mpProgress, HtmlErrorContext::SetContext(), and SvStream::WriteOString().
Referenced by ExportWebCast().
|
private |
Definition at line 958 of file htmlex.cxx.
References Any, Exception, FORMAT_GIF, FORMAT_JPG, FORMAT_PNG, SdrPage::getUnoPage(), maExportPath, maImageFiles, comphelper::makePropertyValue(), maPages, maThumbnailFiles, meFormat, mnCompression, mnHeightPixel, mnPagesWritten, mnSdPageCount, mnWidthPixel, mpProgress, PUB_THUMBNAIL_HEIGHT, and PUB_THUMBNAIL_WIDTH.
Referenced by ExportHtml(), ExportKiosk(), and ExportWebCast().
|
staticprivate |
Definition at line 2679 of file htmlex.cxx.
References aStr.
Referenced by CreateContentPage(), CreateNavBar(), CreateNavBarFrames(), and CreateOutlinePages().
|
staticprivate |
Output only the charset metadata, title etc. will be handled separately.
Definition at line 1041 of file htmlex.cxx.
References aStr.
Referenced by CreateContentPage(), CreateFrames(), CreateHtmlForPresPages(), CreateHtmlTextForPresPages(), CreateNavBarFrames(), CreateNotesPages(), and CreateOutlinePages().
|
private |
Definition at line 2531 of file htmlex.cxx.
References aStr, BTN_FIRST_0, BTN_FIRST_1, BTN_INDEX, BTN_LAST_0, BTN_LAST_1, BTN_NEXT_0, BTN_NEXT_1, BTN_PREV_0, BTN_PREV_1, BTN_TEXT, CreateImage(), CreateLink(), GetButtonName(), maFramePage, maHTMLFiles, maIndex, maTextFiles, mbContentsPage, mbFrames, mbImpress, mnButtonThema, mnSdPageCount, and SdResId().
Referenced by CreateHtmlForPresPages(), and CreateHtmlTextForPresPages().
|
private |
Definition at line 2372 of file htmlex.cxx.
References aStr, BTN_FIRST_0, BTN_FIRST_1, BTN_INDEX, BTN_LAST_0, BTN_LAST_1, BTN_LESS, BTN_MORE, BTN_NEXT_0, BTN_NEXT_1, BTN_PREV_0, BTN_PREV_1, BTN_TEXT, CreateBodyTag(), CreateImage(), CreateLink(), CreateMetaCharset(), gaHTMLExtension, gaHTMLHeader(), GetButtonName(), maBackColor, maFirstPageColor, maIndex, maPageNames, mbContentsPage, mbDocColors, mbImpress, mnButtonThema, mnPagesWritten, mnSdPageCount, mpProgress, SdResId(), SetDocColors(), StringToHTMLString(), u, and WriteHtml().
Referenced by ExportHtml().
|
private |
Definition at line 2018 of file htmlex.cxx.
References aStr, CreateBodyTag(), CreateMetaCharset(), CreateTextForNotesPage(), gaHTMLHeader(), SdDrawDocument::GetInternalOutliner(), maBackColor, maNotesPages, maPageNames, mbDocColors, mnPagesWritten, mnSdPageCount, mpDoc, mpProgress, SetDocColors(), StringToHTMLString(), and WriteHtml().
Referenced by ExportHtml().
|
private |
Definition at line 2056 of file htmlex.cxx.
References aStr, CreateBodyTag(), CreateLink(), CreateMetaCharset(), CreateTextForPage(), CreateTextForTitle(), gaHTMLHeader(), SdDrawDocument::GetInternalOutliner(), maBackColor, maPageNames, maPages, mbDocColors, mbImpress, mnPagesWritten, mnSdPageCount, mpDoc, mpProgress, SetDocColors(), StringToHTMLString(), u, and WriteHtml().
Referenced by ExportHtml().
|
private |
Definition at line 2805 of file htmlex.cxx.
References maHTMLFiles, and mbFrames.
Referenced by CreateHtmlForPresPages().
|
private |
Definition at line 2907 of file htmlex.cxx.
References CopyScript(), maExportPath, maIndex, maIndexUrl, p, and PERL_Scripts.
Referenced by ExportWebCast().
|
private |
Definition at line 1360 of file htmlex.cxx.
References aStr, SdrTextObj::GetOutlinerParaObject(), SdPage::GetPresObj(), SdrObject::IsEmptyPresObj(), nCount, Notes, ParagraphToHTMLString(), and u.
Referenced by CreateHtmlForPresPages(), CreateHtmlTextForPresPages(), CreateNotesPages(), and ExportSingleDocument().
|
private |
Definition at line 1191 of file htmlex.cxx.
References aStr, SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrTextObj::GetOutlinerParaObject(), SdPage::GetPresObjKind(), i, SdrObject::IsEmptyPresObj(), NONE, Outline, pObject, Table, Text, WriteObjectGroup(), WriteOutlinerParagraph(), and WriteTable().
Referenced by CreateHtmlTextForPresPages(), CreateOutlinePages(), and ExportSingleDocument().
|
private |
creates an outliner text for the title objects of a page
Definition at line 1170 of file htmlex.cxx.
References GetLayoutTextObject(), SdrTextObj::GetOutlinerParaObject(), SdPage::GetPresObj(), SdrObject::IsEmptyPresObj(), ParagraphToHTMLString(), and Title.
Referenced by CreateHtmlTextForPresPages(), CreateOutlinePages(), and ExportSingleDocument().
|
private |
Output document metadata.
Definition at line 1053 of file htmlex.cxx.
References aData, SvMemoryStream::GetData(), SfxObjectShell::GetModel(), SvMemoryStream::GetSize(), maDocFileName, o3tl::make_unsigned(), mpDocSh, SfxFrameHTMLWriter::Out_DocInfo(), and SAL_MAX_INT32.
Referenced by ExportSingleDocument().
|
private |
Definition at line 694 of file htmlex.cxx.
References checkForExistingFiles(), COL_AUTO(), COL_BLACK(), CreateBitmaps(), CreateContentPage(), CreateFileNames(), CreateFrames(), CreateHtmlForPresPages(), CreateHtmlTextForPresPages(), CreateImagesForPresPages(), CreateNavBarFrames(), CreateNotesPages(), CreateOutlinePages(), InitProgress(), Color::IsDark(), maBackColor, maDocFileName, maFirstPageColor, maTextColor, mbContentsPage, mbDocColors, mbDownload, mbFrames, mbImpress, mbNotes, mbUserAttr, mnSdPageCount, mpDocSh, ResetProgress(), SavePresentation(), SetDocColors(), and SfxObjectShell::SetWaitCursor().
Referenced by HtmlExport().
|
private |
Definition at line 846 of file htmlex.cxx.
References checkForExistingFiles(), CreateFileNames(), CreateHtmlForPresPages(), CreateImagesForPresPages(), InitProgress(), mnPagesWritten, mnSdPageCount, and ResetProgress().
Referenced by HtmlExport().
|
private |
Definition at line 624 of file htmlex.cxx.
References aStr, CreateBodyTag(), CreateTextForNotesPage(), CreateTextForPage(), CreateTextForTitle(), DocumentMetadata(), gaHTMLHeader(), SdDrawDocument::GetInternalOutliner(), SdPage::GetName(), SdrPage::GetPageBackgroundColor(), InitProgress(), maBackColor, maDocFileName, maNotesPages, maPageNames, maPages, mbDocColors, mbNotes, mnPagesWritten, mnSdPageCount, mpDoc, mpProgress, ResetProgress(), RESTOHTML, SetDocColors(), u, and WriteHtml().
Referenced by HtmlExport().
|
private |
Definition at line 862 of file htmlex.cxx.
References checkForExistingFiles(), CreateASPScripts(), CreateFileNames(), CreateImageFileList(), CreateImageNumberFile(), CreateImagesForPresPages(), CreatePERLScripts(), InitProgress(), maCGIPath, maURLPath, meScript, mnPagesWritten, mnSdPageCount, mpDocSh, ResetProgress(), SCRIPT_ASP, and SfxObjectShell::SetWaitCursor().
Referenced by HtmlExport().
|
staticprivate |
Definition at line 3073 of file htmlex.cxx.
References pButtonNames.
Referenced by CreateBitmaps(), CreateNavBar(), and CreateNavBarFrames().
|
private |
Definition at line 2172 of file htmlex.cxx.
References SdrObject::GetOutlinerParaObject(), SdPage::GetPresObj(), SdDrawDocument::GetSdPage(), EditTextObject::GetText(), OutlinerParaObject::GetTextObject(), SdrObject::IsEmptyPresObj(), maDocFileName, mbHeader, mbImpress, mDocTitle, mpDoc, Standard, and Title.
Referenced by CopyScript(), and CreateContentPage().
|
staticprivate |
Definition at line 1022 of file htmlex.cxx.
References SdrObjList::GetObj(), SdrObjList::GetObjCount(), and pObject.
Referenced by CreateTextForTitle().
|
private |
Definition at line 403 of file htmlex.cxx.
References aStr, DBG_ASSERT, SdDrawDocument::GetDocumentType(), INetURLObject::GetLastName(), INetURLObject::GetPartBeforeLastName(), INetURLObject::GetProtocol(), SdDrawDocument::GetSdPage(), SdDrawDocument::GetSdPageCount(), SdrPage::GetSize(), Size::Height(), Impress, SdPage::IsExcluded(), maALinkColor, maAuthor, maBackColor, maCGIPath, maDocFileName, maEMail, maExportPath, maHomePage, maIndex, maIndexUrl, maInfo, maLinkColor, maNotesPages, maPages, maPath, maTextColor, maURLPath, maVLinkColor, mbAutoSlide, mbContentsPage, mbDocColors, mbDownload, mbEndless, mbFrames, mbHiddenSlides, mbImpress, mbNotes, mbSlideSound, mbUserAttr, meFormat, meMode, meScript, mfSlideDuration, mnButtonThema, mnCompression, mnHeightPixel, mnSdPageCount, mnWidthPixel, mpDoc, Notes, PUBLISH_FRAMES, PUBLISH_KIOSK, SCRIPT_ASP, SCRIPT_PERL, Standard, and Size::Width().
Referenced by HtmlExport().
|
private |
Definition at line 836 of file htmlex.cxx.
References mpDocSh, mpProgress, and SdResId().
Referenced by ExportHtml(), ExportKiosk(), ExportSingleDocument(), and ExportWebCast().
|
private |
Definition at line 2973 of file htmlex.cxx.
References aStr, aURL, CopyFile(), DBG_ASSERT, and maExportPath.
Referenced by CreateHtmlForPresPages().
|
private |
Definition at line 1390 of file htmlex.cxx.
References aStr, COL_BLACK(), HtmlState::Flush(), EditEngine::GetAttribs(), EditEngine::GetPortions(), EditEngine::GetText(), maTextColor, mbDocColors, mbUserAttr, EditEngine::SetUpdateLayout(), StringToHTMLString(), and TextAttribToHTMLString().
Referenced by CreateTextForNotesPage(), CreateTextForTitle(), and WriteOutlinerParagraph().
|
private |
Definition at line 841 of file htmlex.cxx.
References mpProgress.
Referenced by ExportHtml(), ExportKiosk(), ExportSingleDocument(), and ExportWebCast().
|
private |
Definition at line 924 of file htmlex.cxx.
References aProperties, aURL, SfxObjectShell::EnableSetModified(), Exception, SdrModel::getUnoModel(), maDocFileName, maExportPath, comphelper::makePropertyValue(), meEC, mpDoc, mpDocSh, and HtmlErrorContext::SetContext().
Referenced by ExportHtml().
|
private |
Definition at line 793 of file htmlex.cxx.
References COL_AUTO(), COL_BLACK(), EE_CHAR_COLOR(), svtools::ColorConfig::GetColorValue(), SdrModel::GetDefaultStyleSheet(), SdDrawDocument::GetDocumentType(), SfxItemSet::GetItem(), SfxStyleSheetBase::GetItemSet(), SfxItemSet::GetItemState(), SdrPage::GetPageBackgroundColor(), SdDrawDocument::GetSdPage(), SdPage::GetStyleSheetForPresObj(), GetValue, Impress, Color::IsDark(), svtools::LINKS, svtools::LINKSVISITED, maALinkColor, maBackColor, maLinkColor, maTextColor, maVLinkColor, mpDoc, svtools::ColorConfigValue::nColor, Outline, rSet, Standard, Text, and Title.
Referenced by CreateContentPage(), CreateHtmlForPresPages(), CreateHtmlTextForPresPages(), CreateNavBarFrames(), CreateNotesPages(), CreateOutlinePages(), ExportHtml(), and ExportSingleDocument().
|
static |
Definition at line 2795 of file htmlex.cxx.
References SvMemoryStream::GetData(), nLength, HTMLOutFuncs::Out_String(), and SvStream::WriteChar().
Referenced by CreateContentPage(), CreateFrames(), CreateHtmlForPresPages(), CreateHtmlTextForPresPages(), CreateNavBarFrames(), CreateNotesPages(), CreateOutlinePages(), and ParagraphToHTMLString().
|
private |
Definition at line 1430 of file htmlex.cxx.
References aStr, COL_AUTO(), COL_BLACK(), EE_CHAR_COLOR(), EE_CHAR_ITALIC(), EE_CHAR_STRIKEOUT(), EE_CHAR_UNDERLINE(), EE_CHAR_WEIGHT(), EE_FEATURE_FIELD(), SfxItemSet::Get(), SvxFieldItem::GetField(), SfxItemSet::GetItem(), SfxItemSet::GetItemState(), SvxURLField::GetTargetFrame(), SvxURLField::GetURL(), Color::IsDark(), ITALIC_NONE, LINESTYLE_NONE, mbDocColors, HtmlState::SetColor(), HtmlState::SetItalic(), HtmlState::SetLink(), HtmlState::SetStrikeout(), HtmlState::SetUnderline(), HtmlState::SetWeight(), STRIKEOUT_NONE, and WEIGHT_BOLD.
Referenced by ParagraphToHTMLString().
|
private |
exports the given html data into a non unicode file in the current export path with the given filename
Definition at line 1142 of file htmlex.cxx.
References aStr, ERRCODE_NONE, gaHTMLExtension, ErrorHandler::HandleError(), maExportPath, meEC, OUStringToOString(), HtmlErrorContext::SetContext(), and SvStream::WriteOString().
Referenced by CreateContentPage(), CreateFrames(), CreateHtmlForPresPages(), CreateHtmlTextForPresPages(), CreateImageFileList(), CreateNavBarFrames(), CreateNotesPages(), CreateOutlinePages(), and ExportSingleDocument().
|
private |
Definition at line 1277 of file htmlex.cxx.
References aStr, SdrObject::GetObjIdentifier(), SdrObject::GetOutlinerParaObject(), SdrObjGroup::GetSubList(), SdrObjListIter::IsMore(), SdrObjListIter::Next(), WriteObjectGroup(), and WriteOutlinerParagraph().
Referenced by CreateTextForPage(), and WriteObjectGroup().
|
private |
Definition at line 1300 of file htmlex.cxx.
References aStr, nCount, nIndex, ParagraphToHTMLString(), and u.
Referenced by CreateTextForPage(), WriteObjectGroup(), and WriteTable().
|
private |
Definition at line 1249 of file htmlex.cxx.
References aStr, sdr::table::SdrTableObj::getColumnCount(), sdr::table::SdrTableObj::getLastCell(), SdrText::GetOutlinerParaObject(), sdr::table::SdrTableObj::getText(), sdr::table::CellPos::mnCol, sdr::table::CellPos::mnRow, and WriteOutlinerParagraph().
Referenced by CreateTextForPage().
|
private |
Definition at line 128 of file htmlex.hxx.
Referenced by CreateBodyTag(), InitExportParameters(), and SetDocColors().
|
private |
Definition at line 108 of file htmlex.hxx.
Referenced by CreateContentPage(), and InitExportParameters().
|
private |
Definition at line 125 of file htmlex.hxx.
Referenced by CreateBodyTag(), CreateHtmlForPresPages(), CreateHtmlTextForPresPages(), CreateNavBarFrames(), CreateNotesPages(), CreateOutlinePages(), ExportHtml(), ExportSingleDocument(), InitExportParameters(), and SetDocColors().
|
private |
Definition at line 141 of file htmlex.hxx.
Referenced by CopyScript(), ExportWebCast(), and InitExportParameters().
|
private |
Definition at line 112 of file htmlex.hxx.
Referenced by checkForExistingFiles(), CreateContentPage(), DocumentMetadata(), ExportHtml(), ExportSingleDocument(), getDocumentTitle(), InitExportParameters(), and SavePresentation().
|
private |
Definition at line 107 of file htmlex.hxx.
Referenced by CreateContentPage(), and InitExportParameters().
|
private |
output directory or URL.
Definition at line 138 of file htmlex.hxx.
Referenced by checkFileExists(), checkForExistingFiles(), CreateASPScripts(), CreateBitmaps(), CreateImageNumberFile(), CreateImagesForPresPages(), CreatePERLScripts(), InitExportParameters(), InsertSound(), SavePresentation(), and WriteHtml().
|
private |
Definition at line 129 of file htmlex.hxx.
Referenced by CreateNavBarFrames(), and ExportHtml().
|
private |
Definition at line 113 of file htmlex.hxx.
Referenced by checkForExistingFiles(), CreateContentPage(), CreateFileNames(), CreateFrames(), and CreateNavBar().
|
private |
Definition at line 109 of file htmlex.hxx.
Referenced by CreateContentPage(), and InitExportParameters().
|
private |
Definition at line 132 of file htmlex.hxx.
Referenced by checkForExistingFiles(), CreateContentPage(), CreateFileNames(), CreateFrames(), CreateHtmlForPresPages(), CreateNavBar(), and CreatePageURL().
|
private |
Definition at line 133 of file htmlex.hxx.
Referenced by checkForExistingFiles(), CreateFileNames(), CreateHtmlForPresPages(), CreateImageFileList(), and CreateImagesForPresPages().
|
private |
Definition at line 106 of file htmlex.hxx.
Referenced by CreateASPScripts(), CreateContentPage(), CreateFileNames(), CreateNavBar(), CreateNavBarFrames(), CreatePERLScripts(), and InitExportParameters().
|
private |
Definition at line 139 of file htmlex.hxx.
Referenced by CreatePERLScripts(), HtmlExport(), and InitExportParameters().
|
private |
Definition at line 110 of file htmlex.hxx.
Referenced by CreateContentPage(), and InitExportParameters().
|
private |
Definition at line 126 of file htmlex.hxx.
Referenced by CreateBodyTag(), InitExportParameters(), and SetDocColors().
|
private |
Definition at line 84 of file htmlex.hxx.
Referenced by CreateHtmlForPresPages(), CreateHtmlTextForPresPages(), CreateNotesPages(), ExportSingleDocument(), and InitExportParameters().
|
private |
Definition at line 135 of file htmlex.hxx.
Referenced by checkForExistingFiles(), CreateContentPage(), CreateFileNames(), CreateFrames(), CreateHtmlForPresPages(), CreateHtmlTextForPresPages(), CreateNavBarFrames(), CreateNotesPages(), CreateOutlinePages(), and ExportSingleDocument().
|
private |
Definition at line 83 of file htmlex.hxx.
Referenced by CreateFileNames(), CreateHtmlForPresPages(), CreateHtmlTextForPresPages(), CreateImagesForPresPages(), CreateOutlinePages(), ExportSingleDocument(), and InitExportParameters().
|
private |
Definition at line 86 of file htmlex.hxx.
Referenced by InitExportParameters().
|
private |
The following colors are used for the <body> tag if mbUserAttr is true.
Definition at line 124 of file htmlex.hxx.
Referenced by CreateBodyTag(), ExportHtml(), InitExportParameters(), ParagraphToHTMLString(), and SetDocColors().
|
private |
Definition at line 136 of file htmlex.hxx.
Referenced by checkForExistingFiles(), CreateFileNames(), CreateHtmlTextForPresPages(), and CreateNavBar().
|
private |
Definition at line 134 of file htmlex.hxx.
Referenced by checkForExistingFiles(), CreateContentPage(), CreateFileNames(), and CreateImagesForPresPages().
|
private |
Definition at line 140 of file htmlex.hxx.
Referenced by CreateImageFileList(), ExportWebCast(), and InitExportParameters().
|
private |
Definition at line 127 of file htmlex.hxx.
Referenced by CreateBodyTag(), InitExportParameters(), and SetDocColors().
|
private |
Definition at line 117 of file htmlex.hxx.
Referenced by CreateHtmlForPresPages(), and InitExportParameters().
|
private |
Definition at line 98 of file htmlex.hxx.
Referenced by CreateFileNames(), CreateNavBar(), CreateNavBarFrames(), ExportHtml(), and InitExportParameters().
|
private |
Definition at line 130 of file htmlex.hxx.
Referenced by CreateBodyTag(), CreateContentPage(), CreateHtmlForPresPages(), CreateHtmlTextForPresPages(), CreateNavBarFrames(), CreateNotesPages(), CreateOutlinePages(), ExportHtml(), ExportSingleDocument(), InitExportParameters(), ParagraphToHTMLString(), and TextAttribToHTMLString().
|
private |
Definition at line 115 of file htmlex.hxx.
Referenced by checkForExistingFiles(), CreateContentPage(), ExportHtml(), and InitExportParameters().
|
private |
Definition at line 121 of file htmlex.hxx.
Referenced by CreateHtmlForPresPages(), and InitExportParameters().
|
private |
Definition at line 105 of file htmlex.hxx.
Referenced by checkForExistingFiles(), CreateBitmaps(), CreateContentPage(), CreateFileNames(), CreateHtmlForPresPages(), CreateNavBar(), CreatePageURL(), ExportHtml(), and InitExportParameters().
|
private |
Definition at line 103 of file htmlex.hxx.
Referenced by CreateContentPage(), CreateFileNames(), and getDocumentTitle().
|
private |
Definition at line 120 of file htmlex.hxx.
Referenced by InitExportParameters().
|
private |
Definition at line 95 of file htmlex.hxx.
Referenced by CreateBitmaps(), CreateFrames(), CreateNavBar(), CreateNavBarFrames(), CreateOutlinePages(), ExportHtml(), getDocumentTitle(), and InitExportParameters().
|
private |
Definition at line 104 of file htmlex.hxx.
Referenced by CreateFrames(), CreateHtmlForPresPages(), CreateHtmlTextForPresPages(), ExportHtml(), ExportSingleDocument(), and InitExportParameters().
|
private |
Definition at line 119 of file htmlex.hxx.
Referenced by CreateHtmlForPresPages(), and InitExportParameters().
|
private |
Definition at line 123 of file htmlex.hxx.
Referenced by CreateBodyTag(), ExportHtml(), InitExportParameters(), and ParagraphToHTMLString().
|
private |
Definition at line 114 of file htmlex.hxx.
Referenced by getDocumentTitle().
|
private |
Definition at line 91 of file htmlex.hxx.
Referenced by CopyFile(), CopyScript(), CreateImageNumberFile(), SavePresentation(), and WriteHtml().
|
private |
Definition at line 102 of file htmlex.hxx.
Referenced by CreateFileNames(), CreateImagesForPresPages(), and InitExportParameters().
|
private |
Definition at line 93 of file htmlex.hxx.
Referenced by CreateHtmlForPresPages(), HtmlExport(), and InitExportParameters().
|
private |
Definition at line 142 of file htmlex.hxx.
Referenced by ExportWebCast(), and InitExportParameters().
|
private |
Definition at line 118 of file htmlex.hxx.
Referenced by CreateHtmlForPresPages(), and InitExportParameters().
|
private |
Definition at line 99 of file htmlex.hxx.
Referenced by CreateBitmaps(), CreateNavBar(), CreateNavBarFrames(), and InitExportParameters().
|
private |
Definition at line 111 of file htmlex.hxx.
Referenced by CreateImagesForPresPages(), and InitExportParameters().
|
private |
Definition at line 101 of file htmlex.hxx.
Referenced by CopyScript(), CreateImagesForPresPages(), and InitExportParameters().
|
private |
Definition at line 97 of file htmlex.hxx.
Referenced by CopyScript(), CreateContentPage(), CreateFrames(), CreateHtmlForPresPages(), CreateHtmlTextForPresPages(), CreateImageFileList(), CreateImageNumberFile(), CreateImagesForPresPages(), CreateNavBarFrames(), CreateNotesPages(), CreateOutlinePages(), ExportKiosk(), ExportSingleDocument(), and ExportWebCast().
|
private |
Definition at line 96 of file htmlex.hxx.
Referenced by checkForExistingFiles(), CreateContentPage(), CreateFileNames(), CreateFrames(), CreateHtmlForPresPages(), CreateHtmlTextForPresPages(), CreateImageFileList(), CreateImagesForPresPages(), CreateNavBar(), CreateNavBarFrames(), CreateNotesPages(), CreateOutlinePages(), ExportHtml(), ExportKiosk(), ExportSingleDocument(), ExportWebCast(), and InitExportParameters().
|
private |
Definition at line 100 of file htmlex.hxx.
Referenced by CopyScript(), CreateFrames(), CreateHtmlForPresPages(), CreateImagesForPresPages(), and InitExportParameters().
|
private |
Definition at line 144 of file htmlex.hxx.
Referenced by CreateBitmaps().
|
private |
Definition at line 88 of file htmlex.hxx.
Referenced by CreateHtmlForPresPages(), CreateHtmlTextForPresPages(), CreateNotesPages(), CreateOutlinePages(), ExportSingleDocument(), getDocumentTitle(), HtmlExport(), InitExportParameters(), SavePresentation(), and SetDocColors().
|
private |
Definition at line 89 of file htmlex.hxx.
Referenced by DocumentMetadata(), ExportHtml(), ExportWebCast(), InitProgress(), and SavePresentation().
|
private |
Definition at line 94 of file htmlex.hxx.
Referenced by CopyScript(), CreateContentPage(), CreateFrames(), CreateHtmlForPresPages(), CreateHtmlTextForPresPages(), CreateImageFileList(), CreateImageNumberFile(), CreateImagesForPresPages(), CreateNavBarFrames(), CreateNotesPages(), CreateOutlinePages(), ExportSingleDocument(), InitProgress(), and ResetProgress().