|
LibreOffice Module lotuswordpro (master) 1
|
VO_NOTELAYOUT object. More...
#include <lwpnotes.hxx>
Public Member Functions | |
| LwpNoteLayout (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
| virtual | ~LwpNoteLayout () override |
| virtual LWP_LAYOUT_TYPE | GetLayoutType () override |
| virtual void | RegisterStyle () override |
| @descr Register style More... | |
| virtual void | XFConvert (XFContentContainer *pCont) override |
| @descr convert note More... | |
| sal_uInt32 | GetTime () const |
| OUString | GetAuthor () |
| @descr Get author. More... | |
Public Member Functions inherited from LwpFrameLayout | |
| LwpFrameLayout (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
| virtual | ~LwpFrameLayout () override |
| virtual LWP_LAYOUT_TYPE | GetLayoutType () override |
| virtual void | RegisterStyle () override |
| @descr register frame style More... | |
| virtual void | XFConvert (XFContentContainer *pCont) override |
| @descr create a xfframe and add into content container More... | |
| void | XFConvertFrame (XFContentContainer *pCont, sal_Int32 nStart=0, sal_Int32 nEnd=0, bool bAll=false) override |
| @descr create a xfframe and add into content container, called by XFConvert More... | |
| OUString | GetNextLinkName () |
| @descr get the name of the frame that current frame links More... | |
| bool | HasPreviousLinkLayout () |
| @descr whether current frame is linked by other frame More... | |
| bool | IsForWaterMark () override |
| @descr whether current frame is for water mark. More... | |
| double | GetWidth () override |
| @descr Get frame width More... | |
| void | ApplyGraphicSize (XFFrame *pXFFrame) |
| @descr Set frame size according to graphic size More... | |
Public Member Functions inherited from LwpPlacableLayout | |
| LwpPlacableLayout (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
| virtual | ~LwpPlacableLayout () override |
| sal_uInt8 | GetWrapType () |
| @descr: get wrap type More... | |
| LwpLayoutRelativity * | GetRelativityPiece () |
| @descr: get LayoutRelativity More... | |
| virtual sal_uInt8 | GetRelativeType () override |
| @descr: Get relative type More... | |
| sal_Int32 | GetBaseLineOffset () |
| @descr: Get offset from the baseline More... | |
| virtual bool | IsAnchorPage () override |
| @descr: whether the parent layout is page layout More... | |
| virtual bool | IsAnchorFrame () override |
| @descr: whether the parent layout is frame layout More... | |
| virtual bool | IsAnchorCell () override |
| @descr: whether the parent layout is cell layout More... | |
| virtual void | XFConvertFrame (XFContentContainer *, sal_Int32=0, sal_Int32=0, bool=false) |
| const rtl::Reference< XFFont > & | GetFont () const |
| @descr: Get font style for setting position of frame More... | |
| void | SetFont (rtl::Reference< XFFont > const &pFont) |
| @descr: Set font style for setting position of frame More... | |
Public Member Functions inherited from LwpLayout | |
| LwpLayout (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
| virtual | ~LwpLayout () override |
| XFColumns * | GetXFColumns () |
| @descr: Create and return XFColumns object More... | |
| XFColumnSep * | GetColumnSep () |
| @descr: Create and return XFColumnSep object More... | |
| LwpShadow * | GetShadow () |
| @descr: Get the LwpShadow object according to m_LayShadow id. More... | |
| XFShadow * | GetXFShadow () |
| @descr: create xfshadow More... | |
| LwpUseWhen * | VirtualGetUseWhen () override |
| @descr: Get usewhen pointer More... | |
| virtual sal_uInt16 | GetNumCols () override |
| @descr: Get columns number More... | |
| virtual double | GetColGap (sal_uInt16 nIndex) override |
| @descr: Get gap between columns More... | |
| sal_uInt16 | GetUsePage () |
| @descr: Get use page More... | |
| UseWhenType | GetUseWhenType () |
| @descr: Get use when type More... | |
| virtual bool | IsUseOnAllPages () override |
| @descr: Whether it is use on all pages More... | |
| virtual bool | IsUseOnAllEvenPages () override |
| @descr: Whether it is use on all even pages More... | |
| virtual bool | IsUseOnAllOddPages () override |
| @descr: Whether it is use on all odd pages More... | |
| virtual bool | IsUseOnPage () override |
| @descr: Whether it is use on current page More... | |
| LwpObjectID & | GetPosition () |
| virtual rtl::Reference< LwpVirtualLayout > | GetContainerLayout () override |
| @descr get the layout that containers the current frame layout More... | |
Public Member Functions inherited from LwpMiddleLayout | |
| LwpMiddleLayout (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
| virtual | ~LwpMiddleLayout () override |
| double | GetGeometryHeight () |
| @descr: Get layout height, measured by "cm" More... | |
| double | GetGeometryWidth () |
| @descr: Get layout width, measured by "cm" More... | |
| LwpBorderStuff * | GetBorderStuff () |
| @descr: Get the LwpBorderStuff object according to m_LayBorderStuff id. More... | |
| LwpBackgroundStuff * | GetBackgroundStuff () |
| @descr: Get LwpBackgroundStuff object according to m_LayBackgroundStuff id; More... | |
| LwpLayoutGeometry * | GetGeometry () |
| @descr: Get the geometry of current layout More... | |
| enumXFTextDir | GetTextDirection () |
| @descr: Get text direction settings. More... | |
| std::unique_ptr< XFBorders > | GetXFBorders () |
| @descr: create xfborder. More... | |
| LwpColor * | GetBackColor () |
| @descr: Get background color. More... | |
| virtual bool | IsAutoGrow () override |
| @descr: Whether the height and width of layout is auto grow More... | |
| virtual bool | IsAutoGrowUp () override |
| @descr: Whether the height of layout is auto grow up More... | |
| virtual bool | IsAutoGrowLeft () override |
| @descr: Whether the height of layout is auto grow down More... | |
| virtual bool | IsAutoGrowRight () override |
| @descr: Whether the height of layout is auto grow down More... | |
| virtual sal_uInt8 | GetContentOrientation () override |
| @descr: Get contents orientation More... | |
| virtual bool | HonorProtection () override |
| @descr: Whether it is honoring protection More... | |
| virtual bool | IsProtected () override |
| @descr: Whether it is protected More... | |
| rtl::Reference< LwpVirtualLayout > | GetWaterMarkLayout () |
| @descr: Get watermark layout More... | |
| std::unique_ptr< XFBGImage > | GetXFBGImage () |
| @descr: Create and return xfbgimage object for watermark More... | |
| bool | GetUsePrinterSettings () |
| @descr: Whether the page uses the printer setting More... | |
| LwpLayoutScale * | GetLayoutScale () |
| sal_uInt16 | GetScaleMode () |
| @descr: Layscale for graphic & watermark More... | |
| sal_uInt16 | GetScaleTile () |
| sal_uInt16 | GetScaleCenter () |
| bool | CanSizeRight () |
| virtual double | GetWidth () override |
| @descr: Get layout height More... | |
| sal_Int32 | GetMinimumWidth () |
| bool | IsSizeRightToContent () |
| bool | IsSizeRightToContainer () |
| sal_Int32 | DetermineWidth () |
| virtual double | GetHeight () |
| @descr: Get layout height More... | |
| LwpPoint | GetOrigin () |
| @descr: Get layout origin point More... | |
| bool | IsPatternFill () |
| @descr: Whether the fill is pattern fill or not More... | |
| std::unique_ptr< XFBGImage > | GetFillPattern () |
| @descr: Get the fill pattern style. More... | |
| virtual bool | HasContent () override |
| LwpObjectID & | GetContent () |
| LwpTabOverride * | GetTabOverride () |
| @descr: Add back color settings into xfpagemaster. More... | |
Public Member Functions inherited from LwpVirtualLayout | |
| LwpVirtualLayout (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
| virtual sal_uInt16 | GetNumCols () |
| virtual double | GetColGap (sal_uInt16 nIndex) |
| @descr: Get the gap between columns More... | |
| virtual bool | IsAutoGrow () |
| virtual bool | IsAutoGrowUp () |
| virtual bool | IsAutoGrowLeft () |
| virtual bool | IsAutoGrowRight () |
| bool | IsFitGraphic () |
| @descr: Whether the size of layout is fit the graphic More... | |
| bool | IsAutoGrowWidth () |
| @descr: Whether the width of layout is auto grow More... | |
| bool | IsInlineToMargin () const |
| @descr: Determine whether the layout width is to margin More... | |
| virtual sal_uInt8 | GetContentOrientation () |
| bool | GetHonorProtection () |
| bool | GetMarginsSameAsParent () |
| bool | GetIsProtected () |
| bool | GetIsAutoGrowDown () |
| bool | GetHasProtection () |
| double | GetMarginsValue (sal_uInt8 nWhichSide) |
| double | GetExtMarginsValue (sal_uInt8 nWhichSide) |
| const OUString & | GetStyleName () const |
| bool | IsComplex () const |
| @descr: Whether it is a mirror layout More... | |
| virtual bool | IsAnchorPage () |
| virtual bool | IsAnchorFrame () |
| virtual bool | IsAnchorCell () |
| bool | IsPage () |
| @descr: Whether this layout is page layout or not More... | |
| bool | IsHeader () |
| @descr: Whether this layout is header layout or not More... | |
| bool | IsFooter () |
| @descr: Whether this layout is footer layout or not More... | |
| bool | IsFrame () |
| @descr: Whether this layout is frame layout or not More... | |
| bool | IsCell () |
| @descr: Whether this layout is cell layout or not More... | |
| bool | IsSuperTable () |
| @descr: Whether this layout is supertable layout or not More... | |
| bool | IsGroupHead () |
| @descr: Whether this layout is group layout or not More... | |
| virtual sal_uInt8 | GetRelativeType () |
| @descr: get the relative type More... | |
| bool | IsRelativeAnchored () |
| @descr: whether it is relative anchored layout More... | |
| LwpUseWhen * | GetUseWhen () |
| @descr: Get usewhen pointer More... | |
| virtual LwpUseWhen * | VirtualGetUseWhen () |
| virtual bool | IsUseOnAllPages () |
| virtual bool | IsUseOnAllEvenPages () |
| virtual bool | IsUseOnAllOddPages () |
| virtual bool | IsUseOnPage () |
| virtual sal_Int32 | GetPageNumber (sal_uInt16) |
| bool | IsMinimumHeight () const |
| @descr: whether it is MinimumHeight layout More... | |
| virtual bool | IsForWaterMark () |
| virtual LwpPara * | GetLastParaOfPreviousStory () |
| rtl::Reference< LwpVirtualLayout > | GetParentLayout () |
| @descr: Get parent layout More... | |
| virtual rtl::Reference< LwpVirtualLayout > | GetContainerLayout () |
| void | RegisterChildStyle () |
| @descr: Register child layout style More... | |
| bool | NoContentReference () |
| bool | IsStyleLayout () |
| enumXFAlignType | GetVerticalAlignmentType () const |
| void | SetStyleName (const OUString &str) |
| virtual double | GetWidth () |
| virtual bool | HasContent () |
| virtual LWP_LAYOUT_TYPE | GetLayoutType () |
| LwpVirtualLayout * | FindChildByType (LWP_LAYOUT_TYPE eType) |
| @descr: Find child layout by layout type More... | |
Public Member Functions inherited from LwpDLNFPVList | |
| LwpDLNFPVList (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
| @descr ctor of LwpDLNFPVList from object stream Note that m_bHasProperties is initialized to true More... | |
| virtual | ~LwpDLNFPVList () override |
| @descr release property list More... | |
| LwpPropList * | GetPropList () |
Public Member Functions inherited from LwpDLNFVList | |
| LwpDLNFVList (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
| LwpAtomHolder & | GetName () |
| LwpObjectID & | GetChildHead () |
| LwpObjectID & | GetChildTail () |
| LwpObjectID & | GetParent () |
Public Member Functions inherited from LwpDLVList | |
| LwpDLVList (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
| LwpObjectID & | GetNext () |
| LwpObjectID & | GetPrevious () |
Public Member Functions inherited from LwpObject | |
| LwpObject (LwpObjectHeader objHdr, LwpSvStream *pStrm) | |
| @descr construct lwpobject from stream More... | |
| void | QuickRead () |
| @descr QuickRead template More... | |
| void | DoRegisterStyle () |
| void | DoParse (IXFStream *pOutputStream) |
| void | DoXFConvert (XFContentContainer *pCont) |
| LwpFoundry * | GetFoundry () |
| void | SetFoundry (LwpFoundry *pFoundry) |
| LwpObjectID & | GetObjectID () |
| sal_uInt32 | GetTag () const |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
| SimpleReferenceObject () | |
| void | acquire () |
| void | release () |
Private Member Functions | |
| void | Read () override |
| @descr read note layout object More... | |
| LwpVirtualLayout * | GetTextLayout () |
| @descr Get layout that contains note text. More... | |
Private Attributes | |
| sal_uInt32 | m_nTime |
| LwpAtomHolder | m_UserName |
VO_NOTELAYOUT object.
Definition at line 87 of file lwpnotes.hxx.
| LwpNoteLayout::LwpNoteLayout | ( | LwpObjectHeader const & | objHdr, |
| LwpSvStream * | pStrm | ||
| ) |
Definition at line 129 of file lwpnotes.cxx.
|
overridevirtual |
Definition at line 135 of file lwpnotes.cxx.
| OUString LwpNoteLayout::GetAuthor | ( | ) |
@descr Get author.
Definition at line 201 of file lwpnotes.cxx.
References LwpVirtualLayout::FindChildByType(), LwpMiddleLayout::GetContent(), LwpPara::GetContentText(), LwpStory::GetFirstPara(), LwpAtomHolder::HasValue(), LwpVirtualLayout::LWP_NOTEHEADER_LAYOUT, m_UserName, LwpObjectID::obj(), and LwpAtomHolder::str().
Referenced by LwpFribNote::XFConvert().
|
inlineoverridevirtual |
Reimplemented from LwpFrameLayout.
Definition at line 92 of file lwpnotes.hxx.
References LwpVirtualLayout::LWP_NOTE_LAYOUT.
|
private |
@descr Get layout that contains note text.
Definition at line 188 of file lwpnotes.cxx.
References LwpVirtualLayout::FindChildByType(), LwpVirtualLayout::LWP_NOTETEXT_LAYOUT, and LwpVirtualLayout::LWP_VIEWPORT_LAYOUT.
Referenced by RegisterStyle(), and XFConvert().
|
inline |
Definition at line 95 of file lwpnotes.hxx.
References m_nTime.
Referenced by LwpFribNote::XFConvert().
|
overrideprivatevirtual |
@descr read note layout object
Reimplemented from LwpFrameLayout.
Definition at line 141 of file lwpnotes.cxx.
References m_nTime, LwpObject::m_pObjStrm, m_UserName, LwpFrameLayout::Read(), LwpAtomHolder::Read(), and LwpColor::Read().
|
overridevirtual |
@descr Register style
Reimplemented from LwpFrameLayout.
Definition at line 163 of file lwpnotes.cxx.
References LwpObject::DoRegisterStyle(), LwpObject::GetFoundry(), GetTextLayout(), and LwpObject::SetFoundry().
|
overridevirtual |
@descr convert note
Reimplemented from LwpFrameLayout.
Definition at line 176 of file lwpnotes.cxx.
References LwpObject::DoXFConvert(), and GetTextLayout().
Referenced by LwpFribNote::XFConvert().
|
private |
Definition at line 102 of file lwpnotes.hxx.
|
private |
Definition at line 103 of file lwpnotes.hxx.
Referenced by GetAuthor(), and Read().