Lines Matching refs:pContext

1231     PropertyMapPtr pContext = DomainMapper_Impl::GetTopContextOfType(CONTEXT_SECTION);  in PushPageHeader()  local
1233 SectionPropertyMap* pSectionContext = dynamic_cast< SectionPropertyMap* >( pContext.get() ); in PushPageHeader()
1270 PropertyMapPtr pContext = DomainMapper_Impl::GetTopContextOfType(CONTEXT_SECTION); in PushPageFooter() local
1272 SectionPropertyMap* pSectionContext = dynamic_cast< SectionPropertyMap* >( pContext.get() ); in PushPageFooter()
2618 FieldContextPtr pContext = m_aFieldStack.top(); in AppendFieldCommand() local
2619 OSL_ENSURE( pContext.get(), "no field context available"); in AppendFieldCommand()
2620 if( pContext.get() ) in AppendFieldCommand()
2622 pContext->AppendCommand( rPartOfCommand ); in AppendFieldCommand()
2713 (FieldContextPtr pContext, in handleFieldAsk() argument
2721 sVariable = lcl_ExctractAskVariableAndHint( pContext->GetCommand(), in handleFieldAsk()
2752 (FieldContextPtr pContext, in handleAutoNum() argument
2769 uno::makeAny( lcl_ParseNumberingType(pContext->GetCommand()) )); in handleAutoNum()
2777 (FieldContextPtr pContext, in handleAuthor() argument
2785 lcl_ExtractParameter(pContext->GetCommand(), sizeof(" AUTHOR") ); in handleAuthor()
2796 (FieldContextPtr pContext, in handleDocProperty() argument
2804 lcl_ExtractParameter(pContext->GetCommand(), sizeof(" DOCPROPERTY") ); in handleDocProperty()
2893 (FieldContextPtr pContext, in handleToc() argument
2908 if( lcl_FindInCommand( pContext->GetCommand(), 'a', sValue )) in handleToc()
2916 if( lcl_FindInCommand( pContext->GetCommand(), 'c', sValue )) in handleToc()
2923 if( lcl_FindInCommand( pContext->GetCommand(), 'd', sValue )) in handleToc()
2929 if( lcl_FindInCommand( pContext->GetCommand(), 'f', sValue )) in handleToc()
2935 if( lcl_FindInCommand( pContext->GetCommand(), 'h', sValue )) in handleToc()
2951 if( lcl_FindInCommand( pContext->GetCommand(), 'o', sValue )) in handleToc()
2965 if( lcl_FindInCommand( pContext->GetCommand(), 'p', sValue )) in handleToc()
2968 if( lcl_FindInCommand( pContext->GetCommand(), 's', sValue )) in handleToc()
2971 if( lcl_FindInCommand( pContext->GetCommand(), 't', sValue )) in handleToc()
2978 if( lcl_FindInCommand( pContext->GetCommand(), 'u', sValue )) in handleToc()
3107 pContext->SetTOC( xTOC ); in handleToc()
3148 FieldContextPtr pContext = m_aFieldStack.top(); in CloseFieldCommand() local
3149 OSL_ENSURE( pContext.get(), "no field context available"); in CloseFieldCommand()
3150 if( pContext.get() ) in CloseFieldCommand()
3159 ::rtl::OUString sCommand( pContext->GetCommand().trim() ); in CloseFieldCommand()
3202 … handleFieldAsk(pContext, rPropNameSupplier, xFieldInterface, xFieldProperties); in CloseFieldCommand()
3207 … handleAutoNum(pContext, rPropNameSupplier, xFieldInterface, xFieldProperties); in CloseFieldCommand()
3210 … handleAuthor(pContext, rPropNameSupplier, xFieldInterface, xFieldProperties); in CloseFieldCommand()
3221 SetNumberFormat( pContext->GetCommand(), xFieldProperties ); in CloseFieldCommand()
3226 … ::rtl::OUString sParam = lcl_ExtractParameter(pContext->GetCommand(), sizeof(" COMMENTS") ); in CloseFieldCommand()
3237 SetNumberFormat( pContext->GetCommand(), xFieldProperties ); in CloseFieldCommand()
3241 … handleDocProperty(pContext, rPropNameSupplier, xFieldInterface, xFieldProperties); in CloseFieldCommand()
3245 … ::rtl::OUString sParam = lcl_ExtractParameter(pContext->GetCommand(), sizeof(" DOCVARIABLE") ); in CloseFieldCommand()
3261 …rPropNameSupplier.GetName(PROP_HINT), uno::makeAny( pContext->GetCommand().getToken( 1, '\"', nInd… in CloseFieldCommand()
3266 …sal_Int32 nNumberingTypeIndex = pContext->GetCommand().indexOf( ::rtl::OUString(RTL_CONSTASCII_UST… in CloseFieldCommand()
3277 pFFDataHandler(pContext->getFFDataHandler()); in CloseFieldCommand()
3282 pContext->setFormControlHelper(pFormControlHelper); in CloseFieldCommand()
3289 (pContext->getFFDataHandler()); in CloseFieldCommand()
3305 ::std::vector<rtl::OUString> aParts = pContext->GetCommandParts(); in CloseFieldCommand()
3345 pContext->SetHyperlinkURL(sURL); in CloseFieldCommand()
3354 … ::rtl::OUString sParam = lcl_ExtractParameter(pContext->GetCommand(), sizeof(" KEYWORDS") ); in CloseFieldCommand()
3368 ::rtl::OUString sMacro = pContext->GetCommand().getToken( 0, ' ', nIndex); in CloseFieldCommand()
3373 if( pContext->GetCommand().getLength() > nIndex + 1) in CloseFieldCommand()
3377 uno::makeAny( pContext->GetCommand().copy( nIndex ))); in CloseFieldCommand()
3384 … ::rtl::OUString sParam = lcl_ExtractParameter(pContext->GetCommand(), sizeof(" MERGEFIELD") ); in CloseFieldCommand()
3404 uno::makeAny( lcl_ParseNumberingType(pContext->GetCommand()) )); in CloseFieldCommand()
3412 … ::rtl::OUString sBookmark = lcl_ExtractParameter(pContext->GetCommand(), sizeof(" REF") ); in CloseFieldCommand()
3421 if( lcl_FindInCommand( pContext->GetCommand(), 'p', sValue )) in CloseFieldCommand()
3432 SetNumberFormat( pContext->GetCommand(), xFieldProperties ); in CloseFieldCommand()
3439 ::rtl::OUString sCmd(pContext->GetCommand()); in CloseFieldCommand()
3456 uno::makeAny( lcl_ParseNumberingType(pContext->GetCommand()) )); in CloseFieldCommand()
3468 … ::rtl::OUString sParam = lcl_ExtractParameter(pContext->GetCommand(), sizeof(" SUBJECT") ); in CloseFieldCommand()
3480 SetNumberFormat( pContext->GetCommand(), xFieldProperties ); in CloseFieldCommand()
3484 … ::rtl::OUString sParam = lcl_ExtractParameter(pContext->GetCommand(), sizeof(" TITLE") ); in CloseFieldCommand()
3498 … ::rtl::OUString sParam = lcl_ExtractParameter(pContext->GetCommand(), sizeof(" USERINITIALS") ); in CloseFieldCommand()
3512 handleToc(pContext, rPropNameSupplier, xFieldInterface, xFieldProperties, in CloseFieldCommand()
3521 … ::rtl::OUString sTCText = lcl_ExtractParameter(pContext->GetCommand(), sizeof(" TC") ); in CloseFieldCommand()
3531 if( lcl_FindInCommand( pContext->GetCommand(), 'l', sValue )) in CloseFieldCommand()
3543 pContext->SetTC( xTC ); in CloseFieldCommand()
3551 uno::makeAny( lcl_ParseNumberingType(pContext->GetCommand()) )); in CloseFieldCommand()
3557pContext->SetTextField( uno::Reference< text::XTextField >( xFieldInterface, uno::UNO_QUERY ) ); in CloseFieldCommand()
3564 pContext->SetCommandCompleted(); in CloseFieldCommand()
3574 FieldContextPtr pContext = m_aFieldStack.top(); in IsFieldResultAsString() local
3575 OSL_ENSURE( pContext.get(), "no field context available"); in IsFieldResultAsString()
3576 if( pContext.get() ) in IsFieldResultAsString()
3578 bRet = pContext->GetTextField().is(); in IsFieldResultAsString()
3592 FieldContextPtr pContext = m_aFieldStack.top(); in SetFieldResult() local
3593 OSL_ENSURE( pContext.get(), "no field context available"); in SetFieldResult()
3594 if( pContext.get() ) in SetFieldResult()
3596 uno::Reference<text::XTextField> xTextField = pContext->GetTextField(); in SetFieldResult()
3644 FieldContextPtr pContext = m_aFieldStack.top(); in SetFieldFFData() local
3645 if (pContext.get()) in SetFieldFFData()
3647 pContext->setFFDataHandler(pFFDataHandler); in SetFieldFFData()
3664 FieldContextPtr pContext = m_aFieldStack.top(); in PopFieldContext() local
3665 OSL_ENSURE( pContext.get(), "no field context available"); in PopFieldContext()
3666 if( pContext.get() ) in PopFieldContext()
3668 if( !pContext->IsCommandCompleted() ) in PopFieldContext()
3677 …rence< text::XTextCursor > xCrsr = xTextAppend->createTextCursorByRange(pContext->GetStartRange()); in PopFieldContext()
3681 … uno::Reference< text::XTextContent > xToInsert( pContext->GetTOC(), uno::UNO_QUERY ); in PopFieldContext()
3689 … xToInsert = uno::Reference< text::XTextContent >(pContext->GetTC(), uno::UNO_QUERY); in PopFieldContext()
3691 … xToInsert = uno::Reference< text::XTextContent >(pContext->GetTextField(), uno::UNO_QUERY); in PopFieldContext()
3699 … FormControlHelper::Pointer_t pFormControlHelper(pContext->getFormControlHelper()); in PopFieldContext()
3705 else if(pContext->GetHyperlinkURL().getLength()) in PopFieldContext()
3712 makeAny(pContext->GetHyperlinkURL())); in PopFieldContext()
4082 PropertyMapPtr pContext = GetTopContextOfType(CONTEXT_SECTION); in GetSectionContext() local
4083 OSL_ENSURE(pContext.get(), "Section context is not in the stack!"); in GetSectionContext()
4084 pSectionContext = dynamic_cast< SectionPropertyMap* >( pContext.get() ); in GetSectionContext()