No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
PDF を表示するためのベストプラクティス
Visualforce ページを PDF として表示すると Salesforce 組織の情報を簡単に共有できます。「PDF 形式での Visualforce ページの表示」に記載されているガイドラインの他に、次の概念を確認する必要があります。
PDF の表示パフォーマンス
Visualforce ページを PDF として表示する際のパフォーマンスを向上させるには、$Resource グローバル変数を使用して静的画像およびスタイルシートリソースを参照します。
PDF でのコンポーネントの動作
次のセクションに、PDF でいつでも使用できるコンポーネント、機能しない場合があるコンポーネント、使用できないコンポーネントのリストを示します。通常、次のコンポーネントを使用しません。
- アクションの実行を JavaScript に依存するコンポーネント
- Salesforce スタイルシートに依存するコンポーネント
PDF で安全に使用できるコンポーネント
- <apex:composition> (ページに PDF で安全に使用できるコンポーネントが含まれる場合に限る)
- <apex:dataList>
- <apex:define>
- <apex:facet>
- <apex:include> (ページに PDF で安全に使用できるコンポーネントが含まれる場合に限る)
- <apex:insert>
- <apex:image>
- <apex:outputLabel>
- <apex:outputLink>
- <apex:outputPanel>
- <apex:outputText>
- <apex:page>
- <apex:panelGrid>
- <apex:panelGroup>
- <apex:param>
- <apex:repeat>
- <apex:stylesheet> (URL が Salesforce スタイルシートを直接参照しない場合に限る)
- <apex:variable>
PDF での使用に注意が必要なコンポーネント
- <apex:attribute>
- <apex:column>
- <apex:component>
- <apex:componentBody>
- <apex:dataTable>
PDF で安全に使用できないコンポーネント
- <apex:actionFunction>
- <apex:actionPoller>
- <apex:actionRegion>
- <apex:actionStatus>
- <apex:actionSupport>
- <apex:commandButton>
- <apex:commandLink>
- <apex:detail>
- <apex:enhancedList>
- <apex:flash>
- <apex:form>
- <apex:iframe>
- <apex:includeScript>
- <apex:inputCheckbox>
- <apex:inputField>
- <apex:inputFile>
- <apex:inputHidden>
- <apex:inputSecret>
- <apex:inputText>
- <apex:inputTextarea>
- <apex:listViews>
- <apex:message>
- <apex:messages>
- <apex:outputField>
- <apex:pageBlock>
- <apex:pageBlockButtons>
- <apex:pageBlockSection>
- <apex:pageBlockSectionItem>
- <apex:pageBlockTable>
- <apex:pageMessage>
- <apex:pageMessages>
- <apex:panelBar>
- <apex:panelBarItem>
- <apex:relatedList>
- <apex:scontrol>
- <apex:sectionHeader>
- <apex:selectCheckboxes>
- <apex:selectList>
- <apex:selectOption>
- <apex:selectOptions>
- <apex:selectRadio>
- <apex:tab>
- <apex:tabPanel>
- <apex:toolbar>
- <apex:toolbarGroup>